1 1998-06-01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3 * nis/nis_call.c: Make directory search faster.
5 * nis/nis_callback.c: Insert public key of user in callback data.
7 * nis/nis_clone_obj.c: Make size from type u_long, not u_int.
9 * nis/nis_creategroup.c: Check for NULL pointer, fill in more fields.
11 * nis/nis_findserv.c: Rename __pmap_getport to __pmap_getnisport.
13 * nis/nis_intern.h: Remove duplicated prototype.
15 1998-06-01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
17 * sunrpc/auth_des.c: Move prototypes from here ...
18 * sunrpc/rpc/auth.h: ... to here.
20 * sunrpc/clnt_tcp.c: Add more control flags.
21 * sunrpc/clnt_udp.c: Likewise.
23 * sunrpc/netname.c (host2netname): Remove prefixing dot from
26 * sunrpc/rpc/clnt.h: Document, which control flags are not
29 * sunrpc/svcauth_des.c: Use key_decryptsession_pk to avoid deadlock.
31 1998-05-29 Ulrich Drepper <drepper@cygnus.com>
33 * locale/loadlocale.c (_nl_load_locale): Don't allow too small
34 files crash the program.
36 * io/Makefile: Don't run ftwtest-sh if cross-compiling.
37 * string/Makefile: Don't run test on tst-svc.out if cross-compiling.
38 Reported by Deborah Wallach <kerr@pa.dec.com>.
40 1998-05-28 00:53 Zack Weinberg <zack@rabi.phys.columbia.edu>
42 * glibcbug.in: Send to bugs@gnu or libc-alpha@cygnus depending
43 on whether this is a stable release or not (keeps snapshot bug
44 reports out of the database).
46 * include/libc-symbols.h: Use __ASSEMBLER__ test macro not ASSEMBLER.
47 * sysdeps/arm/sysdep.h: Likewise.
48 * sysdeps/i386/sysdep.h: Likewise.
49 * sysdeps/m68k/sysdep.h: Likewise.
50 * sysdeps/mach/mips/sysdep.h: Likewise.
51 * sysdeps/mach/sys/reboot.h: Likewise.
52 * sysdeps/mach/sysdep.h: Likewise.
53 * sysdeps/unix/alpha/sysdep.h: Likewise.
54 * sysdeps/unix/bsd/hp/m68k/sysdep.h: Likewise.
55 * sysdeps/unix/bsd/osf/alpha/sysdep.h: Likewise.
56 * sysdeps/unix/bsd/sequent/i386/sysdep.h: Likewise.
57 * sysdeps/unix/bsd/sony/newsos/m68k/sysdep.h: Likewise.
58 * sysdeps/unix/bsd/sun/m68k/sysdep.h: Likewise.
59 * sysdeps/unix/bsd/vax/sysdep.h: Likewise.
60 * sysdeps/unix/i386/sysdep.h: Likewise.
61 * sysdeps/unix/mips/sysdep.h: Likewise.
62 * sysdeps/unix/sparc/sysdep.h: Likewise.
63 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Likewise.
64 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
65 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
66 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
67 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
68 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
69 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
70 * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h: Likewise.
72 1998-05-27 Mark Kettenis <kettenis@phys.uva.nl>
74 * mach/Machrules: Use $(move-if-change).
76 1998-05-27 Mark Kettenis <kettenis@phys.uva.nl>
78 * Makeconfig [elf=yes] (+interp): New variable, set to interp.os.
79 * Makerules (lib%.so): Depend on $(+interp).
80 (libc.so): Add interp.os to list of dependencies.
81 (interp-obj): Remove variable.
82 * mach/Machrules (+interp): Define to empty since libhurduser and
83 libmachuser don't need to have the interpreter set.
85 1998-05-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
87 * resolv/res_send.c: Security fixes from bind 4.9.7-REL.
89 * resolv/gethnamaddr.c: Likewise.
91 * resolv/res_comp.c: Likewise.
93 1998-05-28 Mark Kettenis <kettenis@phys.uva.nl>
95 * sysdeps/mach/hurd/wait4.c (__wait4): Use ANSI-style definition
96 so that transparent union works.
98 1998-05-29 08:58 Ulrich Drepper <drepper@cygnus.com>
100 * manual/texinfo.tex: Update to last available version.
102 * timezone/africa: Update from tzdata1998e.
103 * timezone/antarctica: Likewise.
104 * timezone/asia: Likewise.
105 * timezone/australasia: Likewise.
106 * timezone/europe: Likewise.
107 * timezone/iso3166.tab: Likewise.
108 * timezone/northamerica: Likewise.
109 * timezone/tzselect.ksh: Likewise.
110 * timezone/zone.tab: Likewise.
112 1998-05-27 Ulrich Drepper <drepper@cygnus.com>
114 * sysdeps/unix/sysv/linux/i386/chown.c: Fix comment.
115 Reported by Matt McLean <keys@brio.yikes.com>.
117 1998-05-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
119 * catgets/Makefile ($(objpfx)de.cat): Renamed from
120 do-gencat-test. Use automatic variables.
121 ($(objpfx)de.msg): Fix reference to po file.
123 1998-05-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
125 * Makeconfig ($(common-objpfx)gnu/lib-names.stmp): Use
128 1998-05-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
130 * intl/dcgettext.c: Fix typo.
132 1998-05-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
134 * configure.in: Allow more make versions e.g 3.76.90.
136 1998-05-25 Ulrich Drepper <drepper@cygnus.com>
138 * Makeconfig (rpath-link): Find libc.so.6 in $(common-objdir).
140 * malloc/thread-m.h: Use __mutex_init function in mutex_init macro
141 for Hurd. Patch by Mark Kettenis.
143 1998-04-18 Gordon Matzigkeit <gord@profitpress.com>
145 * mach/Machrules (+preinit, +postinit): Define these variables to
146 empty because libhurduser and libmachuser don't need startup
149 1998-04-22 Gordon Matzigkeit <gord@profitpress.com>
151 * sysdeps/mach/hurd/errlist.c (ERR_REMAP): Use err_get_code
152 instead of a raw bitmask.
154 1998-05-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
156 * Makeconfig (rpath-dirs): New variable.
157 (rpath-link): Use it.
158 (nssobjdir, nisobjdir, rtobjdir, resolvobjdir): Removed.
159 (db-objpfx): Removed.
160 * crypt/Makefile: Augment rpath-dirs instead of rpath-link.
161 * md5-crypt/Makefile: Likewise.
162 * sysdeps/mach/hurd/Makefile: Likewise.
164 * Makeconfig (move-if-change): New variable.
165 * iconvdata/Makefile (move-if-change): Removed.
166 * manual/Makefile (move-if-change): Set only if undefined, use
167 local script by default.
168 * sunrpc/Makefile (move-if-change): Removed.
169 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
172 * elf/Makefile: Remove all references to obsolete file
174 ($(objpfx)trusted-dirs.h): Use stamp file. Cleanup command.
176 1998-05-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
178 * elf/dl-close.c (_dl_close): Add debugging message.
180 1998-05-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
182 * csu/Makefile ($(objpfx)version-info.h): Correct sed expression
183 to get Linux version and not gcc version.
184 Reported by Alan Curry <pacman@cqc.com>.
186 1998-05-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
188 * sysdeps/generic/_strerror.c (__strerror_r): Don't return NULL
189 pointers - return unknown error message instead.
190 Reported by Alan Curry <pacman@cqc.com>.
192 1998-05-24 Mark Kettenis <kettenis@phys.uva.nl>
194 * iconvdata/Makefile (modules, sed-generated-headers,
195 perl-generated-headers): ibm424.h is perl generated. Make
196 necessary modifications to compile without perl.
198 1998-05-24 Mark Kettenis <kettenis@phys.uva.nl>
200 * hesiod/hesiod.c (read_config_file): Fix typo.
202 1998-05-24 Ulrich Drepper <drepper@cygnus.com>
204 * version.h: Bump VERSION.
206 * csu/Makefile (distribute): Add munch-tmpl.c.
208 1998-05-23 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
210 * nis/nis_defaults.c: Fix buffer problems and typos.
212 1998-05-23 08:42 Ulrich Drepper <drepper@cygnus.com>
214 * intl/dcgettext.c: Don't use any alloca hacks if C_ALLOCA is defined.
217 1998-05-22 Ulrich Drepper <drepper@cygnus.com>
219 * stdlib/random_r.c (__random_r): Rewrite last patch to fix buffer
222 * libio/strops.c (_IO_str_underflow): Read newly available
223 character from buffer as unsigned.
225 1998-05-22 10:56 Ulrich Drepper <drepper@cygnus.com>
227 * catgets/Makefile (distribute): Add xopen-msg.h.
228 (generated): Add de.msg and de.cat.
229 (tests): Add do-gencat-test.
230 (do-gencat-test): New goal. Run gencat on a generated msg file.
231 * catgets/xopen-msg.h: New file.
233 1998-05-22 Ulrich Drepper <drepper@cygnus.com>
235 * catgets/open_catalog.c (__open_catalog): Use byteswap.h
236 functions. Optimize filename creation a bit.
238 1998-05-22 09:29 Ulrich Drepper <drepper@cygnus.com>
240 * stdlib/random_r.c: Help gcc to optimize the code.
241 Patch by Joe Keane <jgk@jgk.org>.
243 1998-05-21 Ulrich Drepper <drepper@cygnus.com>
245 * iconv/iconv_prog.c (print_known_names): Use strverscmp in all
248 1998-05-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
250 * timezone/test-tz.c: The test with TZ=UTC0 seems to work - enable
253 1998-05-21 15:27 Ulrich Drepper <drepper@cygnus.com>
255 * wcsmbs/wcsnrtombs.c: Correct computation of result.
256 * wcsmbs/wcsrtombs.c: Likewise.
258 * wcsmbs/Makefile (tests): Add wcsmbs-tst1.c.
259 * wcsmbs/wcsmbs-tst1.c: New file.
261 * iconv/loop.c (COUNT_CONVERTED): Correct computation.
263 * locale/C-ctype.c (_nl_C_LC_CTYPE): Define MB_CUR_MAX for C locale
266 * locale/setlocale.c: Don't make _nl_current_* and _nl_C_* references
269 1998-05-21 Philip Blundell <philb@gnu.org>
271 * sysdeps/arm/fpu_control.h: Replace stub file with real
273 * sysdeps/arm/fpu/bits/fenv.h: New file.
274 * sysdeps/arm/fpu/fesetround.c: Likewise.
275 * sysdeps/arm/fpu/fclrexcpt.c: Likewise.
276 * sysdeps/arm/fpu/fsetexcptflag.c: Likewise.
277 * sysdeps/arm/fpu/ftestexcpt.c: Likewise.
278 * sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
279 * sysdeps/arm/fpu/fegetenv.c: Likewise.
280 * sysdeps/arm/fpu/fesetenv.c: Likewise.
282 1998-05-21 16:34 Richard Henderson <rth@cygnus.com>
284 * elf/dl-load.c (_dl_map_object_from_fd): Get file header with
285 read instead of mmap.
287 1998-05-21 8:16 Richard Henderson <rth@cygnus.com>
289 * sysdeps/unix/sysv/linux/alpha/glob.c: Include sysdeps/generic/glob.c
290 directly instead of include_next. Add missing semicolons.
291 * sysdeps/unix/sysv/linux/alpha/oldglob.c: Include sys/types.h.
292 Add missing semicolons.
294 1998-05-21 Ulrich Drepper <drepper@cygnus.com>
296 * iconvdata/gconv-modules: Add more aliases to please java
299 1998-05-20 Ulrich Drepper <drepper@cygnus.com>
301 * stdio-common/vfprintf.c (process_arg): Fix typo.
303 * iconvdata/TESTS: New tests for EUC-KR.
305 * iconvdata/Makefile ($(objpfx)iconv-test.out): Also depend on TESTS.
306 * iconvdata/testdata/EUC-KR: New file.
308 1998-05-20 07:26 H.J. Lu <hjl@gnu.org>
310 * math/libm-test.c (hypot_test): Fix a typo.
312 1998-05-20 Ulrich Drepper <drepper@cygnus.com>
314 * stdio-common/vfprintf.c: When precision is specified for %ls or
315 %S handle it correctly.
317 1998-05-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
319 * sysdeps/unix/bsd/vax/vfork.S: Missed double occurences of "the
320 the" in one line - fixed it.
321 * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
322 * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
323 * posix/unistd.h: Likewise
325 1998-05-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
327 * Makeconfig (rpath-link): Add resolvobjdir.
328 (resolvobjdir): New variable.
329 Reported by Peter Breitenlohner <peb@mppmu.mpg.de> [fixes PR libc/633].
331 1998-05-20 09:36 Ulrich Drepper <drepper@cygnus.com>
333 * elf/dl-close.c: Call shared object terminators at the right time.
334 Patch by Philippe Troin <phil@fifi.org>.
336 1998-05-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
338 * Make-dist (+tsrcs): Also add *.map for every member of
341 * Makefile (distribute): Don't distribute scripts/printsources and
342 scripts/=__ify. Distribute FAQ.in.
343 (rpm/%): Don't pass subdirs to sub-make.
345 * timezone/Makefile: Protect inclusion of z.* by $(avoid-generated)
346 instead of $(no_deps).
348 1998-05-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
350 * sysdeps/generic/setenv.c: Protect against GNU C extension.
351 (KNOWN_VALUE, STORE_VALUE): Do it right.
352 (setenv): Remove unused variable.
354 1998-05-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
356 * timezone/Makefile (tz-cflags): Define TM_GMTOFF and TM_ZONE.
357 (CFLAGS-zdump.c): Add $(tz-cflags).
359 * timezone/zdump.c (abbr): Use TM_ZONE if defined. Add const to
362 1998-05-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
364 * time/tzfile.c (__tzfile_compute): Undo last change. Instead
365 take struct tm parameter and set tm_isdst, tm_zone and tm_offset
367 * time/tzset.c: Update prototype of __tzfile_compute.
368 (__tz_convert): Pass tp to __tzfile_compute. Don't set tm_isdst,
369 tm_zone and tm_offset here if __use_tzfile.
371 1998-05-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
373 * Makerules: Install libc.a even if there are no object file.
375 1998-05-18 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
377 * Makerules (do-makelib): Don't force creating library from
378 scratch, to avoid wasting time and space and to get correct
379 behaviour if $(subdirs) is incomplete.
381 1998-05-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
383 * Makerules (do-stamp): Make it work when building in source
386 1998-05-20 00:10 Ulrich Drepper <drepper@cygnus.com>
388 * elf/dl-load.c: Rename option and variable from ignore-rpath to
390 * elf/dl-support.c: Likewise.
391 * elf/ldsodefs.h: Likewise.
392 * elf/rtld.c: Likewise.
393 * iconvdata/run-iconv-test.sh: Likewise.
395 1998-05-19 23:08 Ulrich Drepper <drepper@cygnus.com>
397 * elf/rtld.c: Recognize --ignore-rpath argument and set _dl_ignore_path
398 variable using the value.
399 * elf/ldsodefs.h: Declare _dl_ignore_path.
400 * elf/dl-load.c (decompose_rpath): Compare name of handled shared
401 object against list in _dl_ignore_path and ignore RPATH if on the list.
402 * elf/dl-support.c: Define _dl_ignore_path for static binaries.
403 * iconvdata/run-iconv-test.sh: Call ld.so with --ignore-rpath parameter
404 to make sure we get the correct helper libraries loaded.
406 * elf/dl-load.c (decompose_rpath): Remove `room' parameter. Use
407 "RPATH" string in call to fillin_rpath instead.
408 (_dl_init_paths): Remove this parameter from call to decompose_rpath.
410 1998-05-19 Ulrich Drepper <drepper@cygnus.com>
412 * sysdeps/i386/i486/bits/string.h (__strstr_g): Initialize %edx
413 correctly. Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
415 1998-05-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
417 * manual/terminal.texi (I/O Queues): Fix typo.
419 * manual/stdio.texi (Closing Streams): Fix grammar.
421 * manual/arith.texi (Absolute Value): Correct typo.
422 Patches by Oskar Liljeblad <osk@hem.passagen.se>. [PR libc/630]
424 1998-05-19 15:58 Ulrich Drepper <drepper@cygnus.com>
426 * elf/rtld.c (process_envvars): Fix typo. Don't handle
427 LD_PROFILE_OUTPUT in SUID binaries.
428 * intl/dcgettext.c: In SUID binaries don't let language part of
429 locale value contain path elements.
430 * intl/explodename.h: Define new function _nl_find_language.
431 * intl/loadinfo.h: Declare _nl_find_language.
432 * locale/findlocale.c (_nl_find_locale): Use _nl_find_locale to get
433 language part it drop the value is path element is contained.
435 * locale/setlocale.c: Fix typo.
437 1998-05-18 Philip Blundell <Philip.Blundell@pobox.com>
439 * sysdeps/unix/sysv/linux/arm/socket.S: Correct handling of arguments.
441 * sysdeps/arm/strlen.S: Support both big and little endian processors.
443 * sysdeps/arm/sysdep.h (ALIGNARG): ELF .align directive uses a
444 log, not a byte-count.
446 * sysdeps/unix/arm/sysdep.S (syscall_error): Use C_SYMBOL_NAME for
449 1998-05-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
451 * sysdeps/unix/bsd/vax/vfork.S: Fix the "the the" problems.
452 * sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
453 * sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
454 * posix/unistd.h: Likewise.
455 * math/math.h: Likewise.
456 * manual/users.texi (Manipulating the Database): Likewise.
457 * manual/signal.texi (Job Control Signals): Likewise.
458 * manual/message.texi (The gencat program): Likewise.
459 * manual/filesys.texi (Hard Links): Likewise.
460 * manual/math.texi (SVID Random): Likewise.
461 * manual/llio.texi (Waiting for I/O): Likewise.
462 * manual/io.texi (File Name Errors): Likewise.
463 * manual/conf.texi (String Parameters): Likewise.
464 * manual/arith.texi (Infinity): Likewise.
465 * malloc/malloc.c: Likewise.
466 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
467 * csu/Makefile: Likewise.
469 1998-05-19 12:16 Ulrich Drepper <drepper@cygnus.com>
471 * manual/memory.texi: Add back accidently removed line.
473 1998-04-25 Mark Kettenis <kettenis@phys.uva.nl>
475 * sysdeps/generic/utmp_file.c (TIMEOUT): New macro.
476 (timeout_handler): New function.
477 (LOCK_FILE, UNLOCK_FILE): New macros.
478 Implement file locking with timeout.
479 (getutent_r_file, internal_getut_r, getutline_r_file,
480 pututline_file, updwtmp_file): Use LOCK_FILE and UNLOCK_FILE for
483 1998-05-18 11:38 Ulrich Drepper <drepper@cygnus.com>
485 * iconvdata/run-iconv-test.sh: Extend library-path by iconvdata
488 1998-05-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
490 * rpm/Makefile: Delete inclusion of version.mk.
492 1998-05-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
494 * libc.map: Add all libio functions needed libstdc++ with version
497 1998-05-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
499 * iconvdata/Makefile (generated): Add *.stmp files.
501 1998-05-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
503 * timezone/Makefile (testdata, build-testdata): New variables, use
504 them in rules for test data.
505 ($(objpfx)tst-timezone.out): Depend on test data.
506 ($(testdata)/Europe/Berlin, $(testdata)/Universal,
507 $(testdata)/Australia/Melbourne, $(testdata)/America/Sao_Paulo):
508 New rules to build test data.
509 (tst-timezone-ENV): Pass TZDIR to point to test data.
511 1998-05-18 Ulrich Drepper <drepper@cygnus.com>
513 * iconvdata/TESTS: ISO-2022-KR has not really ASCII as a subset
514 (the designation sequence is disturbing).
516 1998-05-17 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
518 * sunrpc/svc_tcp.c: Add FreeBSD DoS patch.
519 * sunrpc/xdr_rec.c: Likewise.
521 1998-05-15 Ulrich Drepper <drepper@cygnus.com>
523 * posix/Makefile (tests): Add runptests.
524 (distribute): Add PTESTS, PTESTS2C.sed, and ptestcases.h.
525 (before-compile): Add ptestcases.h.
526 (ptestscases.h): Add rule to generate from PTESTS.
527 * posix/runptests.c: New file.
528 * posix/PTESTS: New file.
529 * posix/PTESTS2C.sed: New file.
531 1998-05-15 Ulrich Drepper <drepper@cygnus.com>
533 * iconv/loop.c: Let user add code to use and set paramaters.
535 * iconvdata/iso-2022-kr.c: Correct to-loop.
537 * iconvdata/iso-2022-kr.c (PREPARE_LOOP): Use correct variable to
538 point to output buffer.
540 * iconvdata/ksc5601.h (ksc5601_to_ucs4): Use correct value to find
543 * iconvdata/TESTS: Add ISO-2022-KR test.
544 * iconvdata/testdata/ISO-2022-KR: New file.
546 1998-05-15 21:07 Ulrich Drepper <drepper@cygnus.com>
548 * iconv/gconv.h (gconv_step_data): Add new fields invocation_counter
550 * iconv/gconv_open.c (__gconv_open): Initialize invocation_counter
552 * wcsmbs/btowc.c: Likewise.
553 * wcsmbs/mbrtowcs.c: Likewise.
554 * wcsmbs/mbsnrtowcs.c: Likewise.
555 * wcsmbs/mbsrtowcs.c: Likewise.
556 * wcsmbs/wcrtomb.c: Likewise.
557 * wcsmbs/wcsnrtombs.c: Likewise.
558 * wcsmbs/wcsrtombs.c: Likewise.
559 * wcsmbs/wctob.c: Likewise.
560 * iconv/skeleton.c: Increment invocation_counter.
561 * iconvdata/iso-2022-kr.c: When used in iconv() emit designator
564 * iconv/skeleton.c (FROM_DIRECTION): Completely embrace expression.
565 * iconvdata/iso-2022-jp.c: Likewise.
566 * iconvdata/iso646.c: Likewise.
568 * iconvdata/Makefile: Correct rpath definition for ISO-2022-KR.
570 1998-05-15 Ulrich Drepper <drepper@cygnus.com>
572 * iconv/gconv_db.c (derivation_lookup): Use __tfind correctly.
574 * sysdeps/generic/setenv.c (setenv): Remove optimization for
575 overwriting existing values if it fits.
577 1998-05-15 14:36 Ulrich Drepper <drepper@cygnus.com>
579 * posix/wordexp-test.c: Avoid duplicate messages.
581 * sysdeps/generic/setenv.c: Use __tfind and __tsearch, not tfind and
582 tsearch. Correctly interpret values returned by those functions.
583 (unsetenv): Store pointer to string, not pointer to string pointer.
585 * time/tzfile.c (__tzfile_compute): Take new arguments. Store
586 DST information and offset in them.
587 * time/tzset.c (__tz_convert): Pass extra parameters to
588 __tzfile_compute. Compute equivalent values for use of tz_rules.
590 1998-05-15 00:49:11 Zack Weinberg <zack@rabi.phys.columbia.edu>
592 * iconvdata/Makefile (gen-8bit-table): Use move-if-change and
593 stamp files to avoid unnecessary recompilation.
594 (gen-8bit-gap-table): Likewise.
595 (move-if-change): New variable.
596 (all generated .h rules): Change to be .stmp rules.
597 (%.h): New rule; depend on %.stmp; no commands.
598 (distribute): Add gen-8bit.sh, gen-8bit-gap.sh,
601 1998-05-15 01:09 Zack Weinberg <zack@rabi.phys.columbia.edu>
603 * Makerules (libc-map): Deleted.
604 (load-map-file): Set to the appropriate compiler switch, not
605 just the file name. If libfoo-map is not set, look for a
606 libfoo.map in the current directory and $(..).
607 (map-file): New variable, contains just the mapfile name.
608 (build-shlib): Adjust for new value of load-map-file.
609 (libc.so): Correct dependencies.
611 * extra-lib.mk: Correct shlib dependencies since libfoo-map
612 may not be set anymore.
614 * elf/Makefile: Set ld-map to $(..)libc.map, not $(libc-map).
615 Delete libdl-map. Tweak ld.so link rule to work with changed
616 variable settings in Makerules.
617 * iconvdata/Makefile: Tweak build-module to work with changed
618 variable settings in Makerules.
620 * db/Makefile: Delete libdb-map.
621 * hesiod/Makefile: Delete libnss_hesiod-map.
622 * linuxthreads/Makefile: Delete libpthread-map.
623 * locale/Makefile: Delete libBrokenLocale-map.
624 * login/Makefile: Delete libutil-map.
625 * math/Makefile: Delete libm-map.
626 * md5-crypt/Makefile: Delete libcrypt-map.
627 * nis/Makefile: Delete libnsl-map, libnss_nis-map,
628 libnss_nisplus-map, and libnss_compat-map.
629 * nss/Makefile: Delete libnss_files-map, libnss_db-map, and
631 * resolv/Makefile: Delete libresolv-map and libnss_dns-map.
632 * rt/Makefile: Delete librt-map.
634 1998-05-15 01:06 Zack Weinberg <zack@rabi.phys.columbia.edu>
636 * configure.in: Instead of substituting `yes' or `no' for whether
637 --no-whole-archive is available, set @no_whole_archive@ to the
638 appropriate gcc switch or the empty string. Likewise for
640 * config.make.in: Replace have-no-whole-archive with
641 no-whole-archive and have-no-exceptions with no-exceptions.
642 * Makerules: Delete stanzas setting no-whole-archive and
645 * sunrpc/Makefile: Use move-if-change to update generated .h
648 1998-05-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
650 * wcsmbs/wcsmbsload.c (extract_charset_name): Use strcspn instead
653 1998-05-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
655 * time/tzfile.c (__tzfile_read): Remove unused variable info.
656 (__tzfile_compute): Likewise.
658 1998-05-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
660 * sysdeps/unix/sysv/linux/bits/socket.h (AF_SNA,PF_SNA): Add new
661 defines from Linux 2.1.102.
663 1998-05-14 23:14 Ulrich Drepper <drepper@cygnus.com>
665 * locale/programs/ld-ctype.c: Write correct mb_cur_max value.
667 1998-05-14 13:25 Ulrich Drepper <drepper@cygnus.com>
669 * inet/netinet/in.h: Add defines for multicast.
670 Reported by Jeremy Hall <jhall@UU.NET>.
672 * stdlib/stdlib.h: Add prototypes for __setenv and __unsetenv.
673 * sysdeps/generic/putenv.c: Use __setenv and __unsetenv, not setenv
674 and unsetenv. Optimize _LIBC case.
675 * sysdeps/generic/setenv.c: Prevent unnecessary memory leaks.
676 Define functions with leading __.
678 * time/tzfile.c: Correct handling of global variables daylight,
679 timezone, and tzname.
680 * time/tzset.c: Likewise.
681 * timezone/Makefile (tests): Add tst-timezone.
682 * timezone/tst-timezone.c: New file.
684 1998-05-14 10:35 Ulrich Drepper <drepper@cygnus.com>
686 * timezone/asia: Update from tzdata1998d.
687 * timezone/australasia: Likewise.
688 * timezone/europe: Likewise.
690 1998-05-13 Ulrich Drepper <drepper@cygnus.com>
692 * string/string.h: Don't use the optimized versions for the string
693 functions if optimizing for space.
695 * stdlib/tst-strtod.c: Add test for -0.0.
697 * io/ftwtest-sh: Prevent tests from being run by root.
699 * wcsmbs/wcsmbsload.c (extract_charset_name): Fix silly bugs in
700 last addition. Patch by wkpark@chem.skku.ac.kr.
702 1998-05-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
704 * iconvdata/8bit-gap.c (BODY): Don't fall off the end of the gap
707 1998-05-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
709 * iconvdata/gen-8bit.sh: New file.
710 * iconvdata/gen-8bit-gap.sh: New file.
711 * iconvdata/gen-8bit-gap-1.sh: New file.
712 * iconvdata/Makefile (generate-8bit-table): Use shell script
713 instead of writing the commands directly.
714 (generate-8bit-gap-table): Likewise.
715 ($(objpfx)iso8859-7jp.h): Likewise.
716 (generated headers): Depend on shell script instead of Makefile.
717 (before-compile): Add $(perl-generated-headers) only if perl is
719 (headers): Depend on $(perl-generated-headers) only if perl is
721 (sed-generated-headers): Remove iso8859-7jp.h.
723 1998-05-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
725 * csu/Makefile ($(objpfx)abi-tag.h): Double $ in command. Clean up.
728 1998-05-12 Ulrich Drepper <drepper@cygnus.com>
730 * wcsmbs/wcsmbsload.c (extract_charset_name): Pass correctly
731 formed charset names to getfct. Let user override charset
732 selection by mention charset in locale name.
734 1998-05-12 12:15 Ulrich Drepper <drepper@cygnus.com>
736 * posix/glob.c: Move to ...
737 * sysdeps/generic/glob.c: ...here.
738 * posix/glob.h (glob_t): Use correct types for gl_pathc and gl_offs
740 * sysdeps/unix/sysv/linux/alpha/glob.c: New file.
741 * sysdeps/unix/sysv/linux/alpha/oldglob.c: New file.
742 * sysdeps/unix/sysv/linux/alpha/Dist: Add oldglob.c.
743 * sysdeps/unix/sysv/linux/alpha/Makefile: Compile oldglob in posix
745 * libc.map [GLIBC_2.1]: Add glob and globfree.
747 1998-05-12 Ulrich Drepper <drepper@cygnus.com>
749 * sunrpc/Makefile (generated): Restore old list.
751 1998-05-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
753 * rt/Makefile (tests): Define only if we have a thread library.
755 * nis/ypclnt.c: Add: #include <errno.h>.
757 1998-05-10 15:39 Zack Weinberg <zack@rabi.phys.columbia.edu>
759 * configure.in: Define and substitute RELEASE as well as
761 * config.make.in: Add RELEASE and VERSION to be substituted.
762 * Makeconfig: Delete all references to version.mk.
763 * Make-dist: Likewise.
764 * MakeTAGS: Likewise.
765 * elf/Makefile: Likewise.
767 1998-05-10 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
769 * nis/ypclnt.c: Move "(none)" domainname check from __yp_check to
770 yp_get_default_domain.
772 1998-05-12 Ulrich Drepper <drepper@cygnus.com>
774 * sysdeps/posix/profil.c (__profil): Don't define act and timer
775 variables as static. Patch by Joe Keane <jgk@jgk.org>.
777 1998-05-12 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
779 * malloc/malloc.c: Fix for NO_THREADS case.
781 1998-05-11 18:02 Richard Henderson <rth@cygnus.com>
783 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
784 Remove statfs and fstatfs.
785 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Don't mark pread
787 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
789 1998-05-09 Ulrich Drepper <drepper@cygnus.com>
791 * libc.map: Add capget and capset.
793 1998-05-08 Ulrich Drepper <drepper@cygnus.com>
795 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
796 (DL_FIND_ARG_COMPONENTS): Find correct alignment for auxiliary
797 vector. Patch by Mark Hatle <fray@kernel.crashing.org>
798 and Matt McLean <keys@brio.yikes.com>.
800 1998-05-08 23:49 Ulrich Drepper <drepper@cygnus.com>
802 * misc/Makefile (tests): Add tst-mntent.
803 * misc/tst-mntent.c: New file.
805 1998-05-08 21:56 Zack Weinberg <zack@rabi.phys.columbia.edu>
807 * autolock.sh: Removed.
808 * manual/move-if-change: Removed.
810 * scripts: New directory.
811 * =__ify: Moved to scripts.
812 * config.guess: Likewise.
813 * config.sub: Likewise.
814 * gen-FAQ.pl: Likewise.
815 * install-sh: Likewise.
816 * mkinstalldirs: Likewise.
817 * move-if-change: Likewise.
818 * printsources: Likewise.
819 * rellns.sh: Likewise.
820 * test-installation.pl: Likewise.
822 * configure.in: Look in scripts for config.guess, config.sub,
824 * Makefile: Distribute all above files in their
825 new home. Find gen-FAQ.pl and test-installation.pl in scripts.
826 * manual/Makefile: Find mkinstalldirs and move-if-change in
827 $(..)scripts. Drop them from distribute. Minor cleanups.
828 * Makerules: Find mkinstalldirs and rellns-sh in scripts.
829 * sysdeps/mach/hurd/Makefile: Find move-if-change in scripts.
830 * timezone/Makefile: Find rellns-sh in scripts.
832 1998-05-08 Ulrich Drepper <drepper@cygnus.com>
834 * intl/locale.alias: Change italian to it_IT.ISO-8859-1.
835 Reported by Ottavio G. Rizzo <otto@mast.queensu.ca>.
837 1998-05-08 19:24 Zack Weinberg <zack@rabi.phys.columbia.edu>
839 * Makefile (+subdir-inits): Delete variable.
840 (+init_subdirs): Likewise.
842 (before-compile): Likewise.
843 (libc-init): Delete stanza.
844 (version-info.h): Delete rule and associated variable.
845 (distribute): Don't distribute moved files.
846 * Makerules (interp-obj): It lives in elf now. Only use it
847 if $(elf) is set. Delete rule to build it.
848 * csu/Makefile: Build set-init.o and/or munch-init.o. Build
849 version.o and version-info.h. Minor cleanups.
850 (routines): Add libc-init, sysdep, version.
851 (generated): Add version-info.h.
852 * elf/Makefile: Build interp.os.
854 * interp.c: Moved to elf.
855 * set-init.c: Moved to csu.
856 * munch-init.c: Likewise.
857 * munch.awk: Likewise.
858 * version.c: Likewise.
860 * Rules: Unconfuse syntax highlighting with a fake comment.
862 1998-05-08 Ulrich Drepper <drepper@cygnus.com>
864 * sysdeps/unix/sysv/linux/syscalls.list: Add capset and capget
867 1998-05-08 16:36 Zack Weinberg <zack@rabi.phys.columbia.edu>
869 * iconvdata/Makefile (generated): Set to *-generated-headers
871 (tests): Set to iconv-test.
872 * localedata/Makefile (generated-dirs): Add ld-test-names to list.
873 * posix/Makefile (generated): Set to wordexp-test-result*.
874 * sunrpc/Makefile (generated): Remove rpcsvc/*.
875 (generated-dirs): Add rpcsvc.
876 * libio/Makefile: Clean up.
878 1998-05-08 14:55 Ulrich Drepper <drepper@cygnus.com>
880 * Make-dist (+tsrcs): Also use tests-statc where tests is used.
881 * Makerules: Likewise.
882 (+depfiles): Also add sysdep-others.
884 * iconv/Makefile (distribute): Add loop.s and skeleton.c.
885 * iconvdata/Makefile (distribute): Add TESTS.
886 * localedata/Makefile (repertoires): Rename to repertoiremaps.
887 * sysdeps/gnu/Dist: Add utmpx.h and bits/utmpx.h.
888 * sysdeps/unix/sysv/linux/Dist: Add ldd-rewrite.sed.
889 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=elf]: Define
890 sysdep-others, not others.
891 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
892 * sysdeps/unix/sysv/linux/sparc/Dist: Add sys/kernel_termios.h.
894 1998-05-08 12:26 Ulrich Drepper <drepper@cygnus.com>
896 * iconv/gconv_int.h (struct gconv_module): Remove cost field and add
898 * iconv/gconv_conf.c (builtin_modules): Initialize cost_hi from
899 Cost parameter and set cost_lo to INT_MAX.
900 (add_module): Take new parameter and use it to initialize cost_lo.
901 (read_conf_file): Count modules being loaded and use counter for
902 new parameter to add_module.
903 * iconv/gconv_db.c (find_derivation): When look for cost examine
906 1998-05-08 10:52 Ulrich Drepper <drepper@cygnus.com>
908 * string/bits/string2.h: Don't use unsigned char * unless really
909 necessary since this disturbs C++.
910 * sysdeps/i386/i486/bits/string.h: Likewise.
911 Patch by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
913 1998-05-08 13:53 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
915 * malloc/malloc.c (top_check): Fix last change.
917 1998-05-07 Ulrich Drepper <drepper@cygnus.com>
919 * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Define.
920 Patch by Matt McLean <keys@brio.yikes.com>.
922 1997-05-07 13:26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
924 * Makerules (lib): Put back dependency on lib-noranlib.
925 ($(subdirs-stamps)): Remove dependency on stamp.* again.
927 1998-05-07 Ulrich Drepper <drepper@cygnus.com>
929 * sysdeps/i386/fpu/bits/mathinline.h: Use long long int also for
930 test in __pow2 implementation.
932 1998-04-16 07:42 Geoff Keating <geoffk@ozemail.com.au>
934 * Makeconfig [!build-static]: Link `static' binaries with libc_pic.a.
935 Still need *FLAGS-.o because we still sometimes build .o files.
936 * db2/Makefile: Don't build libndbm.a if !build-static.
938 1998-05-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
940 * malloc/malloc.c (top_check): Add void as parameter to silent gcc.
942 1998-04-16 07:42 Geoff Keating <geoffk@ozemail.com.au>
944 * configure.in: New test for broken gcc on PowerPC.
945 * sysdeps/powerpc/atomicity.h: Use result of test.
946 * linuxthreads/sysdeps/powerpc/pt-machine.h: Use result of test.
948 * math/libm-test.c: Update many of the epsilon to match actual
951 * sysdeps/libm-ieee754/e_exp.c: Reduce the number of branches.
952 * sysdeps/libm-ieee754/e_expf.c: Likewise.
953 * sysdeps/libm-ieee754/s_exp2.c: Likewise.
954 * sysdeps/libm-ieee754/s_exp2f.c: Likewise.
956 * sysdeps/libm-ieee754/e_pow.c: Correct typo.
958 * sysdeps/powerpc/elf/libc-start.c: New file.
959 * sysdeps/powerpc/elf/start.S: New file, use libc-start.
960 * sysdeps/powerpc/elf/start.c: Delete.
962 * sysdeps/unix/sysv/linux/powerpc/Dist: Remove syscall.h
963 * sysdeps/unix/sysv/linux/powerpc/syscall.h: Delete. It was unused.
965 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Correct previous
968 1998-05-06 12:51 Ulrich Drepper <drepper@cygnus.com>
970 * sysdeps/i386/fpu/bits/mathinline.h (pow): Use long long int for
973 * sysdeps/libm-i387/e_pow.S: Correctly shift double word.
974 * sysdeps/libm-i387/e_powl.S: Likewise.
976 1998-03-31 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
978 * malloc/malloc.c (chunk2mem_check, top_check): New functions.
979 (malloc_check, free_check, realloc_check, memalign_check): Use
980 them to improve overrun checking. Overruns of a single byte and
981 corruption of the top chunk are now detected much more reliably.
983 1998-05-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
985 * math/libm-test.c (pow_test): Add test for special value from PR
988 1998-05-06 Ulrich Drepper <drepper@cygnus.com>
990 * sysdeps/unix/sysv/linux/bits/errno.h: Undefine EILSEQ before
991 including linux/errno.h.
993 1998-05-06 09:49 Ulrich Drepper <drepper@cygnus.com>
995 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Add LFS support.
997 * sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: New file.
998 * sysdeps/unix/sysv/sysv4/solaris2/bits/errno.h: New file.
1000 1998-05-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1002 * Makerules (elide-routines.*): Fix assignments.
1003 (do-makelib): Fix typo.
1004 ($(subdirs-stamps)): Depend on $(objpfx)stamp.* if in parent
1007 1998-05-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1009 * Makefile (sysdep-subdirs, subdirs, $(common-objpfx)sysd-dirs,
1010 $(objpfx)sysd-dirs): Move them...
1011 * Makeconfig: ... here.
1012 * Makerules (subdirs-stamps, subdirs-stamp-o): Always define.
1013 (stubs): Fix circular depedency.
1014 (do-makelib): Clean up.
1015 (lib): Don't depend on lib-noranlib.
1016 ($(objpfx)stamp.oS): Remove special case for empty
1017 static-only-routines.
1018 (elide-routines.o): Add $(static-only-routines).
1019 (elide-routines$o): Define this instead of elide-routines.$o.
1020 * manual/Makefile (stubs): Fix circular dependency.
1022 1998-05-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1024 * libio/Makefile (routines): Remove duplicate oldiofclose.
1026 1998-05-05 Ulrich Drepper <drepper@cygnus.com>
1028 * string/strcoll.c: Use uint32_t instead of u_int32_t.
1030 1998-05-05 Ulrich Drepper <drepper@cygnus.com>
1032 * libio/stdio.h: Fix typo in __REDIRECT.
1033 * io/sys/stat.h: Likewise.
1034 Reported by Myles Uyema <myles@uyema.nws.net>.
1036 1998-05-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1038 * locale/programs/localedef.c (options): Fix help message.
1040 1998-05-04 Ulrich Drepper <drepper@cygnus.com>
1042 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Avoid nasty
1043 relocations. Patch by Joe Keane <jgk@jgk.org>.
1045 1998-05-04 12:40 Ulrich Drepper <drepper@cygnus.com>
1047 * malloc/malloc.c (ptmalloc_init_all): New function. Similar to
1048 ptmalloc_unlock_all, but re-initializes the mutexes instead.
1049 (ptmalloc_init): Use new function in thread_at_fork call.
1050 (thread_atfork_static): Likewise.
1051 Suggested by Wolfram Gloger and Xavier Leroy.
1053 1998-05-04 Ulrich Drepper <drepper@cygnus.com>
1055 * signal/signal.h: Move definitions of struct sigstack and
1056 struct sigaltstack into separate file and include it.
1057 * sysdeps/generic/bits/sigstack.h: New file.
1058 * sysdeps/unix/sysv/linux/bits/sigstack.h: New file.
1059 * signal/Makefile (headers): Add bits/sigstack.h.
1061 1998-05-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1063 * elf/rtld.c (dl_main): Fix check for number of references to
1066 1998-05-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1068 * elf/rtld.c (dl_main): Check has_interp after executing platform
1071 1998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1073 * iconvdata/run-iconv-test.sh: Fix typo.
1075 1998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1077 * Makerules (+depfiles): Add depfiles for $(tests-static).
1080 1998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1082 * manual/terminal.texi (Special Characters): Fix description of
1085 1998-05-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1087 * sysdeps/unix/sysv/linux/tcsetattr.c: Use memcpy to copy the c_cc
1089 * sysdeps/unix/sysv/linux/tcgetattr.c: Likewise. Initialize rest
1092 1998-04-30 14:15 Zack Weinberg <zack@rabi.phys.columbia.edu>
1094 * sysdeps/unix/sysv/linux/netrose/rose.h: Don't include kernel headers.
1096 1998-05-01 Ulrich Drepper <drepper@cygnus.com>
1098 * intl/locale.alias: Update russian entry.
1100 1998-05-01 21:54 Zack Weinberg <zack@rabi.phys.columbia.edu>
1102 * Makerules (static-only-routines): Reimplement in terms of
1104 (shared-only-routines): Reimplement in terms of
1105 elide-routines.X [where X is all object-suffixes except .os].
1107 (stubs): Create stubs file inside the subdir.
1108 (common-mostlyclean): Remove stubs file from inside the subdir.
1109 * Makefile (subdir-stubs): Look for stubs files inside the
1111 * manual/Makefile (stubs): Create dummy stubs file inside the
1114 1998-05-01 21:01 Zack Weinberg <zack@rabi.phys.columbia.edu>
1116 Build speed improvement: make ar less of a bottleneck.
1118 * Makerules (stamp$o): Just record the object list for later
1120 (libc_foo.a): New rule, depends on subdir stamp files; builds
1121 and ranlibs the library from the lists saved in those files.
1123 (subdirs-stamps): Define also if subdir == elf (FIXME: kludge).
1124 (subdirs-stamp-o): Likewise.
1126 (ar-symtab-name): Delete variable.
1127 (lib%.a): Delete target.
1128 (libc_foo.a(bar.%)): Delete target.
1129 (libc_foo.a($(ar-symtab-name))): Delete target.
1131 (objects objs): Just depend on libobjs and extra-objs.
1132 (libobjs): Depend on the stamp files, not the objects.
1133 (extra-objs): New target, just depends on the extra-objs list.
1135 (CREATE_ARFLAGS): Kill the `ar S' hack.
1137 * config.make.in (have-ar-S): Deleted.
1138 * configure.in: Delete test for `ar S'. Add test to determine
1139 whether ranlib does anything useful.
1141 1998-05-01 Ulrich Drepper <drepper@cygnus.com>
1143 * inet/tst-ether_aton.c: Include <stdio.h>.
1145 1998-04-30 16:45 Ulrich Drepper <drepper@cygnus.com>
1147 * inet/ether_aton.c: Including netinet/if_ether.h is not necessary.
1149 * locale/Makefile (distribute): Add programs/repertoire.h.
1150 (localedef-modules): Add repertoire.
1151 (CPPFLAGS): Define REPERTOIREMAP_PATH.
1152 * locale/programs/repertoire.c: New file.
1153 * locale/programs/repertoire.h: New file.
1154 * locale/programs/charmap.c: Starting fixing character set handling
1155 to handle multi-byte encodings.
1156 * locale/programs/charset.c: Likewise.
1157 * locale/programs/charset.h: Likewise.
1158 * locale/programs/ld-collate.c: Likewise.
1159 * locale/programs/ld-ctype.c: Likewise.
1160 * locale/programs/linereader.c: Likewise.
1161 * locale/programs/localedef.c: Likewise.
1162 * locale/programs/locfile-kw.gperf: Likewise.
1163 * locale/programs/locfile-kw.h: Likewise.
1164 * locale/programs/locfile-token.h: Likewise.
1165 * locale/programs/locfile.h: Likewise.
1166 * locale/programs/stringtrans.c: Likewise.
1168 * locale/programs/locfile.c: Interpret I18NPATH value as base of
1169 path, extended with "/locales/".
1171 1998-04-18 Philip Blundell <Philip.Blundell@pobox.com>
1173 * sysdeps/arm/memset.S: Fix off by one error.
1175 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): On error, call
1176 __syscall_error rather than syscall_error directly.
1178 1998-04-17 Philip Blundell <Philip.Blundell@pobox.com>
1180 * sysdeps/unix/sysv/linux/arm/mmap.S: New file; implementation of
1181 mmap() syscall for ARM.
1183 * sysdeps/unix/arm/start.c: New file; startup code for ARM a.out
1186 1998-04-30 Ulrich Drepper <drepper@cygnus.com>
1188 * locale/programs/localedef.c: Recognize repertoire-map option.
1190 1998-04-29 Ulrich Drepper <drepper@cygnus.com>
1192 * locale/programs/linereader.c (get_toplvl_escape): Fix typo in
1193 converting non-hex numbers.
1194 Patch by Won Kyu Park <bird@bird.kitel.co.kr>.
1196 1998-04-23 07:31 H.J. Lu <hjl@gnu.org>
1198 * resolv/inet_addr.c (inet_aton): Use __strtoul_internal to
1200 * resolv/Makefile (tests): New, add tst-aton.
1201 * resolv/tst-aton.c: New file.
1203 1998-04-29 Ulrich Drepper <drepper@cygnus.com>
1205 * sysdeps/sparc/sparc32/dl-machine.h (WEAKADDR): Add missing
1208 1998-04-29 12:11 Ulrich Drepper <drepper@cygnus.com>
1210 * wcsmbs/mbsnrtowcs.c: Remove variable to pass to conversion function
1211 by letting the later modify the variable computing the total directly.
1212 * wcsmbs/mbsrtowcs.c: Likewise.
1213 * wcsmbs/wcsnrtombs.c: Likewise.
1214 * wcsmbs/wcsrtombs.c: Likewise.
1216 * wcsmbs/btowc.c (converted): Rename variable to dummy to make clear
1218 * wcsmbs/wctoc.c: Likewise.
1220 * wcsmbs/mbsrtowcs.c: Optimize a bit more.
1221 * wcsmbs/wcsrtombs.c: Likewise.
1223 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add SIGCLD definition.
1225 1998-04-29 Ulrich Drepper <drepper@cygnus.com>
1227 * iconv/skeleton.c: Correct counting of actually converted
1230 * intl/localealias.c (read_alias_file): Use unsigned char for
1231 local variables. Remove unused variable tp.
1232 * intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
1233 for type of codeset. For loosing Solaris systems.
1234 * intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
1235 * intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
1237 Patches by Jim Meyering.
1239 * stdio-common/vfprintf.c [%S]: Don't clear mbstate twice;
1240 wcsrtombs must put it into initial state.
1242 1998-04-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1244 * iconv/gconv_simple.c: Fix endian bug. Don't put side effects in
1245 argument of bswap_XX macro.
1247 1998-04-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1249 * iconvdata/Makefile (EBCDIC-DK-NO-A-routines): Fix typo in
1252 1998-04-28 Ulrich Drepper <drepper@cygnus.com>
1254 * sysdeps/unix/sysv/linux/semctl.c (semctl): Define own union
1255 semun and use stdarg macros to get the value.
1256 * sysdeps/generic/semctl.c: Don't use union semun.
1258 * sysvipc/sys/sem.h: Don't use union semun in semctl prototype.
1260 * string/basename.c [!_LIBC]: Define function as gnu_basename.
1262 * posix/getopt.c [!__GNU_LIBRARY__]: Include string.h or
1265 * stdlib/grouping.h: Accept ungrouped numbers even if locale
1268 * intl/hash-string.h: Don't include values.h.
1270 * inet/Makefile (tests): Add tst-ether_aton.
1271 * inet/tst-ether_aton.c: New file.
1273 * inet/ether_aton_r.c (ether_aton_r): Preserve high-nibble value
1275 * inet/ether_aton.c (ether_aton): Declare result variable static.
1276 Reported by ahyung@unixg.ubc.ca.
1278 * sysdeps/unix/sysv/linux/bits/sem.h: Don't define union semun.
1279 Define macro _SEM_SEMUN_UNDEFINED instead.
1280 Reported by Dirk Laessig <d.laessig@tu-bs.de>.
1282 * stdio-common/tst-wc-printf.c: New file. Test for %S and %C format.
1283 * stdio-common/Makefile (tests): Add tst-wc-printf.
1285 1998-04-28 16:32 Philip Blundell <philb@gnu.org>
1287 * manual/stdio.texi (Variable Arguments Output): Correct variable
1288 name. Patch from Ewan Mellor <em@nexus.co.uk>
1290 1998-04-27 Ulrich Drepper <drepper@cygnus.com>
1292 * intl/dcgettext.c: Remove unneeded definition of
1295 1998-04-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1297 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use this as target
1298 instead of do-iconv-test.
1299 ($(objpfx)gconv-modules): Define rule only if objpfx is not
1302 1998-04-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1304 * string/string.h: Fix feature test.
1306 1998-04-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1308 * iconvdata/iso646.c (BODY): Don't use character constants that
1309 depend on signedness of char.
1311 1998-04-27 Ulrich Drepper <drepper@cygnus.com>
1313 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdirs)=misc]
1314 (sysdep_routines): Add s_pread64 and s_pwrite64.
1316 1998-04-27 09:54 Ulrich Drepper <drepper@cygnus.com>
1318 * iconvdata/Makefile (distribute): Remove generated .h files.
1319 * iconvdata/koi8-r.h: Removed.
1320 * iconvdata/latin-greek-1.h: Removed.
1321 * iconvdata/latin-greek.h: Removed.
1323 * iconvdata/testdata/CP1258..UTF8: New iconv test source.
1324 * iconvdata/KOI-8: Likewise.
1325 * iconvdata/KOI-8..UTF8: Likewise.
1326 * iconvdata/KOI8-R: Likewise.
1327 * iconvdata/KOI8-R..UTF8: Likewise.
1329 1998-04-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1331 * streams/Makefile (headers): Add sys/stropts.h.
1332 * streams/sys/stropts.h: New file.
1334 1998-04-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1336 * sysdeps/unix/sysv/linux/ttyname.c,
1337 sysdeps/unix/sysv/linux/ttyname_r.c: New files, like
1338 sysdeps/posix/ttyname*.c, but look in /dev/pts first.
1340 1998-04-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1342 * sysdeps/unix/sysv/linux/ptsname.c: Fix off-by-one bug in second
1343 argument of _itoa_word.
1345 1998-04-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1347 * sysdeps/unix/sysv/linux/syscalls.list (s_getcwd, s_getdents,
1348 s_pread64, s_pwrite64, s_reboot, s_sigpending, s_sigprocmask): Set
1349 caller to getcwd, getdents, pread64, pwrite64, reboot, sigpending,
1350 sigprocmask, resp., instead of EXTRA.
1352 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
1353 s_pread64 and s_pwrite64.
1355 1998-04-26 18:44 Ulrich Drepper <drepper@cygnus.com>
1357 * iconvdata/Makefile: Correct rules to generate gap table.
1358 * iconvdata/gap.pl: Simplify.
1360 * iconvdata/TESTS: Name new tests.
1361 * iconvdata/testdata/CP1250: New file.
1362 * iconvdata/testdata/CP1250..UTF8: New file.
1363 * iconvdata/testdata/CP1251: New file.
1364 * iconvdata/testdata/CP1251..UTF8: New file.
1365 * iconvdata/testdata/CP1252: New file.
1366 * iconvdata/testdata/CP1252..UTF8: New file.
1367 * iconvdata/testdata/CP1253: New file.
1368 * iconvdata/testdata/CP1253..UTF8: New file.
1369 * iconvdata/testdata/CP1254: New file.
1370 * iconvdata/testdata/CP1254..UTF8: New file.
1371 * iconvdata/testdata/CP1255: New file.
1372 * iconvdata/testdata/CP1255..UTF8: New file.
1373 * iconvdata/testdata/CP1256: New file.
1374 * iconvdata/testdata/CP1256..UTF8: New file.
1375 * iconvdata/testdata/CP1257: New file.
1376 * iconvdata/testdata/CP1257..UTF8: New file.
1378 1998-04-26 Ulrich Drepper <drepper@cygnus.com>
1380 * iconvdata/Makefile: Add rules for ISO-2022-KR.
1381 * iconvdata/iso-2022-kr.c: New file.
1383 * iconvdata/gconv-modules: Add entry for ISO-2022-JP, ISO-2022-JP-2,
1386 1998-04-25 18:39 Ulrich Drepper <drepper@cygnus.com>
1388 * iconvdata/Makefile: Use gap method for iso8859-5, iso8859-7,
1389 iso8859-8 and iso8859-10.
1390 * iconvdata/iso8859-5.c: Change to use gap method.
1391 * iconvdata/iso8859-7.c: Likewise.
1392 * iconvdata/iso8859-8.c: Likewise.
1393 * iconvdata/iso8859-10.c: Likewise.
1395 * iconvdata/Makefile: Add rules for ISO-2022-JP module.
1396 * iconv/skeleton.c: Allow END_LOOP do be defined and use it at the
1398 * iconvdata/iso-2022-jp.c: New file.
1400 * iconvdata/ksc5601.c: Don't use uint16_t to represent byte sequence.
1401 * iconvdata/ksc5601.h: Unify function interfaces.
1402 * iconvdata/euckr.c: Adapt for changed ksc5601.h interface.
1403 * iconvdata/uhc.c: Likewise.
1405 * iconvdata/gb2312.h: Use correct types.
1407 * iconvdata/iso646.c (gconv_open): Correctly initialize the character
1408 size elements of data.
1410 1998-04-24 Ulrich Drepper <drepper@cygnus.com>
1412 * string/tst-svc.expect: Adapt for change in .input.
1413 * string/tst-svc.input: More tests.
1415 1998-04-24 17:15 Ulrich Drepper <drepper@cygnus.com>
1417 * iconvdata/Makefile: Add rules for new modules.
1418 * iconvdata/gconv-modules: Likewise.
1419 * iconvdata/cp737.c: New file.
1420 * iconvdata/cp737.h: New file.
1421 * iconvdata/cp775.c: New file.
1422 * iconvdata/cp775.h: New file.
1423 * iconvdata/cp874.c: New file.
1424 * iconvdata/cp874.h: New file.
1426 1998-04-24 16:30 Ulrich Drepper <drepper@cygnus.com>
1428 * iconvdata/Makefile: Create target directory before generating
1431 1998-04-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1433 * misc/sys/cdefs.h (__REDIRECT): Handle systems with non-empty
1434 __USER_LABEL_PREFIX__.
1435 (__ASMNAME, __ASMNAME2): New macros.
1437 1998-04-24 Ulrich Drepper <drepper@cygnus.com>
1439 * elf/dl-load.c: Include sys/param.h for MAX.
1441 1998-04-24 21:44 Richard Henderson <rth@cygnus.com>
1443 * sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Make
1444 __ftruncate the strong symbol, and add weak alias.
1445 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1447 1998-04-24 Ulrich Drepper <drepper@cygnus.com>
1449 * termios/cfsetspeed.c: Make code cleaner and add missing const.
1450 Patch by Joe Keane <jgk@jgk.org>.
1452 * inet/rcmd.c (__ivaliduser): Check buf for being NULL before
1455 1998-04-24 13:56 Ulrich Drepper <drepper@cygnus.com>
1457 * sysdeps/generic/bits/socket.h: Add #defines for enum values.
1458 Patch by Thomas Bushnell, n/BSG.
1460 1998-04-24 Ulrich Drepper <drepper@cygnus.com>
1462 * inet/rcmd.c (iruserok): Initialize hostf variable to NULL.
1464 1998-04-24 Ulrich Drepper <drepper@cygnus.com>
1466 * iconvdata/Makefile: Put generated headers in build directory.
1468 1998-04-23 22:43 Ulrich Drepper <drepper@cygnus.com>
1470 * elf/dl-load.c (fillin_rpath): Handle empty element returned by
1471 strsep as current directory.
1473 * iconv/gconv_builtin.h: Add aliases unicode and unicodebig for
1474 Java. Add definitions for unicodelittle implementation.
1475 * iconv/gconv_int.h: Add declaration for unicodelittle functions.
1476 * iconv/gconv_simple.c: Define unicodelittle functions.
1478 * iconv/iconv_prog.c: Make program print information about position
1479 of illegal character in input.
1481 * iconv/skeleton.c: Use __strcasecmp instead of __strcasestr for
1482 comparison of charset name.
1483 * iconvdata/big5.c (CHARSET_NAME): Adapt for this.
1484 * iconvdata/ebcdic-at-de-a.c: Likewise.
1485 * iconvdata/ebcdic-at-de.c: Likewise.
1486 * iconvdata/ebcdic-ca-fr.c: Likewise.
1487 * iconvdata/euccn.c: Likewise.
1488 * iconvdata/eucjp.c: Likewise.
1489 * iconvdata/euckr.c: Likewise.
1490 * iconvdata/euctw.c: Likewise.
1491 * iconvdata/hp-roman8.c: Likewise.
1492 * iconvdata/iso6937.c: Likewise.
1493 * iconvdata/iso8859-1.c: Likewise.
1494 * iconvdata/iso8859-10.c: Likewise.
1495 * iconvdata/iso8859-2.c: Likewise.
1496 * iconvdata/iso8859-3.c: Likewise.
1497 * iconvdata/iso8859-4.c: Likewise.
1498 * iconvdata/iso8859-5.c: Likewise.
1499 * iconvdata/iso8859-6.c: Likewise.
1500 * iconvdata/iso8859-7.c: Likewise.
1501 * iconvdata/iso8859-8.c: Likewise.
1502 * iconvdata/iso8859-9.c: Likewise.
1503 * iconvdata/johab.c: Likewise.
1504 * iconvdata/koi-8.c: Likewise.
1505 * iconvdata/koi8-r.c: Likewise.
1506 * iconvdata/latin-greek-1.c: Likewise.
1507 * iconvdata/latin-greek.c: Likewise.
1508 * iconvdata/sjis.c: Likewise.
1509 * iconvdata/t61.c: Likewise.
1510 * iconvdata/uhc.c: Likewise.
1512 * iconvdata/iso646.c: Add support for more ISO 646 variants.
1513 * iconvdata/TESTS: Add tests for ISO646 module.
1514 * iconvdata/gconv-modules: Add new modules.
1515 * iconvdata/testdate/CSA_Z243.4-1985-1: New tests for ISO646 module.
1516 * iconvdata/testdate/CSA_Z243.4-1985-1..UCS2: Likewise.
1517 * iconvdata/testdate/CSA_Z243.4-1985-2: Likewise.
1518 * iconvdata/testdate/CSA_Z243.4-1985-2..UCS4: Likewise.
1519 * iconvdata/testdate/DIN_66003: Likewise.
1520 * iconvdata/testdate/DIN_66003..UTF8: Likewise.
1521 * iconvdata/testdate/DS_2089: Likewise.
1522 * iconvdata/testdate/DS_2089..UTF8: Likewise.
1523 * iconvdata/testdate/ES: Likewise.
1524 * iconvdata/testdate/ES..UTF8: Likewise.
1525 * iconvdata/testdate/ES2: Likewise.
1526 * iconvdata/testdate/ES2..UTF8: Likewise.
1527 * iconvdata/testdate/GB_1988-80: Likewise.
1528 * iconvdata/testdate/GB_1988-80..UTF8: Likewise.
1529 * iconvdata/testdate/IT: Likewise.
1530 * iconvdata/testdate/IT..UTF8: Likewise.
1531 * iconvdata/testdate/JIS_C6220-1969-RO: Likewise.
1532 * iconvdata/testdate/JIS_C6220-1969-RO..UTF8: Likewise.
1533 * iconvdata/testdate/JIS_C6229-1984-B: Likewise.
1534 * iconvdata/testdate/JIS_C6229-1984-B..UTF8: Likewise.
1535 * iconvdata/testdate/JUS_I.B1.002: Likewise.
1536 * iconvdata/testdate/JUS_I.B1.002..UTF8: Likewise.
1537 * iconvdata/testdate/KSC5636: Likewise.
1538 * iconvdata/testdate/KSC5636..UTF8: Likewise.
1539 * iconvdata/testdate/MSZ_7795.3: Likewise.
1540 * iconvdata/testdate/MSZ_7795.3..UTF8: Likewise.
1541 * iconvdata/testdate/NC_NC00-10: Likewise.
1542 * iconvdata/testdate/NC_NC00-10..UTF8: Likewise.
1543 * iconvdata/testdate/NF_Z_62-010: Likewise.
1544 * iconvdata/testdate/NF_Z_62-010..UTF8: Likewise.
1545 * iconvdata/testdate/NF_Z_62-010_1973: Likewise.
1546 * iconvdata/testdate/NF_Z_62-010_1973..UTF8: Likewise.
1547 * iconvdata/testdate/NS_4551-1: Likewise.
1548 * iconvdata/testdate/NS_4551-1..UTF8: Likewise.
1549 * iconvdata/testdate/NS_4551-2: Likewise.
1550 * iconvdata/testdate/NS_4551-2..UTF8: Likewise.
1551 * iconvdata/testdate/PT: Likewise.
1552 * iconvdata/testdate/PT..UTF8: Likewise.
1553 * iconvdata/testdate/PT2: Likewise.
1554 * iconvdata/testdate/PT2..UTF8: Likewise.
1555 * iconvdata/testdate/SEN_850200_B: Likewise.
1556 * iconvdata/testdate/SEN_850200_B..UTF8: Likewise.
1557 * iconvdata/testdate/SEN_850200_C: Likewise.
1558 * iconvdata/testdate/SEN_850200_C..UTF8: Likewise.
1560 * iconvdata/cns11643.h: Use uint32_t instead of wchar_t.
1561 * iconvdata/cns11643l1.h: Likewise.
1562 * iconvdata/latin-greek-1.h: Likewise.
1563 * iconvdata/latin-greek.h: Likewise.
1564 * iconvdata/koi8-r.h: Likewise.
1565 * iconvdata/jis0212.h: Likewise.
1566 * iconvdata/gb2312.h: Likewise.
1567 * iconvdata/ksc5601.h: Likewise.
1569 * iconvdata/8bit-gap.c: Use 32 bit type for idx element of struct gap.
1571 * iconvdata/Makefile: Add rules for lots of more modules.
1572 * iconvdata/cp1250.c: New file.
1573 * iconvdata/cp1251.c: New file.
1574 * iconvdata/cp1252.c: New file.
1575 * iconvdata/cp1253.c: New file.
1576 * iconvdata/cp1254.c: New file.
1577 * iconvdata/cp1255.c: New file.
1578 * iconvdata/cp1256.c: New file.
1579 * iconvdata/cp1257.c: New file.
1580 * iconvdata/ebcdic-dk-no-a.c: New file.
1581 * iconvdata/ebcdic-dk-no.c: New file.
1582 * iconvdata/ebcdic-es-a.c: New file.
1583 * iconvdata/ebcdic-es-s.c: New file.
1584 * iconvdata/ebcdic-es.c: New file.
1585 * iconvdata/ebcdic-fi-se-a.c: New file.
1586 * iconvdata/ebcdic-fi-se.c: New file.
1587 * iconvdata/ebcdic-fr.c: New file.
1588 * iconvdata/ebcdic-is-friss.c: New file.
1589 * iconvdata/ebcdic-it.c: New file.
1590 * iconvdata/ebcdic-pt.c: New file.
1591 * iconvdata/ebcdic-uk.c: New file.
1592 * iconvdata/ebcdic-us.c: New file.
1593 * iconvdata/ibm037.c: New file.
1594 * iconvdata/ibm038.c: New file.
1595 * iconvdata/ibm1004.c: New file.
1596 * iconvdata/ibm1026.c: New file.
1597 * iconvdata/ibm1047.c: New file.
1598 * iconvdata/ibm256.c: New file.
1599 * iconvdata/ibm273.c: New file.
1600 * iconvdata/ibm274.c: New file.
1601 * iconvdata/ibm275.c: New file.
1602 * iconvdata/ibm277.c: New file.
1603 * iconvdata/ibm278.c: New file.
1604 * iconvdata/ibm280.c: New file.
1605 * iconvdata/ibm281.c: New file.
1606 * iconvdata/ibm284.c: New file.
1607 * iconvdata/ibm285.c: New file.
1608 * iconvdata/ibm290.c: New file.
1609 * iconvdata/ibm297.c: New file.
1610 * iconvdata/ibm420.c: New file.
1611 * iconvdata/ibm423.c: New file.
1612 * iconvdata/ibm424.c: New file.
1613 * iconvdata/ibm437.c: New file.
1614 * iconvdata/ibm500.c: New file.
1615 * iconvdata/ibm850.c: New file.
1616 * iconvdata/ibm851.c: New file.
1617 * iconvdata/ibm852.c: New file.
1618 * iconvdata/ibm855.c: New file.
1619 * iconvdata/ibm857.c: New file.
1620 * iconvdata/ibm860.c: New file.
1621 * iconvdata/ibm861.c: New file.
1622 * iconvdata/ibm862.c: New file.
1623 * iconvdata/ibm863.c: New file.
1624 * iconvdata/ibm864.c: New file.
1625 * iconvdata/ibm865.c: New file.
1626 * iconvdata/ibm868.c: New file.
1627 * iconvdata/ibm869.c: New file.
1628 * iconvdata/ibm870.c: New file.
1629 * iconvdata/ibm871.c: New file.
1630 * iconvdata/ibm875.c: New file.
1631 * iconvdata/ibm880.c: New file.
1632 * iconvdata/ibm891.c: New file.
1633 * iconvdata/ibm903.c: New file.
1634 * iconvdata/ibm904.c: New file.
1635 * iconvdata/ibm905.c: New file.
1636 * iconvdata/ibm918.c: New file.
1638 * locale/iso-4217.def: Update.
1639 * localedata/locales/pt_BR: Correct. Patches by Andreas Jaeger.
1641 * stdio-common/vfscanf.h: Recognize nan and inf in floating-point
1644 1998-04-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1646 * elf/dl-load.c (_dl_init_paths): ';' is also a terminal for
1649 1998-04-22 Gordon Matzigkeit <gord@profitpress.com>
1651 * Makerules: Change occurances of `cd dir; cmd' to `cd dir && cmd'.
1652 * Makefile: Likewise.
1653 * posix/Makefile: Likewise.
1654 * sysdeps/mach/hurd/Makefile: Likewise.
1656 1998-04-22 Gordon Matzigkeit <gord@profitpress.com>
1658 * sysdeps/mach/hurd/bits/dirent.h: New file.
1659 * sysdeps/mach/hurd/readdir64.c: New file.
1660 * sysdeps/mach/hurd/readdir64_r.c: New file.
1662 1998-04-21 Gordon Matzigkeit <gord@profitpress.com>
1664 * stdio/stdio.h (vasprintf, __asprintf, asprintf, vdprintf,
1665 dprintf): Synchronize declarations with libio/stdio.h.
1667 1998-04-21 Gordon Matzigkeit <gord@profitpress.com>
1669 * elf/dlerror.c (dlerror): Don't assume that
1670 __libc_internal_tsd_get is defined. __libc_getspecific is already
1671 well-protected, so just use it directly.
1673 1998-04-22 Gordon Matzigkeit <gord@profitpress.com>
1675 * io/ftw.h (ftw): Fix typo.
1677 1998-04-21 Gordon Matzigkeit <gord@profitpress.com>
1679 * sysdeps/gnu/utmp_file.c: Fix typo.
1681 1998-04-22 11:06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1683 * iconvdata/run-iconv-test.sh: Fix more portability bugs. When
1684 one part of a test fails move on to the next test.
1686 1998-04-24 5:45 Richard Henderson <rth@cygnus.com>
1688 * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
1690 1998-04-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1692 * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Compare addresses
1693 as pointers, not signed integers.
1695 1998-04-22 11:06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1697 * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
1699 1998-04-21 21:49 Zack Weinberg <zack@rabi.phys.columbia.edu>
1701 * misc/sys/cdefs.h: New macro __REDIRECT to support changing the
1702 asm symbol name of functions.
1703 * include/features.h: Kill redundant test.
1705 * dirent/dirent.h: Use new macros to implement __USE_FILE_OFFSET64.
1706 * io/ftw.h: Likewise.
1707 * io/sys/stat.h: Likewise.
1708 * io/sys/statfs.h: Likewise.
1709 * io/sys/statvfs.h: Likewise.
1710 * libio/stdio.h: Likewise.
1711 * resource/sys/resource.h: Likewise.
1712 * rt/aio.h: Likewise.
1714 * posix/unistd.h: Use new macros for __USE_FILE_OFFSET64 and
1716 * signal/signal.h: Use new macros for BSD vs. SysV signal().
1718 * misc/Makefile: Drop bsd-compat.c. Make libbsd-compat.a
1720 * misc/bsd-compat.c: Removed.
1722 1998-04-21 20:32 Ulrich Drepper <drepper@cygnus.com>
1724 * iconv/loop.c: Allow EXTRA_LOOP_DECLS be defined and use it in
1725 function declaration.
1726 * iconv/skeleton.c: Allow PREPARE_LOOP and EXTRA_LOOP_ARGS be defined
1727 and use them in conversion function.
1728 * iconvdata/Makefile (modules): Re-add ISO6446.
1729 * iconvdata/TEST: Add tests for ASCII variants.
1730 * iconvdata/iso646.c: Rewrite to use loop.c and skeleton.c.
1731 * iconvdata/testdata/ANSI_X3.4-1968: New file.
1732 * iconvdata/testdata/BS_4730: New file.
1733 * iconvdata/testdata/BS_4730..UTF8: New file.
1735 1998-04-21 19:05 Ulrich Drepper <drepper@cygnus.com>
1737 * iconv/gconv.h (struct gconv_step): Add element stateful.
1738 * iconv/gconv_builtin.c (__gconv_builtin_trans): Initialize stateful
1739 to zero for all internal conversions.
1740 * iconv/skeleton.c: Initialize stateful depending on whether or not
1741 RESET_STATE is defined to one or zero respectively.
1742 * stdlib/mblen.c: Use stateful element of currently selected
1743 converter for result if S is NULL.
1744 * stdlib/mbtowc.c: Likewise.
1745 * stdlib/wctomb.c: Likewise.
1747 1998-04-21 18:00 Ulrich Drepper <drepper@cygnus.com>
1749 * iconv/gconv.c (__gconv): Remove bogus input buffer size computation.
1751 * iconv/gconv_open.c (__gconv_open): Initialize outbufend element.
1753 * iconv/gconv_simple.c (__gconv_transform_internal_ascii): Don't use
1754 character in comparison with uint32_t.
1755 (__gconv_transform_internal_utf8): Specify MAX_NEEDED_TO.
1756 (__gconv_transform_utf8_internal): Specify MAX_NEEDED_FROM.
1757 Optimize BODY a bit.
1759 * iconv/loop.c: Require MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT to
1762 * iconv/skeleton.c: Also reset converted counter in case of an error.
1763 Call reset function using correct value for output buffer start.
1765 * iconvdata/Makefile: Re-enable tests.
1767 * iconvdata/iso8859-1.c: Swap MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT
1768 value for to-conversion.
1770 * iconvdata/TESTS: Add new third column.
1771 * iconvdata/run-iconv-test.sh: Add support for charsets which are
1773 * iconvdata/testdata/suntzus: New file.
1775 * elf/dl-minimal.c (__strtol_internal): Increment pointer to string
1776 while reading. Correctly used base. Little optimization.
1777 (__strtoul_internal): Likewise.
1779 * elf/rtld.c (dl_main): Test to avoid duplicate call of _dl_init_paths
1780 was wrong. Use explicit variable.
1782 1998-04-20 23:49 Zack Weinberg <zack@rabi.phys.columbia.edu>
1784 * configure.in: Check for awk.
1785 * config.make.in: Add AWK to be substituted.
1787 * manual/xtract-typefun.awk: Rewrite to eliminate gawk extensions.
1788 * manual/users.texi: Fix typo exposed by above rewrite.
1790 * Makefile: Invoke awk using AWK variable.
1791 * csu/Makefile: Likewise.
1792 * elf/Makefile: Likewise.
1793 * mach/Makefile: Likewise.
1794 * manual/Makefile: Likewise.
1795 * sysdeps/gnu/Makefile: Likewise.
1796 * sysdeps/mach/hurd/Makefile: Likewise.
1797 * sysdeps/unix/Makefile: Likewise.
1798 * timezone/Makefile: Likewise.
1800 1998-04-10 Gordon Matzigkeit <gord@profitpress.com>
1802 * sysdeps/gnu/errlist.awk (ERR_REMAP): Implement error code to
1803 array index translation.
1804 (SYS_ERRLIST_ALIAS, SYS_NERR_ALIAS): Make weak aliases only if
1807 * sysdeps/mach/hurd/Dist: Add errlist.c to distribution.
1809 * sysdeps/mach/hurd/errlist.c: New file.
1810 (ERR_TRANSLATE): Map Hurd error codes into errlist indices.
1811 (_hurd_errlist): The Hurd error list doesn't have Unix sys_errlist
1812 semantics, so rename it.
1814 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1816 * iconvdata/run-iconv-test.sh: Make portable. Always test all
1819 1998-04-21 12:30 H.J. Lu <hjl@gnu.org>
1821 * wcsmbs/wcsrtombs.c (__wcsrtombs): Initialize result to 0.
1822 * wcsmbs/wcsnrtombs.c: Likewise.
1824 1998-04-21 Ulrich Drepper <drepper@cygnus.com>
1826 * sysdeps/generic/dl-sysdep.c: Handle _dl_hwcap correctly.
1828 * wcsmbs/btowc.c (__btowc): Declare inptr as const char *.
1830 * time/strftime.c (my_strftime): Initialize pad variable in
1833 * iconvdata/big5.c: Don't use character constants in comparisons
1834 with unsigned value.
1836 1998-04-20 18:00 Ulrich Drepper <drepper@cygnus.com>
1838 * libc.map: Add __dgettext to GLIBC_2.0 and __libc_longjmp, and
1839 __libc_siglongjmp to GLIBC_2.1.
1841 * elf/dl-minimal.c (__assert_perror_fail): Don't use strerror, use
1844 * iconv/Makefile: Don't run tests now.
1846 * iconv/iconv_prog.c (process_block): If loop is repeated, call iconv
1847 with correct output buffer.
1849 Major rewrite of the low-level gconv functionality.
1850 * iconv/gconv.c: Rewritten.
1851 * iconv/gconv.h: Likewise.
1852 * iconv/gconv_builtin.c: Likewise.
1853 * iconv/gconv_builtin.h: Likewise.
1854 * iconv/gconv_conf.c: Likewise.
1855 * iconv/gconv_int.h: Likewise.
1856 * iconv/gconv_open.c: Likewise.
1857 * iconv/gconv_simple.c: Likewise.
1858 * iconv/iconv.c: Likewise.
1859 * iconvdata/8bit-gap.c: Likewise.
1860 * iconvdata/8bit-generic.c: Likewise.
1861 * iconvdata/Makefile: Likewise.
1862 * iconvdata/big5.c: Likewise.
1863 * iconvdata/cns11643.c: Likewise.
1864 * iconvdata/cns11643.h: Likewise.
1865 * iconvdata/cns11643l1.c: Likewise.
1866 * iconvdata/cns11643l1.h: Likewise.
1867 * iconvdata/ebcdic-at-de-a.c: Likewise.
1868 * iconvdata/ebcdic-at-de.c: Likewise.
1869 * iconvdata/ebcdic-ca-fr.c: Likewise.
1870 * iconvdata/euccn.c: Likewise.
1871 * iconvdata/eucjp.c: Likewise.
1872 * iconvdata/euckr.c: Likewise.
1873 * iconvdata/euctw.c: Likewise.
1874 * iconvdata/gb2312.c: Likewise.
1875 * iconvdata/gb2312.h: Likewise.
1876 * iconvdata/hp-roman8.c: Likewise.
1877 * iconvdata/iso646.c: Likewise.
1878 * iconvdata/iso6937.c: Likewise.
1879 * iconvdata/iso8859-1.c: Likewise.
1880 * iconvdata/iso8859-10.c: Likewise.
1881 * iconvdata/iso8859-2.c: Likewise.
1882 * iconvdata/iso8859-3.c: Likewise.
1883 * iconvdata/iso8859-4.c: Likewise.
1884 * iconvdata/iso8859-5.c: Likewise.
1885 * iconvdata/iso8859-6.c: Likewise.
1886 * iconvdata/iso8859-7.c: Likewise.
1887 * iconvdata/iso8859-8.c: Likewise.
1888 * iconvdata/iso8859-9.c: Likewise.
1889 * iconvdata/jis0201.c: Likewise.
1890 * iconvdata/jis0201.h: Likewise.
1891 * iconvdata/jis0208.c: Likewise.
1892 * iconvdata/jis0208.h: Likewise.
1893 * iconvdata/jis0212.c: Likewise.
1894 * iconvdata/jis0212.h: Likewise.
1895 * iconvdata/johab.c: Likewise.
1896 * iconvdata/koi-8.c: Likewise.
1897 * iconvdata/koi8-r.c: Likewise.
1898 * iconvdata/ksc5601.c: Likewise.
1899 * iconvdata/ksc5601.h: Likewise.
1900 * iconvdata/latin-greek-1.c: Likewise.
1901 * iconvdata/latin-greek.c: Likewise.
1902 * iconvdata/run-iconv-test.sh: Likewise.
1903 * iconvdata/sjis.c: Likewise.
1904 * iconvdata/t61.c: Likewise.
1905 * iconvdata/uhc.c: Likewise.
1906 * wcsmbs/btowc.c: Likewise.
1907 * wcsmbs/mbrtowc.c: Likewise.
1908 * wcsmbs/mbsnrtowcs.c: Likewise.
1909 * wcsmbs/mbsrtowcs.c: Likewise.
1910 * wcsmbs/wcrtomb.c: Likewise.
1911 * wcsmbs/wcsmbsload.c: Likewise.
1912 * wcsmbs/wcsnrtombs.c: Likewise.
1913 * wcsmbs/wcsrtombs.c: Likewise.
1914 * wcsmbs/wctob.c: Likewise.
1915 * iconv/loop.c: New file.
1916 * iconv/skeleton.c: New file.
1918 * stdlib/mblen.c: Handle empty input string correctly.
1919 * stdlib/mbtowc.c: Likewise.
1921 * posix/getopt.c: Various cleanups.
1923 * sysdeps/arm/bits/setjmp.h: Add copyright text.
1924 * sysdeps/i386/bits/setjmp.h: Likewise.
1925 * sysdeps/m68k/bits/setjmp.h: Likewise.
1926 * sysdeps/powerpc/bits/setjmp.h: Likewise.
1927 * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
1929 * sysdeps/generic/longjmp.c: Rename function to __libc_siglongjmp
1930 and make longjmp weak alias.
1932 1998-04-18 20:29 Philip Blundell <Philip.Blundell@pobox.com>
1934 * iconv/Makefile (routines): Only include gconv_dl if building for
1935 an ELF system - dynamic linking is not available on a.out.
1936 (CFLAGS-gconv_conf.c): Define STATIC_GCONV if omitting gconv_dl
1938 * iconv/gconv_db.c: If STATIC_GCONV defined, don't try to call
1939 routines from gconv_dl.
1941 1998-04-17 Gordon Matzigkeit <gord@profitpress.com>
1943 * csu/init.c (_IO_stdin_used): Protect with USE_IN_LIBIO so that
1944 we can compile without libio.
1946 1998-04-20 16:28 Ulrich Drepper <drepper@cygnus.com>
1948 * sysdeps/mach/hurd/Subdirs: Remove login.
1950 1998-04-11 Gordon Matzigkeit <gord@profitpress.com>
1952 * db2/compat.h: Include <errno.h>, to make sure we get the
1953 definition of EFTYPE before we define it ourselves.
1955 1998-04-10 Gordon Matzigkeit <gord@profitpress.com>
1957 * sysdeps/generic/bits/socket.h: Protect against multiple inclusion.
1958 * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
1959 Fix typo to allow inclusion from sys/ioctl.h again.
1961 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1963 * iconvdata/*.[ch]: Clean up namespace. Optimize character lookup.
1965 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1967 * libc.map: Export __strerror_r. Remove _strerror_internal.
1969 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1971 * sysdeps/generic/strcasestr.c: Undefine strcasestr, not strstr.
1972 Also undefine __strcasestr.
1974 1998-04-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1976 * posix/regex.c: Rename __re_max_failures back to re_max_failures,
1977 aliases do not work with global variables due to copy relocations.
1979 1998-04-20 15:12 Ulrich Drepper <drepper@cygnus.com>
1981 * manual/creature.texi: Fix type. Patch by Andreas Schwab.
1983 1998-04-20 13:47 Ulrich Drepper <drepper@cygnus.com>
1985 * signal/sighold.c: Include stddef.h for NULL definition.
1986 * signal/sigrelse.c: Likewise.
1987 * sysdeps/posix/sigignore.c: Likewise.
1988 * sysdeps/posix/sigset.c: Likewise.
1989 * sysdeps/posix/waitid.c: Likewise.
1990 * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
1991 * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: Likewise.
1992 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1993 * wcsmbs/mbsrtowcs.c: Include stdlib.h for MB_CUR_MAX.
1994 Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
1996 1998-04-13 Mark Kettenis <kettenis@phys.uva.nl>
1998 * login/Makefile (headers): Remove utmpx.h and bits/utmpx.h.
1999 * login/getutent.c (getutxent): Remove alias.
2000 * login/getutent_r.c (setutxent, pututxline, endutxent):
2002 * login/getutid.c (getutxid): Remove alias.
2003 * login/getutline.c (getutxline): Remove alias.
2004 * login/utmp.h: Add prototypes for __updwtmp, __getutent,
2005 __getutid, __getutline and __pututline.
2006 * login/utmpx.h: Moved to ...
2007 * sysdeps/gnu/utmpx.h: ... here. [__USE_GNU]: Define UTMPX_FILE,
2008 UTMPX_FILENAME, WTMPX_FILE and WTMPX_FILENAME, declare utmpxname
2010 * login/updwtmp.c: Moved to ...
2011 * sysdeps/generic/updwtmp.c: ... here. (updwtmp): Generalized by
2012 allowing file name transformation.
2013 * sysdeps/gnu/updwtmp.c: New file. Use generic implementation with
2014 additional file name transformation.
2015 * sysdeps/unix/sysv/linux/updwtmp.c: Likewise.
2016 * login/utmp_file.c: Moved to ...
2017 * sysdeps/generic/utmp_file.c: ... here. (setutent_file):
2018 Generalized by allowing file name transformation. Do not
2019 print error message. Library functions should not print them.
2020 Reported by Jim Meyering.
2021 * sysdeps/gnu/utmp_file.c: New file. Use generic implementation
2022 with additional file name transformation.
2023 * sysdeps/unix/sysv/linux/utmp_file.c: Likewise.
2024 * sysdeps/gnu/Makefile [$(subdir)=login] (sysdep_routines): Add
2025 setutxent, getutxent, endutxent, getutxid, getutxid, getutxline,
2026 pututxline, utmpxname and updwtmpx. (sysdep_headers): Add utmpx.h
2028 * sysdeps/gnu/bits/utmpx.h [__USE_GNU] Include paths.h.
2029 (_PATH_UTMPX): Define to _PATH_UTMP. (_PATH_WTMPX): Define to
2030 _PATH_WTMPX. (RUN_LVL): Define only if __USE_GNU. (ACCOUNTING):
2031 Define if __USE_GNU.
2032 * sysdeps/generic/setutxent.c: New file.
2033 * sysdeps/generic/getutxent.c: New file.
2034 * sysdeps/generic/endutxent.c: New file.
2035 * sysdeps/generic/getutxid.c: New file.
2036 * sysdeps/generic/getutxline.c: New file.
2037 * sysdeps/generic/pututxline.c: New file.
2038 * sysdeps/generic/utmpxname.c: New file.
2039 * sysdeps/generic/updwtmpx.c: New file.
2040 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP_DB): Remove.
2041 * sysdeps/generic/bits/utmpx.h: Remove.
2043 1998-04-20 Ulrich Drepper <drepper@cygnus.com>
2045 * posix/wordexp-test.c (main): Initialize ifs element of ts for
2048 1998-04-17 07:53 H.J. Lu <hjl@gnu.org>
2050 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Fix a typo.
2052 1998-04-17 11:32 Ulrich Drepper <drepper@cygnus.com>
2054 * libio/oldfileops.c (_IO_old_file_seekoff): Define temporary st
2055 variable using _G_stat64.
2056 * libio/fileops.c: Remove macro definition of fstat, it is in the
2058 Reported by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
2060 1998-04-17 Philip Blundell <pb@nexus.co.uk>
2062 * sysdeps/arm/strlen.S: New file, based on code by Matthew Wilcox
2063 <willy@odie.barnet.ac.uk>.
2065 1998-04-16 Philip Blundell <Philip.Blundell@pobox.com>
2067 * inet/netinet/in.h (IN6_IS_ADDR_MC_NODELOCAL): New macro,
2068 required by IPv6 Basic API.
2069 (IN6_IS_ADDR_MC_LINKLOCAL): Likewise.
2070 (IN6_IS_ADDR_MC_SITELOCAL): Likewise.
2071 (IN6_IS_ADDR_MC_ORGLOCAL): Likewise.
2072 (IN6_IS_ADDR_MC_GLOBAL): Likewise.
2074 1998-04-15 16:41 Ulrich Drepper <drepper@cygnus.com>
2076 Don't name internal representation since it might be different from
2077 the external form (namely on little endian machines).
2078 * iconv/gconv_builtin.h: Add UCS4 support. Change references to
2079 UCS4 into references to INTERNAL.
2080 * iconv/gconv_simple.c: Implement UCS4<->INTERNAL converters.
2081 Add endianess support to UCS functions. Change references to
2082 UCS4 into references to INTERNAL.
2083 * iconv/gconv_int.h: Change references to UCS4 into references to
2085 * iconv/iconv_prog.c: Don't mention INTERNAL in --list output.
2086 * iconvdata/gconv-modules: Change accordingly.
2087 * wcsmbs/wcsmbsload.c: Change names to use INTERNAL.
2089 * iconv/gconv_simple.c: Adjust input buffer pointer for output buffer
2091 * iconvdata/8bit-gap.c: Likewise.
2092 * iconvdata/8bit-generic.c: Likewise.
2093 * iconvdata/big5.c: Likewise.
2094 * iconvdata/euccn.c: Likewise.
2095 * iconvdata/eucjp.c: Likewise.
2096 * iconvdata/euckr.c: Likewise.
2097 * iconvdata/euctw.c: Likewise.
2098 * iconvdata/iso646.c: Likewise.
2099 * iconvdata/iso6937.c: Likewise.
2100 * iconvdata/iso8859-1.c: Likewise.
2101 * iconvdata/johab.c: Likewise.
2102 * iconvdata/sjis.c: Likewise.
2103 * iconvdata/t61.c: Likewise.
2104 * iconvdata/uhc.c: Likewise.
2106 * iconvdata/8bit-gap.c: Correct access to to_ucs4 array.
2107 * iconvdata/8bit-generic.c: Likewise.
2109 * iconvdata/TESTS: Add more tests.
2111 * sysdeps/i386/bits/byteswap.h: Change to use "=r" when ror is used.
2113 1998-04-15 11:47 Ulrich Drepper <drepper@cygnus.com>
2115 * iconvdata/Makefile: Better rules to run tests.
2117 * iconvdata/testdata/ISO-8859-1..UTF8: New file.
2118 * iconvdata/testdata/ISO-8859-10: Likewise.
2119 * iconvdata/testdata/ISO-8859-10..UCS2: Likewise.
2120 * iconvdata/testdata/ISO-8859-2: Likewise.
2121 * iconvdata/testdata/ISO-8859-2..UCS4: Likewise.
2122 * iconvdata/testdata/ISO-8859-2..UTF8: Likewise.
2123 * iconvdata/testdata/ISO-8859-3: Likewise.
2124 * iconvdata/testdata/ISO-8859-4: Likewise.
2125 * iconvdata/testdata/ISO-8859-5: Likewise.
2126 * iconvdata/testdata/ISO-8859-6: Likewise.
2127 * iconvdata/testdata/ISO-8859-7: Likewise.
2128 * iconvdata/testdata/ISO-8859-8: Likewise.
2129 * iconvdata/testdata/ISO-8859-9: Likewise.
2131 1998-04-15 Ulrich Drepper <drepper@cygnus.com>
2133 * iconvdata/run-iconv-test.sh: Handle $from..$t file to compare
2134 intermediate result (if available).
2136 * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Fix typo in
2139 * iconvdata/Makefile: Add rules to run run-iconv-test.sh.
2140 (distribute): Add run-iconv-test.sh and testdata/*.
2142 * stdlib/testmb.c (main): Simplify mbc array handling.
2144 1998-04-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2146 * elf/dl-minimal.c (__strtol_internal): Correct range check. Fix
2147 return value on overflow.
2149 1998-04-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2151 * sysdeps/posix/mkstemp.c (mkstemp): Change value and v to 64
2154 1998-04-14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2156 * malloc/mtrace.c (mtrace): Use standard function setvbuf instead
2157 of non-standard function setbuffer.
2159 1998-04-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2161 * stdio-common/perror.c: Include <string.h> for __strerror_r.
2163 1998-04-14 23:54 Ulrich Drepper <drepper@cygnus.com>
2165 * iconvdata/Makefile: Add rules to run tests.
2166 * iconvdata/TESTS: New file.
2167 * iconvdata/run-iconv-test.sh: New file.
2168 * iconvdata/testdata/ISO-8859-1: New file.
2170 * iconv/iconv_prog.c (main): Call process_block with OUTPUT stream,
2173 1998-04-14 18:22 Ulrich Drepper <drepper@cygnus.com>
2175 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
2176 counter element of step.
2178 * iconv/gconv_dl.c: Don't mark get_sym as internal function.
2180 * iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Correct loop
2182 (__gconv_transform_ucs4_utf8): Likewise. Remove unnecessary variable
2184 (__gconv_transform_utf8_ucs4): Correct test for empty input.
2186 1998-04-14 Ulrich Drepper <drepper@cygnus.com>
2188 * Makefile: Include makeconfig before defining rule to regenerate
2191 * configure.in: Remove restriction on compiling without static
2194 1998-04-14 16:34 Ulrich Drepper <drepper@cygnus.com>
2196 * test-skeleton.c: Provide hook for initializing code before the fork.
2197 * rt/tst-aio.c: Use PREPARE hook to make suer temp files are always
2200 * libio/fcloseall.c (__fcloseall): Return return value of _IO_cleanup.
2201 * libio/genops.c (_IO_cleanup): Return return value of _IO_flush_all.
2202 * libio/libioP.h: Adopt _IO_cleanup prototype.
2204 * stdlib/Makefile (tests): Add test-canon2.
2205 * stdlib/test-canon2.c: New file.
2206 * stdlib/canonicalize.c (canonicalize): Allow RESOLVED parameter to
2207 be NULL. Use __lxstat, not __lstat. Correctly recognize long
2209 (__realpath): Make real function which checks RESOLVED parameter for
2212 1998-04-14 Ulrich Drepper <drepper@cygnus.com>
2214 * catgets/open_catalog.c (__open_catalog): Fix problems with
2215 reading non-files. Always close file.
2216 Reported by Cristian Gafton <gafton@redhat.com>.
2218 * elf/dl-minimal.c (__strtol_internal): Prevent overflow warnings.
2220 1998-04-14 13:28 Ulrich Drepper <drepper@cygnus.com>
2222 * libc.map: Add various low-level I/O functions.
2224 1998-04-14 10:35 Ulrich Drepper <drepper@cygnus.com>
2226 * string/Makefile (routines): Remove strerror_r.
2227 * string/strerror_r.c: Removed.
2228 * string/strerror.c: Call __strerror_r for doing the real work.
2229 * sysdeps/generic/_strerror.c: Rename function to __strerror_r and
2230 add weak alias strerror_r.
2231 * sysdeps/mach/_strerror.c: Likewise.
2232 * assert/assert-perr.c: Use __strerror_r instead of _strerror_internal.
2233 * elf/dl-error.c (_dl_signal_error): Likewise.
2234 * elf/dl-profile.c (_dl_start_profile): Likewise.
2235 * gmon/gmon.c (write_gmon): Likewise.
2236 * stdio-common/perror.c: Likewise.
2237 * stdio-common/vfprintf.c: Likewise.
2239 1998-04-10 Mark Kettenis <kettenis@phys.uva.nl>
2241 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
2242 (sysdep_headers): Add netatalk/at.h.
2244 1998-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2246 * manual/socket.texi, manual/creature.texi, manual/time.texi:
2249 1998-04-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2251 * posix/regex.c: Rename __re_syntax_options back to
2252 re_syntax_options, aliases do not work with global variables due
2253 to copy relocations.
2254 (regex_compile): Use syntax parameter instead of
2257 1998-04-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2259 * configure.in: Document that enable-force-install is default.
2261 1998-04-13 Ulrich Drepper <drepper@cygnus.com>
2263 * sysdeps/posix/mktemp.c: Increment `value' in a way which touches
2265 * sysdeps/posix/mkstemp.c: Likewise.
2267 1998-04-13 17:40 Ulrich Drepper <drepper@cygnus.com>
2269 * iconvdata/8bit-gap.c: Simplify step data handling.
2270 * iconvdata/8bit-generic.c: Likewise.
2271 * iconvdata/big5.c: Likewise.
2272 * iconvdata/euccn.c: Likewise.
2273 * iconvdata/eucjp.c: Likewise.
2274 * iconvdata/euckr.c: Likewise.
2275 * iconvdata/euctw.c: Likewise.
2276 * iconvdata/iso6937.c: Likewise.
2277 * iconvdata/iso8859-1.c: Likewise.
2278 * iconvdata/jis0208.h: Likewise.
2279 * iconvdata/jis0212.c: Likewise.
2280 * iconvdata/jis0212.h: Likewise.
2281 * iconvdata/johab.c: Likewise.
2282 * iconvdata/ksc5601.h: Likewise.
2283 * iconvdata/sjis.c: Likewise.
2284 * iconvdata/t61.c: Likewise.
2285 * iconvdata/uhc.c: Likewise.
2287 1998-04-13 16:36 Ulrich Drepper <drepper@cygnus.com>
2289 * manual/texinfo.texi: Updated from last version.
2291 1998-04-13 14:52 Ulrich Drepper <drepper@cygnus.com>
2293 * iconvdata/cns11643.c: New file.
2294 * iconvdata/cns11643.h: New file.
2295 * iconvdata/cns11643l1.c: New file.
2296 * iconvdata/cns11643l1.h: New file.
2297 * iconvdata/euctw.c: New file.
2298 * iconvdata/Makefile: Add rules for EUC-TW and CNS.
2299 * iconvdata/gconv-modules: Likewise.
2301 * iconvdata/eucjp.c: Several bug fixes and improvements.
2302 * iconvdata/gb2312.h: Likewise.
2303 * iconvdata/jis0201.h: Likewise.
2304 * iconvdata/jis0208.h: Likewise.
2305 * iconvdata/jis0212.h: Likewise.
2307 1998-04-13 09:11 Ulrich Drepper <drepper@cygnus.com>
2309 * iconvdata/eucjp.c: New file.
2310 * iconvdata/euccn.c: New file.
2311 * iconvdata/gb2312.h: New file.
2312 * iconvdata/gb2312.c: New file.
2313 * iconvdata/Makefile: Add rules for EUC-JP and EUC-CN.
2314 * iconvdata/gconv-modules: Likewise.
2316 * iconvdata/euckr.c: Use stdint.h instead of inttypes.h.
2318 1998-04-12 Ulrich Drepper <drepper@cygnus.com>
2320 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
2321 (DL_FIND_ARG_COMPONENTS): Always initialize auxv.
2322 Patch by Mark Hatle <fray@kernel.crashing.org>.
2324 1998-04-12 22:47 Philip Blundell <Philip.Blundell@pobox.com>
2326 * sysdeps/unix/sysv/linux/bits/socket.h (PF_APPLETALK): Correct
2328 (PF_AAL5, AF_AAL5): Rename to *_ATMPVC.
2329 (PF_ATMSVC, PF_ECONET, AF_ATMSVC, AF_ECONET): Added.
2331 1998-04-12 Ulrich Drepper <drepper@cygnus.com>
2333 * iconvdata/sjis.c (gconv): Remove superfluous varaible declarations.
2335 * iconvdata/Makefile: Add rules for big5 conversion.
2336 * iconvdata/gconv-modules: Likewise.
2337 * iconvdata/big5.c: New file.
2339 * time/mktime.c (TYPE_MAXIMUM): Add missing cast.
2340 Patch by Jim Meyering.
2342 1998-04-11 Ulrich Drepper <drepper@cygnus.com>
2344 * rt/tst-aio.c: Add test for aio_read and lio_listio.
2346 * rt/lio_listio.c: Correct total counter handling.
2348 * rt/aio_misc.c (handle_fildes_io): Correctly dequeue elements
2351 * test-skeleton.c (main): Make stdout unbuffered. Improve message
2352 of signal on exit even more.
2354 * rt/aio_suspend.c (aio_suspend): Use PTHREAD_COND_INITIALIZER
2355 instead of call to pthread_cond_init.
2356 * rt/lio_listio.c (lio_listio): Likewise.
2357 * rt/lio_listio64.c (lio_listio64): Likewise.
2359 * nis/nis_findserv.c: Include sys/socket.h.
2361 1998-04-11 09:33 Ulrich Drepper <drepper@cygnus.com>
2363 * Makeconfig (rtobjdir): New variable.
2364 (rpath-link): Add rtobjdir and thread directory, if available.
2366 * test-skeleton.c: Add support to remove temporary files.
2367 Always define test_dir. Improve message about expected signal.
2369 * rt/Makefile (tests): Add tst-aio.
2370 Add rules for tst-aio to be linked with librt and thread library.
2371 * rt/aio_misc.c: Correct fundamental bugs.
2372 * rt/aio_suspend.c: Correct bug in test for available request.
2373 Initialize conditional variable.
2374 * rt/lio_listio.c: Initialize conditional variable.
2375 * rt/lio_listio64.c: Likewise.
2376 * rt/tst-aio.c: New file.
2378 * sysdeps/libm-ieee754/s_signgam.c: Undo last change.
2379 * sysdeps/libm-ieee754/w_gamma.c: Likewise. Adopt for ISO C 9x.
2380 * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
2381 * sysdeps/libm-ieee754/w_gammal.c: Likewise.
2382 * sysdeps/libm-ieee754/w_lgamma.c: Likewise.
2383 * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
2384 * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
2386 1998-04-11 14:49 Mark Kettenis <kettenis@landau.phys.uva.nl>
2388 * posix/regex.c [_LIBC] (__re_syntax_options): Initialize to 0.
2390 1998-04-10 Ulrich Drepper <drepper@cygnus.com>
2392 * elf/dl-load.c (open_path): Use correct name for test whether
2393 directory in load path exists.
2395 * sysdeps/libm-ieee754/s_expm1.c: Remove variable one.
2396 * sysdeps/libm-ieee754/e_pow.c: Fix typo.
2397 Patches by Tom Rini <trini@kernel.crashing.org>.
2399 * wcsmbs/wcstof_l.c: Declare ____wcstoull_l_internal.
2400 * wcsmbs/wcstod_l.c: Likewise.
2401 * wcsmbs/wcstold_l.c: Likewise.
2403 * include/byteswap.h: New file.
2405 * malloc/mtrace.c (mtrace): Use smaller output buffer to reduce
2406 .bss segment size. Patch by Joe Keane <jgk@jgk.org>.
2408 * inet/getnameinfo.c (getnameinfo): Change parameter to match
2409 declaration. Patch by Richard Henderson.
2411 1998-04-10 12:40 Zack Weinberg <zack@rabi.phys.columbia.edu>
2413 * manual/process.texi (SIGCHLD example): Save errno.
2415 1998-04-09 Ulrich Drepper <drepper@cygnus.com>
2417 * posix/regex.c: Define regerror really as __regerror.
2418 * posix/regex.h: Add __ protected prototypes for regcomp, regexec,
2419 regerror and regfree.
2421 * stdlib/strtof_l.c: Declare ____strtoull_l_internal.
2422 * stdlib/strtod_l.c: Likewise.
2423 * stdlib/strtold_l.c: Likewise.
2425 * intl/gettextP.h [_LIBC] (SWAP): Use byteswap.h macros.
2427 * sysdeps/i386/i486/bits/string.h: Remove unused variables.
2429 * misc/syslog.c (closelog_internal): Set LogTag to NULL.
2430 Patch by Christian Gafton.
2432 1998-04-09 14:27 Ulrich Drepper <drepper@cygnus.com>
2434 * manual/socket.texi (Interface Naming): Correct @deftypefun line
2437 1998-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2439 * sysdeps/unix/sysv/linux/bits/sockunion.h: Fix error message.
2441 * manual/socket.texi (Interface Naming): Fix typo.
2443 1998-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2445 * manual/examples/filesrv.c (main): Remove filename first.
2447 * manual/socket.texi (Address Formats): Change ?F_LOCAL, ?F_FILE,
2450 * manual/examples/mkfsock.c (make_named_socket): Use PF_LOCAL
2453 * manual/examples/filecli.c (main): Use AF_LOCAL
2456 1998-04-09 Ulrich Drepper <drepper@cygnus.com>
2458 * sysdeps/libm-ieee754/s_signgam.c: Define __signgam and make
2460 * sysdeps/libm-ieee754/w_lgamma.c: Use __signgam not signgam.
2461 * sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
2462 * sysdeps/libm-ieee754/w_lgammal.c: Likewise.
2463 * sysdeps/libm-ieee754/w_gamma.c: Likewise.
2464 * sysdeps/libm-ieee754/w_gammaf.c: Likewise.
2465 * sysdeps/libm-ieee754/w_gammal.c: Likewise.
2467 * login/utmp_daemon.c (open_socket): Use __connect not connect.
2469 1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2471 * configure.in: Add new option --enable-force-install. Substitute
2473 * config.make.in (force-install): Set from configure.
2474 * Makerules (force-install): New phony target.
2475 * Makeconfig (+force): New variable.
2476 * Makefile: Use it in dependency list of installation targets.
2477 * db/Makefile: Likewise.
2478 * db2/Makefile: Likewise.
2479 * elf/Makefile: Likewise.
2480 * hurd/Makefile: Likewise.
2481 * iconv/Makefile: Likewise.
2482 * iconvdata/Makefile: Likewise.
2483 * intl/Makefile: Likewise.
2484 * localedata/Makefile: Likewise.
2485 * login/Makefile: Likewise.
2486 * po/Makefile: Likewise.
2487 * sunrpc/Makefile: Likewise.
2488 * sysdeps/mach/hurd/Makefile: Likewise.
2489 * sysdeps/standalone/i386/force_cpu386/Makefile: Likewise.
2490 * sysdeps/unix/sysv/linux/Makefile: Likewise.
2491 * timezone/Makefile: Likewise.
2493 1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2495 * sysdeps/unix/sysv/linux/getcwd.c: Use PATH_MAX as default
2496 alloc_size. Pass return value of getcwd syscall to realloc.
2498 1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2500 * manual/socket.texi: Spelling fixes.
2502 1998-04-08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2504 * elf/dl-load.c (print_search_path): Remove unused variable.
2506 1998-04-08 Ulrich Drepper <drepper@cygnus.com>
2508 * login/utmp_file.c: use __ftruncate not ftruncate.
2509 * sysdeps/unix/common/syscalls.list: Add __ftruncate as real name
2510 for system call and make ftruncate weak alias.
2511 * posix/unistd.h: Add prototype for __ftruncate.
2512 * login/utmp_daemon.c (open_socket): Use __socket not socket.
2513 * nscd/nscd_getpw_r.c (__nscd_getpw_r): use __snprintf and __readv
2514 instead of snprintf and readv.
2515 * nscd/nscd_getgr_r.c (__nscd_getgr_r): Use __snprintf not
2517 * stdlib/strtod.c: Call strtoull/wcstoull's internal functions
2520 1998-04-08 20:06 Ulrich Drepper <drepper@cygnus.com>
2522 * iconv/gconv_conf.c (__gconv_read_conf): Use __realpath not realpath.
2523 * iconv/gconv_db.c: Use __ protected regex functions.
2524 * iconv/gconv_simple.c: Use __mbsinit not mbsinit.
2525 * posix/getopt_init.c: Use __getpid not getpid.
2526 * posix/regex.c: Rename all global functions to start with __ and
2527 make old names weak aliases.
2528 * posix/regex.h: Adopt prototypes for this.
2529 * stdlib/canonicalize.c: Define __realpath, make canonicalize_file_name
2530 a weak alias and use __getcwd instead of getcwd.
2531 * stdlib/stdlib.h: Declare __realpath and __canonicalize_file_name.
2532 * stdlib/strtod.c: Use __btowc instead of btowc.
2533 * stdlib/strtol.c: Likewise.
2534 * sysdeps/libm-ieee754/s_matherr.c: Weaken definition of matherr.
2535 * sysdeps/unix/sysv/linux/errlist.c: Make sure definitions of sys_nerr
2536 and sys_errlist are weak.
2537 * wcsmbs/btowc.c: Define function as __btowc and make btowc weak alias.
2538 * wcsmbs/mbrtowc.c: Use __mbsinit not mbsinit.
2539 * wcsmbs/mbsnrtowcs.c: Likewise.
2540 * wcsmbs/mbsrtowcs.c: Likewise.
2541 * wcsmbs/wcsnrtombs.c: Likewise.
2542 * wcsmbs/wcsrtombs.c: Likewise.
2543 * wcsmbs/mbsinit.c: Define function as __mbsinit and make mbsinit
2545 * wcsmbs/wchar.h: Declare __btowc and __mbsinit.
2546 * wctype/wctype.c: Define function as __wctype and make wctype
2548 * wctype/wctype.h: Declare __wctype.
2550 1998-04-08 Ulrich Drepper <drepper@cygnus.com>
2552 * stdio-common/vfscanf.c: Perform test in %l[ handling correctly.
2554 1998-04-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2556 * sysdeps/unix/sysv/linux/_G_config.h (_G_stat64): Define to
2558 (_G_OPEN64, _G_LSEEK64, _G_FSTAT64): Use namespace clean
2560 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __lseek64 alias
2562 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2563 * sysdeps/unix/sysv/linux/llseek.c: Likewise.
2564 * sysdeps/generic/lseek64.c (lseek64): Rename to __lseek64, and
2565 make it a weak alias.
2566 * posix/unistd.h: Declare __lseek64.
2568 * libio/fileops.c (fstat) [_LIBC]: Use namespace clean function.
2569 (_IO_file_stat): Fix typo.
2570 (_IO_file_xsgetn): Update fd->_offset. Read a multiple of the
2571 block size from the file. Use __mempcpy if _LIBC.
2573 1998-04-07 20:32 Ulrich Drepper <drepper@cygnus.com>
2575 * wcsmbs/btowc.c: Fix dozends of bugs in untested code.
2576 * wcsmbs/mbrtowc.c: Likewise.
2577 * wcsmbs/mbsnrtowcs.c: Likewise.
2578 * wcsmbs/mbsrtowcs.c: Likewise.
2579 * wcsmbs/wcrtomb.c: Likewise.
2580 * wcsmbs/wcsnrtombs.c: Likewise.
2581 * wcsmbs/wcsrtombs.c: Likewise.
2582 * wcsmbs/wctob.c: Likewise.
2584 * iconv/gconv-simple.c (__gconv_transform_ascii_ucs4): Compute
2585 position of next output character correctly.
2586 (__gconv_transform_ucs4_ascii): Count used input bytes correctly.
2588 * stdio-common/vfprintf.c (vfprintf): Clear state before used.
2590 * stdlib/strtod.c: Don't use mbtowc.
2592 1998-04-07 19:07 H.J. Lu <hjl@gnu.org>
2594 * libio/fileops.c (_IO_file_xsgetn): Call __underflow () when
2595 what we want is smaller than a buffer.
2597 1998-04-07 18:14 Ulrich Drepper <drepper@cygnus.com>
2599 * elf/dl-support.c (_dl_important_hwcaps): Define dummy version of
2602 1998-04-07 Ulrich Drepper <drepper@cygnus.com>
2604 * configure.in: Recognize --with-headers flag and determine
2605 commandline options to be used in compilation.
2606 * Makeconfig (+includes): Use $(sysincludes).
2607 * config.make.in (sysincludes): Define from SYSINCLUDES.
2608 * glibcbug.in: Use SYSINCLUDES information.
2609 Patches by Zack Weinberg.
2611 1998-04-07 19:03 Zack Weinberg <zack@rabi.phys.columbia.edu>
2613 * glibcbug.in: On linux, report version of kernel headers seen
2616 1998-04-07 16:18 Ulrich Drepper <drepper@cygnus.com>
2618 * libc.map: Add __asprintf to GLIBC_2.1.
2619 * elf/dlerror.c: Use __asprintf, not asprintf.
2620 * libio/stdio.h: Declare __asprintf.
2621 * stdio-common/asprintf.c: Define as __asprintf and make asprintf
2624 * elf/dl-minimal.c: Add definition of strtol and strtoul (und friends)
2625 to avoid inclusion from libc_pic.a.
2627 * elf/dl-runtime.c: Undo last patch.
2629 * stdlib/strtod.c: Don't use mbtowc, use btowc.
2631 * sysdeps/i386/dl-machine.h (dl_platform_init): Don't use "i386"
2632 as default, use NULL.
2634 1998-04-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2636 * resolv/Makefile: Include ../Makeconfig - needed for building
2639 1998-04-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2641 * hesiod/Makefile (libnss_hesiod-inhibit-o): Remove condition for
2642 static-nss since we don't want hesiod in the static NSS.
2644 * nss/Makefile: Build only nss_files as static.
2646 * nss/function.def: Remove support for service db.
2648 1998-04-04 09:44 H.J. Lu <hjl@gnu.org>
2650 * Makeconfig (CPPFLAGS-.oS): Add -DPIC.
2652 1998-04-04 18:29 Tim Waugh <tim@cyberelk.demon.co.uk>
2654 * posix/wordexp-test.c: Make IFS per test-case.
2656 1998-04-07 17:50 Zack Weinberg <zack@rabi.phys.columbia.edu>
2658 * glibcbug.in: Report version of gcc in use. Remove unused variable
2661 1998-04-07 Gordon Matzigkeit <gord@profitpress.com>
2663 * aclocal.m4 (LIBC_PROG_BINUTILS): Use `-print-prog-name', not
2664 `-print-file-name' to find as and ld.
2666 1998-04-07 Ulrich Drepper <drepper@cygnus.com>
2668 * sysdeps/posix/mkstemp.c (mkstemp): Correct return value in case
2669 template is wrong. Remove unused varaible `ignored'.
2671 1998-04-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2673 * libc.map: Export __libc_sa_len.
2675 * iconv/gconv_conf.c (MAXPATHLEN): Define correctly.
2677 1998-04-07 08:51 Ulrich Drepper <drepper@cygnus.com>
2679 * iconv/gconv.c: Take care for NULL arguments.
2680 * iconv/gconv_dl.c: Make find_func function global.
2681 * iconv/gconv_int.h: Add prototype for __gconv_find_func.
2682 Add prototypes for ASCII conversion functions.
2683 * iconv/gconv_simple.c: Add ASCII conversion functions.
2684 * locale/C-ctype.c: Correct charset name.
2686 * wcsmbs/Makefile (distribute): Add wcsmbsload.h.
2687 (routines): Remove wmemrtowcs and wmemrtombs, add wcsnlen and
2689 * wcsmbs/btowc.c: Rewrite to use iconv functionality.
2690 * wcsmbs/mbrtowc.c: Likewise.
2691 * wcsmbs/mbsnrtowcs.c: Likewise.
2692 * wcsmbs/mbsrtowcs.c: Likewise.
2693 * wcsmbs/wcrtomb.c: Likewise.
2694 * wcsmbs/wcsnrtombs.c: Likewise.
2695 * wcsmbs/wcsrtombs.c: Likewise.
2696 * wcsmbs/wctob.c: Likewise.
2697 * wcsmbs/wchar.h: Add prototype for __wcslen, wcsnlen. Remove
2698 prototypes for wmemr*.
2699 * wcsmbs/wcslen.c: Rename to __wcslen and make wcslen weak alias.
2700 * wcsmbs/wcsnlen.c: New file.
2701 * wcsmbs/wcsmbsload.c: New file.
2702 * wcsmbs/wcsmbsload.h: New file.
2704 * manual/filesys.texi: Mention risks of tmpnam and mktemp.
2706 * manual/install.texi: Describe some more critical points.
2708 * string/string.h: Add prototype for __strnlen.
2709 * string/strnlen.c: Rename to __strnlen and make strnlen weak alias.
2711 * sysdeps/posix/mktemp.c: Rewrite to allow many more files and
2712 much less predictable names.
2713 * sysdeps/posix/mkstemp.c: Likewise.
2715 1998-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2717 * manual/libc.texinfo (Top): Change "file namespace" to "local
2720 * manual/socket.texi: Change file namespace to local namespace.
2721 (Out-of-Band Data): Remove unneeded variable link.
2722 (Host Address Functions): Use uint32_t consequently and add a
2723 number of clarifications for IPv4/IPv6, classless addresses.
2724 (Internet Namespace): Added some paragraphs about IPv6.
2725 Based on suggestions by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
2727 1998-04-05 Philip Blundell <Philip.Blundell@pobox.com>
2729 Update for draft-ietf-ipngwg-bsd-api-new-01.txt:
2731 * resolv/netdb.h (getnameinfo): Use `socklen_t' not `size_t'.
2732 (NI_NUMERICHOST, et al.): Tidy up and add comments.
2733 (AI_NUMERICHOST): Define.
2734 (getnodebyname): New prototype.
2735 (AI_V4MAPPED, et al.): New constants.
2737 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (SA_LEN): New macro.
2738 * sysdeps/generic/bits/sockaddr.h (SA_LEN): Likewise.
2739 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add sa_len
2741 * sysdeps/unix/sysv/linux/sa_len.c: New file.
2742 * sysdeps/unix/sysv/linux/Dist: Add sa_len.c.
2744 * sysdeps/unix/sysv/linux/bits/socket.h: Make multiple #inclusion safe.
2746 * sysdeps/generic/bits/sockunion.h: New file, defining sockaddr_union.
2747 * sysdeps/unix/sysv/linux/bits/sockunion.h: Likewise.
2748 * socket/Makefile (headers): Add bits/sockunion.h.
2749 * socket/sys/socket.h: Include <bits/sockunion.h>
2750 * inet/netinet/in.h: Include <bits/sockaddr.h> rather than
2751 <sys/socket.h>, to avoid getting sockaddr_union defined.
2752 * sysdeps/generic/bits/socket.h: Allow inclusion from netinet.in.h.
2753 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
2754 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
2756 * sysdeps/unix/sysv/linux/if_index.c: Remove use of SIOCGIFCOUNT
2757 (2.2.x kernels won't have it).
2759 1998-04-06 21:21 Ulrich Drepper <drepper@cygnus.com>
2761 * sysdeps/mach/hurd/bits/ioctls.h: Allow inclusion from hurd/ioctl.h.
2762 * sysdeps/mach/hurd/dl-sysdep.c: Use __ptr_t not caddr_t.
2763 * iconv/gconv_conf.c: Define MAXPATHLEN if not available before.
2764 Patches by UCHIYAMA Yasushi <uch@nop.or.jp>.
2766 1998-04-05 Philip Blundell <Philip.Blundell@pobox.com>
2768 * manual/socket.texi (Socket Addresses): Fix a typo.
2769 (Interface Naming): New section.
2771 1998-04-05 23:29 Zack Weinberg <zack@rabi.phys.columbia.edu>
2773 * configure.in: Check for CC using $ac_tool_prefix, to handle
2774 cross-compilation. Use AC_CHECK_TOOL to find MiG.
2775 * config.make.in: Add MIG to be substituted.
2776 * mach/Machrules: Don't define MIG variable.
2778 Patch by Gordon Matzigkeit <gord@profitpress.com>.
2780 1998-04-05 Mark Kettenis <kettenis@phys.uva.nl>
2782 * elf/dl-load.c (decompose_rpath): Use local_strdup instead of
2783 strdupa to copy rpath.
2785 1998-04-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2787 * configure.in: Fix gcc version check.
2789 * aclocal.m4 (AC_PROG_CHECK_VER): Rewritten to make less
2792 1998-03-31 Mark Kettenis <kettenis@phys.uva.nl>
2794 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Call __ptsname_r instead
2797 * stdlib/stdlib.h: Change prototype of ptsname_r to make it more
2799 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Likewise.
2800 * sysdeps/generic/ptsname.c (__ptsname_r): Likewise.
2801 * sysdeps/unix/grantpt.c (grantpt): Change check of return value
2802 of __ptsname_r accordingly.
2803 * login/openpty.c (openpty): Likewise.
2805 1998-06-04 18:47 H.J. Lu <hjl@gnu.org>
2807 * libio/fileops.c (_IO_file_xsgetn): Adjust pointers.
2809 1998-04-06 13:58 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2811 * Makeconfig (libtypes): Redo H.J. Lu's change of 1998-03-27.
2813 * Makerules: Re-add missing rule for $(objpfx)stamp.oS.
2815 1998-04-06 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2817 * nis/ypclnt.c: Don't give YPERR_RPC back, use the do_ypcall
2818 return value for better error checking.
2820 1998-04-06 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
2822 * elf/dl-runtime.c (fixup, profile_fixup): The final arg to
2823 _dl_lookup_*symbol is DL_LOOKUP_NOPLT not ELF_MACHINE_JMP_SLOT.
2825 * elf/elf.h (EM_SPARC64): Remove.
2826 (EM_SPARC32PLUS, EM_SPARCV9): Add.
2827 (HWCAP_SPARC_V9): Add.
2829 * elf/ldsodefs.h (_dl_hwcap): Declare.
2830 * sysdeps/sparc/sparc32/dl-machine.h (_dl_hwcap, _dl_hwcap_mask):
2831 Weaken so dlopen from static progies works.
2832 (WEAKADDR): New macro.
2833 (elf_machine_matches_host): Accept EM_SPARC32PLUS on a v9 cpu.
2834 (LD_SO_PRELOAD): New macro.
2835 (elf_machine_fixup_plt): Cope with weak _dl_hwcap.
2836 (elf_machine_rela): Weaken _dl_rtld_map.
2838 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Rename __libc_clone
2839 to __clone, and remove the later's alias.
2840 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
2842 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Copy to/from
2843 the kernel's structure.
2845 * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: New file.
2846 Sparc needs a custom value of __KERNEL_NCCS.
2848 1998-04-06 Richard Henderson <rth@cygnus.com>
2850 * sysdeps/generic/libc-start.c: Allow init and fini to be null.
2852 * sysdeps/sparc/sparc32/elf/start.S: Rewrite for __libc_start_main.
2853 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2855 1998-04-06 Richard Henderson <rth@cygnus.com>
2857 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Revert 03-01 change,
2858 as the buffer is not properly aligned.
2859 Reported by Juan Cespedes <cespedes@debian.org>.
2861 1998-04-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2863 * manual/examples/mkfsock.c (make_named_socket): Use AF_LOCAL
2866 1998-04-05 Ulrich Drepper <drepper@cygnus.com>
2868 * iconv/gconv_simple.c: Rewrite to not make use of the mb*towc*
2869 and wc*tomb* functions.
2871 1998-04-04 15:16 Philip Blundell <Philip.Blundell@pobox.com>
2873 * sysdeps/unix/start.c: Fix typo.
2875 1998-04-04 Ulrich Drepper <drepper@cygnus.com>
2877 * iconv/gconv_db.c (__gconv_find_transform): Fix typo.
2879 1998-04-03 23:38 Ulrich Drepper <drepper@cygnus.com>
2881 * sysdeps/libm-ieee754/e_acos.c: Optimize by splitting large
2882 expressions and using array variables.
2883 * sysdeps/libm-ieee754/e_asin.c: Likewise.
2884 * sysdeps/libm-ieee754/e_j0.c: Likewise.
2885 * sysdeps/libm-ieee754/e_j1.c: Likewise.
2886 * sysdeps/libm-ieee754/e_log.c: Likewise.
2887 * sysdeps/libm-ieee754/e_pow.c: Likewise.
2888 * sysdeps/libm-ieee754/k_cos.c: Likewise.
2889 * sysdeps/libm-ieee754/k_sin.c: Likewise.
2890 * sysdeps/libm-ieee754/k_tan.c: Likewise.
2891 * sysdeps/libm-ieee754/s_atan.c: Likewise.
2892 * sysdeps/libm-ieee754/s_erf.c: Likewise.
2893 * sysdeps/libm-ieee754/s_expm1.c: Likewise.
2894 * sysdeps/libm-ieee754/s_log1p.c: Likewise.
2895 Patch by Naohiko Shimizu <nshimizu@et.u-tokai.ac.jp>.
2897 1998-04-03 23:17 Ulrich Drepper <drepper@cygnus.com>
2899 * iconv/gconv.c: Rewrite of the low-level of gconv.
2900 * iconv/gconv.h: Likewise.
2901 * iconv/gconv_builtin.h: Likewise.
2902 * iconv/gconv_close.c: Likewise.
2903 * iconv/gconv_db.: Likewise.
2904 * iconv/gconv_dl.c: Likewise.
2905 * iconv/gconv_int.h: Likewise.
2906 * iconv/gconv_open.c: Likewise.
2907 * iconv/gconv_simple.c: Likewise.
2908 * iconvdata/8bit-gap.c: Adapt for rewrite.
2909 * iconvdata/8bit-generic.c: Likewise.
2910 * iconvdata/euckr.c: Likewise.
2911 * iconvdata/iso646.c: Likewise.
2912 * iconvdata/iso6937.c: Likewise.
2913 * iconvdata/iso8859-1.c: Likewise.
2914 * iconvdata/johab.c: Likewise.
2915 * iconvdata/sjis.c: Likewise.
2916 * iconvdata/t61.c: Likewise.
2917 * iconvdata/uhc.c: Likewise.
2919 1998-04-03 15:34 Ulrich Drepper <drepper@cygnus.com>
2921 * iconv/gconv_int.h: New file. Internal header.
2922 * iconv/Makefile (distribute): Add gconv_int.h.
2923 * iconv/gconv.h: Remove definition which are now in gconv_int.h.
2924 * iconv/gconv_builtin.c: Adopt for gconv_int.h introduction.
2925 * iconv/gconv_close.c: Likewise.
2926 * iconv/gconv_conf.c: Likewise.
2927 * iconv/gconv_db.c: Likewise.
2928 * iconv/gconv_dl.c: Likewise.
2929 * iconv/gconv_int.h: Likewise.
2930 * iconv/gconv_open.c: Likewise.
2931 * iconv/iconv.c: Likewise.
2932 * iconv/iconv_close.c: Likewise.
2933 * iconv/iconv_open.c: Likewise.
2934 * iconv/iconv_prog.c: Likewise.
2936 1998-04-03 Ulrich Drepper <drepper@cygnus.com>
2938 * iconvdata/ksc5601.c: Correct Perl scripts and make them omit the
2941 1998-04-03 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
2943 * nis/nis_table.c (nis_list): Fix FOLLOW_PATH and ALL_RESULTS flags.
2945 1998-04-03 16:29 Philip Blundell <pb@nexus.co.uk>
2947 Based on patch from Pat Beirne:
2948 * sysdeps/unix/sysv/linux/arm/sysdep.S (__syscall_error): Same for
2949 PIC and non-PIC now. Correctly negate error number.
2950 (errno): Use `%' not `@' in .type directives.
2952 1998-04-03 Ulrich Drepper <drepper@cygnus.com>
2954 * sysdeps/i386/strtok.S: Change to use single exit point.
2955 * sysdeps/i386/i686/strtok.S: Likewise.
2957 1998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2959 * sysdeps/generic/dl-procinfo.h (_dl_hwcap_string): Provide
2962 1998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2964 * Makerules (installed-libcs): Fix typo.
2966 1998-04-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2968 * iconvdata/Makefile ($(objpfx)UHC.so): Link against libKSC.
2969 (UHC-routines): Remove ksc5601.
2971 1998-04-03 16:29 Philip Blundell <pb@nexus.co.uk>
2973 * sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Fix typo
2974 introduced in last change.
2976 1998-04-03 06:22 Ulrich Drepper <drepper@cygnus.com>
2978 * sysdeps/unix/sysv/linux/getcwd.c: Make compilable with kernels
2981 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
2983 * sysdeps/unix/sysv/linux/syscalls.list: Add s_getcwd entry.
2985 * stdlib/isomac.c: Use -isystem instead of -I for system include
2988 1998-03-30 08:05 H.J. Lu <hjl@gnu.org>
2990 * resolv/res_comp.c (underscorechar): New.
2991 (middlechar): Allow '_'.
2993 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
2995 * intl/explodename.c (stdlib.h): Include that file only if
2996 STDC_HEADERS or _LIBC.
2997 (string.h): Include that file only if HAVE_STRING_H or _LIBC.
2998 Patch by Philippe De Muyter <phdm@macqel.be>.
3000 1998-04-01 21:08 Zack Weinberg <zack@rabi.phys.columbia.edu>
3002 * aclocal.m4 (AC_PROG_CC_LOCAL): Remove superfluous tests.
3003 (AC_PROG_CHECK_VER): New macro.
3004 * configure.in: Use AC_PROG_CHECK_VER to check versions of
3005 gcc, gmake, msgfmt, makeinfo. Remove superfluous tests.
3007 1998-04-02 15:13 Ulrich Drepper <drepper@cygnus.com>
3009 * sysdeps/unix/sysv/linux/i386/i686/sysdep.h: New file.
3010 * sysdeps/i386/i686/strtok.S: New file
3011 * sysdeps/i386/i686/strtok_r.S: New file
3013 1998-04-02 Mark Kettenis <kettenis@phys.uva.nl>
3015 * posix/unistd.h: [__USE_FILE_OFFSET64] (lseek): Change return
3017 * libio/stdio.h [__USE_FILE_OFFSET64] (fseeko): Declare offset
3018 parameter as __off64_t instead of __off_t.
3019 (ftello): Make alias for ftello64 instead of ftello. Change
3020 return type to __off64_t.
3022 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
3024 * sysdeps/i386/bits/string.h: Fix various typos.
3025 Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.
3027 * sysdeps/unix/sysv/linux/getcwd.c: Use getcwd syscall in Linux 2.1.92.
3029 1998-04-02 Ulrich Drepper <drepper@cygnus.com>
3031 * sysdeps/unix/sysv/linux/i386/chown.c: Handle old kernels without
3032 lchown syscall correctly. [PR libc/541].
3034 1998-04-02 11:45 Ulrich Drepper <drepper@cygnus.com>
3036 * localedata/Makefile: Correct testsuite rules.
3038 * iconvdata/gconv-modules: Set cost of ISO646 module to 2.
3039 * iconvdata/iso646.c: Fix conversion from UCS4.
3041 * elf/ldsodefs.h: Mark internal function with internal_function.
3042 * elf/dl-addr.c: Likewise.
3043 * elf/dl-close.c: Likewise.
3044 * elf/dl-debug.c: Likewise.
3045 * elf/dl-deps.c: Likewise.
3046 * elf/dl-error.c: Likewise.
3047 * elf/dl-fini.c: Likewise.
3048 * elf/dl-init.c: Likewise.
3049 * elf/dl-load.c: Likewise.
3050 * elf/dl-lookup.c: Likewise.
3051 * elf/dl-object.c: Likewise.
3052 * elf/dl-open.c: Likewise.
3053 * elf/dl-profile.c: Likewise.
3054 * elf/dl-reloc.c: Likewise.
3055 * elf/dl-runtime.c: Likewise.
3056 * elf/dl-symbol.c: Likewise.
3057 * elf/dl-version.c: Likewise.
3058 * elf/dlerror.c: Likewise.
3059 * sysdeps/generic/dl-sysdep.c: Likewise.
3060 * sysdeps/i386/dl-machine.h: Likewise.
3061 * intl/finddomain.c: Likewise.
3062 * intl/gettextP.h: Likewise.
3063 * intl/loadmsgcat.c: Likewise.
3065 1998-04-01 17:38 Ulrich Drepper <drepper@cygnus.com>
3067 * iconv/gconv_simple.c: New builtins for UCS en/decoding.
3068 * iconv/gconv_builtin.h: Add definitions for new builtins.
3069 * iconv/gconv.h: Add prototypes for new builtins.
3071 * iconvdata/Makefile (modules): Add ISO646.
3072 Add rules for ISO646 module.
3073 (distribute): Add iso646.c.
3074 * iconvdata/gconv-modules: Add module and alias definition for
3076 * iconvdata/iso646.c: New file.
3078 1998-04-01 16:10 Ulrich Drepper <drepper@cygnus.com>
3080 * libc.map: Add __gconv_alias_db, __gconv_nmodules, __gconv_modules_db.
3081 * iconv/iconv_prog.c: Implement --list option to print available
3082 coded character sets.
3084 1998-04-01 18:10 Zack Weinberg <zack@rabi.phys.columbia.edu>
3086 Make fread() read large blocks straight to the user buffer.
3088 * libio/fileops.c (_IO_file_xsgetn): New function.
3089 (_IO_file_jumps): Use it.
3090 * libio/libioP.h: Prototype it.
3092 1998-04-01 Ulrich Drepper <drepper@cygnus.com>
3094 * iconv/gconv_conf.c (builtin_aliases): New variable.
3095 (__gconv_read_conf): Add builtin aliases.
3096 * iconv/gconv_builtin.c (builtin_map): Define BUILTIN_ALIAS as an
3097 noop macro before including gconv_builtin.h.
3098 * iconv/gconv_builtin.h: Add alias names.
3100 * iconv/gconv_simple.c (__gconv_transform_ucs4_utf8): Compute
3101 number of converted bytes correctly.
3103 1998-04-01 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3105 * sunrpc/clnt_udp.c (clntudp_call): Don't check the xid if
3106 we only wait for a replay.
3108 1998-04-01 Ulrich Drepper <drepper@cygnus.com>
3110 * iconvdata/Makefile: Finally fix dependencies for JOHAB and
3113 1998-04-1 16:52 Philip Blundell <pb@nexus.co.uk>
3115 * sysdeps/unix/sysv/linux/arm/socket.S: Correct test for error and
3116 use PLTJMP() rather than explicit (PLT).
3118 * sysdeps/arm/elf/start.S: Leave most of the initialisation for
3119 __libc_start_main().
3121 Based on patch from Pat Beirne:
3122 * sysdeps/unix/sysv/linux/arm/sysdep.h (SYSCALL_ERROR_HANDLER):
3123 Always define, not only #ifndef PIC.
3124 (DO_CALL): Pass fifth argument correctly in R4.
3125 (PSEUDO): Correct test for error, call syscall_error through PLT
3128 1998-03-31 10:51 Philip Blundell <pb@nexus.co.uk>
3130 * sysdeps/unix/sysv/linux/netash/ash.h: Fix typos and add new
3133 1998-04-01 Ulrich Drepper <drepper@cygnus.com>
3135 * iconvdata/Makefile: Remove extra dependencies for EUC-KR.so and
3138 1998-04-01 13:20 Mark Kettenis <kettenis@phys.uva.nl>
3140 * io/Makefile (static-only-routines): Add stat64, fstat64 and
3143 1998-03-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3145 * manual/Makefile: Use object-suffixes-for-libc instead of
3147 * rpm/Makefile (install-lib): Likewise.
3149 1998-03-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3151 * sysdeps/unix/sysv/linux/lddlibc4.c: Fix OB1 bug.
3153 * sysdeps/unix/sysv/linux/configure.in: Match $machine against
3154 `m68*', not only `m68k'.
3156 1998-04-01 10:50 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3158 * sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file.
3160 * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir)=elf]: Build and
3163 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
3165 * iconvdata/Makefile: Use libKSC shared object in JOHAB and
3168 * sysdeps/unix/sysv/linux/bits/socket.h (PF_FILE): Correct
3171 1998-03-30 08:43 H.J. Lu <hjl@gnu.org>
3173 * sysdeps/alpha/elf/start.S: Let __libc_start_main do most of
3176 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
3178 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Wrapper for
3180 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
3182 Patches by Dominik Kubla <kubla@sundiver.zdv.uni-mainz.de>.
3184 1998-03-31 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3186 * Makerules (install): Change comment for libc.so following the
3187 libc_nonshared changes.
3189 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
3191 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix typo.
3193 * iconvdata/gap.pl: Avoid using %#06x.
3195 1998-03-31 19:55 Zack Weinberg <zack@rabi.phys.columbia.edu>
3197 * Makerules: Use $? instead of S^ when invoking ar.
3199 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
3201 * db2/compat.h: Allow EFTYPE being defined.
3202 * sysdeps/unix/bsd/bits/signum.h: Add definition for SIG_HOLD.
3203 * sysdeps/unix/bsd/ulimit.c: Include <ulimit.h>.
3204 * sysdeps/mach/hurd/bits/fcntl.h: Add O_LARGEFILE.
3205 * sysdeps/mach/bits/libc-lock.h: Fix typo.
3206 (__libc_once): Correctly unlock semaphore.
3207 * sysdeps/mach/hurd/dl-sysdep.c: Include <elf/ldsodefs.h>.
3208 * sysdeps/unix/bsd/getpt.c: Fix typo.
3209 Patches by UCHIYAMA Yasushi <uch@ddd.scei.sony.co.jp>.
3211 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
3213 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_*): Also define as
3216 1998-03-31 18:11 Ulrich Drepper <drepper@cygnus.com>
3218 * include/mntent.h: New file.
3220 * elf/Makefile (trusted-dirs.h): Append slash to filename.
3221 * elf/dl-load.c: Rewrite search path handling.
3222 * elf/ldsodefs.h (struct r_search_path_elem): Change for rewrite.
3223 * elf/rtld.c (process_envvars): Recognize LD_HWCAP_MASK.
3224 * sysdeps/generic/dl-sysdep.h (_dl_important_hwcap): New function.
3225 * elf/ldsodefs.h: Add prototype.
3227 1998-03-30 Ulrich Drepper <drepper@cygnus.com>
3229 * nss/nsswitch.c (__nss_lookup): Adjust comment.
3231 * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): New
3234 * sysdeps/generic/dl-procinfo.h (HWCAP_IMPORTANT): New definition.
3236 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_hwcap_string):
3238 (HWCAP_IMPORTANT): New definition.
3240 1998-03-30 17:26 H.J. Lu <hjl@gnu.org>
3242 * elf/dl-open.c (_dl_open): Fix a typo.
3243 (_dl_global_scope_alloc): Make it static.
3245 1998-03-30 17:20 Ulrich Drepper <drepper@cygnus.com>
3247 * Makerules: Remove duplicate rules to handle stamp.oS.
3249 1998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3251 * manual/examples/inetsrv.c (main): Change prototype of
3252 make_socket following change in mkisock.c.
3254 * manual/examples/inetcli.c (SERVERHOST): Use mescaline.gnu.org as
3256 (main): Change prototype of init_sockaddr following change in
3259 * manual/examples/mkisock.c (make_socket): Use uint16_t for port.
3260 * manual/examples/isockad.c (init_sockaddr): Likewise.
3262 * manual/examples/mkfsock.c (make_named_socket): Removed blank
3263 lines for clarification.
3264 (make_named_socket): Use strncpy instead of strcpy.
3265 Reported by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.
3267 1998-03-30 13:28 Ulrich Drepper <drepper@cygnus.com>
3269 * Makefile (parent-mostlyclean): Use object-suffixes-for-libc for
3270 determining libs to remove.
3271 (postclean): Add soversions.mk.
3272 * Makerules (common-mostlyclean): Add tests-static and generated
3275 1998-03-30 12:53 Ulrich Drepper <drepper@cygnus.com>
3277 * sysdeps/i386/i486/bits/string.h (__strcat_c) [__i686__]: Correct
3279 (__strncat_g): Add i686 specific code.
3281 1998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3283 * manual/install.texi (Reporting Bugs): Ask to include section
3286 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3288 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Emit
3289 guard against direct inclusion.
3291 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3293 Rework support for libc_nonshared.a:
3294 * Makeconfig (object-suffixes-for-libc): New variable.
3295 * Rules: Remove handling of static-only and shared-only routines.
3296 * Makerules: Handle them here instead. Use
3297 object-suffixes-for-libc instead of object-suffixes when dealing
3299 (object-suffixes-for-rules): Remove variable.
3300 (elide-routines.oS): Elide all routines except static-only
3302 ($(objpfx)stamp.oS): Special rule for when static-only-routines is
3304 (installed-libcs): Remove special case for .oS.
3307 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3309 * Makefile (do-collate-test, do-xfrm-test, do-tst-fmon,
3310 do-tst-rpmatch): New targets.
3312 (install-locales): Ignore comment lines.
3314 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3316 * elf/Makefile ($(objpfx)ld.so): Depend on version script.
3317 ($(objpfx)trusted-dirs.h): Depend also on $(..)Makeconfig.
3318 ($(objpfx)rtldtbl.h): Likewise.
3319 (CPPFLAGS-dl-load.c): Fix reference to object directory.
3321 1998-03-30 09:36 Ulrich Drepper <drepper@cygnus.com>
3323 * manual/string.texi (Finding Tokens in a String): Extend strsep
3324 description and correct example.
3326 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3328 * manual/socket.texi: Remove misguided explicit line breaks and
3329 fix the formatting problem instead by reformulating the
3331 * manual/filesys.texi: Likewise.
3332 * manual/conf.texi: Likewise. Don't typeset table with index
3333 fonts, that looks worse than a minimally overfull line.
3335 1998-03-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3337 * nscd/Makefile (nscd-modules): Move definition outside of
3340 * pwd/Makefile: Use have-thread-library to test for thread
3343 1998-03-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3345 * nss/getXXent_r.c (INTERNAL): Remove unused variable current_nip.
3347 * iconvdata/uhc.c (gconv): Remove unused variable idx.
3349 1998-03-30 Ulrich Drepper <drepper@cygnus.com>
3351 * sysdeps/unix/sysv/linux/Dist: Add lddlibc4.c.
3353 1998-03-29 Ulrich Drepper <drepper@cygnus.com>
3355 * nss/getXXent_r.c: Correctly handle failing setXXent function.
3357 * inet/netinet/in.h: Use cast to uint32_t in IPv4 macros.
3358 Reported by Andreas Jaeger.
3360 1998-03-29 20:59 Ulrich Drepper <drepper@cygnus.com>
3362 * elf/Makefile: Fix typo.
3363 (distribute): Add dl-librecon.h.
3364 * elf/ldd.bash.in: Collect output of ldd --verify in verify_out.
3365 * elf/ldd.sh.in: Likewise.
3366 * elf/ldsodefs.h: Declare _dl_correct_cache_id.
3367 * elf/rtld.c (dl_main): In --verify mode allow platform specifc action.
3368 Use strsep correctly.
3369 (process_envvars): Allow platform specific variables.
3370 * sysdeps/generic/dl-cache.c (_dl_correct_cache_id): New variable.
3371 (_dl_load_cache_lookup): Test cache IDs found against
3372 _dl_correct_cache_id.
3373 * sysdeps/generic/dl-librecon.h: New file.
3374 * sysdeps/unix/sysv/linux/dl-librecon.h: New file.
3376 * sysdeps/unix/sysv/linux/lddlibc4.c: Include error.h.
3378 1998-03-29 16:50 Ulrich Drepper <drepper@cygnus.com>
3380 * config.make.in (ldd-rewrite-script): New variable.
3381 * configure.in: Substitute ldd-rewrite-script.
3382 * elf/Makefile: Rewrite rules to generate ldd script.
3383 * elf/ldd.bash.in: Allow handling of non-ELF binaries.
3384 * elf/ldd.sh.in: Likewise.
3385 * sysdeps/unix/sysv/linux/Makefile: Remove rule to install lddlibc4.
3386 * sysdeps/unix/sysv/linux/configure.in: Define ldd_rewrite_script to
3387 point to sed script for libc4 handling insertion for ix86, m68, SPARC.
3388 * sysdeps/unix/sysv/linux/i386/Makefile: Add rule to install lddlibc4.
3389 * sysdeps/unix/sysv/linux/ldd-rewrite.sed: New file.
3391 1998-03-26 15:20 Zack Weinberg <zack@rabi.phys.columbia.edu>
3393 * inet/rcmd.c (iruserok): Remain setuid to the local user
3394 while .rhosts is actually read, to make .rhosts-over-NFS work
3395 (PR libc/524). Use iruserfopen() for security checks on both
3396 hosts.equiv and .rhosts. General cleanup.
3397 (iruserfopen): New function, performs careful checking on
3398 hosts.equiv/.rhosts files. Disallows all the old forbidden
3399 stuff plus hard links to files.
3401 1998-03-29 09:26 Ulrich Drepper <drepper@cygnus.com>
3403 * setjmp/tst-setjmp.c: Don't test __setjmp, test _setjmp instead.
3405 * nss/getXXent_r.c (REENTRANT_GETNAME): Avoid endless loop.
3407 1998-03-29 02:02 H.J. Lu <hjl@gnu.org>
3409 * sysdeps/i386/i486/bits/string.h: Fix typos.
3411 1998-03-28 00:13 H.J. Lu <hjl@gnu.org>
3413 * sysdeps/unix/sysv/linux/alpha/readdir.c (__readdir64): New
3416 * sysdeps/unix/sysv/linux/alpha/syscalls.list (socket): Added.
3418 * libc.map (__ieee_get_fp_control, __ieee_set_fp_control):
3419 Added. Used by libm.so on alpha.
3421 1998-03-28 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3423 * intl/bindtextdom.c [_LIBC]: Define strdup only if not yet
3426 1998-03-27 07:29 H.J. Lu <hjl@gnu.org>
3428 * Makerules (object-suffixes-for-rules): Add .oS only for
3429 building shared library.
3430 Add ranlib rule for nonshared library.
3433 * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): Moved
3434 into for shared library only.
3435 (CPPFLAGS-.oS): Add -DPIC.
3436 (libtypes): Use $(object-suffixes-for-rules) instead of
3439 1998-03-28 Ulrich Drepper <drepper@cygnus.com>
3441 * sysdeps/unix/sysv/linux/Makefile (inhibit-stdio_lim): Compile
3442 and install lddlibc4.
3444 1998-03-28 09:13 Zack Weinberg <zack@rabi.phys.columbia.edu>
3446 * iconvdata/gap.pl: Gobble rest of line with a scalar, not a
3448 * iconvdata/gaptab.pl: Likewise.
3450 1998-03-27 22:46 Ulrich Drepper <drepper@cygnus.com>
3452 * Rules: Allow Makefiles to specify test-static for tests which
3453 cannot be linked dynamically.
3454 * math/Makefile: Move atest-exp, atest-sincos, atest-exp2 to
3457 * libc.map: Add __nss_passwd_lookup, __nss_group_lookup, __nss_next.
3459 * misc/error.c: Pretty print.
3461 1998-03-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3463 * Makerules (libc_nonshared-name): Remove variable.
3464 (installed-libcs): Use libc-name instead.
3465 ($(inst_libdir)/libc.so): Likewise. Remove explicit reference to
3468 * Makeconfig (link-libc): Link against libc_nonshared.a instead of
3469 libc.a. Remove explicit reference to dynamic linker.
3471 1998-03-27 Ulrich Drepper <drepper@cygnus.com>
3473 * iconvdata/iso8859-1.c (gconv): Add cast to assignment from char
3475 * iconv/iconv_prog.c: Correctly test for write failure.
3476 * iconvdata/Makefile: Add rules for EUC-KR, UHC, and JOHAB conversions.
3477 * iconvdata/gconv-modules: Likewise.
3478 * iconvdata/euckr.c: New file.
3479 * iconvdata/johab.c: New file.
3480 * iconvdata/ksc5601.c: New file.
3481 * iconvdata/ksc5601.h: New file.
3482 * iconvdata/uhc.c: New file.
3483 Contributed by Jungshik Shin <jshin@pantheon.yale.edu>.
3485 * libio/fileops.c (_IO_file_fopen): Interpret x flag to fopen.
3486 * stdio/fopen.c: Correct handling of 'x' flag.
3487 Reported by Jason M. Petry <jason@ps.ohio-state.edu>.
3489 1998-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3491 * sunrpc/rpc/key_prot.h: Prevent warning by unknown pragma ident.
3492 * sunrpc/rpcsvc/key_prot.x: Likewise.
3493 * sunrpc/key_prot.c: Likewise.
3495 1998-03-27 13:49 Ulrich Drepper <drepper@cygnus.com>
3497 * sysdeps/i386/bits/string.h: Correct things which never worked.
3498 * sysdeps/i386/i486/bits/string.h: Add clobber marks.
3499 Patches by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.
3501 1998-03-27 Ulrich Drepper <drepper@cygnus.com>
3503 * intl/textdomain.c [_LIBC]: Define strdup only if not yet
3504 defined. Reported by Thorsten Kukuk.
3506 1998-03-26 18:50 Ulrich Drepper <drepper@cygnus.com>
3508 * sysdeps/unix/sysv/linux/lddlibc4.c: New file.
3510 1998-03-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3512 * manual/install.texi (Supported Configurations): Add
3513 arm-linuxaout and arm-none.
3515 1998-03-26 Ulrich Drepper <drepper@cygnus.com>
3517 * version.h (VERSION): Bump to 2.0.93.
3519 1998-03-25 07:30 H.J. Lu <hjl@gnu.org>
3521 * configure.in (libc_cv_ar_S): New to indicate if ar S works.
3523 * config.make.in (have-ar-S): New, substituted by libc_cv_ar_S.
3525 * Makerules (CREATE_ARFLAGS): New determined by $(have-ar-S).
3526 (do-ar, build-extra-lib): Use $(CREATE_ARFLAGS) for $(AR).
3528 1998-03-26 Ulrich Drepper <drepper@cygnus.com>
3530 * Makeconfig (link-libc): Add missing use of libc_nonshared.a.
3532 1998-03-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3534 Put the static-only routines in a separate library.
3535 * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): New
3537 (all-object-suffixes): Add .oS.
3538 * Makerules (libc_static-name): New variable.
3539 (installed-libcs): Add libc_nonshared.a.
3540 ($(inst_libdir)/libc.so): Use libc_nonshared.a instead of libc.a.
3541 (object-suffixes-for-rules): New variable. Use it instead of
3542 object-suffixes for generating compilation rules.
3543 (rmobjs): Also remove *.oS.
3544 * Rules (subdir_lib): Depend on $(objpfx)stamp.oS.
3545 ($(objpfx)stamp.oS): New target.
3547 1998-03-26 Ulrich Drepper <drepper@cygnus.com>
3549 * Makefile (FAQ): Automatically check in regenerated FAQ.
3551 1998-03-26 10:16 Zack Weinberg <zack@rabi.phys.columbia.edu>
3553 * Makefile (INSTALL): Depend on install.texi, not maint.texi.
3555 1998-03-25 Ulrich Drepper <drepper@cygnus.com>
3557 * sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add sizes.h.
3558 * sysdeps/unix/sysv/linux/alpha/Dist: Likewise.
3560 * sysdeps/generic/stub_warning: Removed.
3562 * Makefile (distribute): Add include/des.h.
3564 * manual/Makefile (distribute): Change dir-add.texi to
3567 * glibcbug.in: Create files safely when mktemp is not available.
3569 * sysdeps/unix/sysv/linux/adjtime.c: Make weak alias appear again.
3570 Patch by a sun <asun@saul1.u.washington.edu>.
3572 1998-03-25 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3574 * libc.map: Rename getname to getnetname.
3576 1998-03-25 13:35 Ulrich Drepper <drepper@cygnus.com>
3578 * manual/maint.texi: Use supported platform in examples.
3580 * manual/install.texi: Document some installation tips.
3582 1998-03-25 10:56 Ulrich Drepper <drepper@cygnus.com>
3584 * posix/wordexp.c: Fix some memory leaks and makes $* more efficient.
3585 Fix a bug so that it returns an error if a numeric parameter is
3586 unset and WRDE_UNDEF is set.
3587 Patch by Andreas Schwab and Tim Waugh.
3588 * posix/wordexp-test.c: Add new new test.
3590 1998-03-25 Ulrich Drepper <drepper@cygnus.com>
3592 * posix/regex.c (regex_compile): Last patch wasn't entirely
3593 correct. Patch by Alain Magloire <alainm@rcsm.ece.mcgill.ca>.
3595 1998-03-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3597 * manual/filesys.texi (Scanning Directory Content): Fix typo.
3599 1998-03-25 09:24 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
3601 * sysdeps/i386/bits/string.h: Fix all assembler statements so that
3602 clobbered registers don't appear as operands.
3604 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
3606 * posix/regex.c: Undefine ISASCII and ISPRINT before defining for
3609 * posix/regex.c (regex_compile): Don't allow non-alphabet
3610 characters in character set name.
3612 1998-03-25 00:00 Tim Waugh <tim@cyberelk.demon.co.uk>
3614 * posix/wordexp.c (w_newword): New function.
3615 (do_parse_glob): New function.
3616 (parse_glob): Use do_parse_glob. Now handles the case where a
3617 variable expansion causes a field-split.
3618 (wordexp): Use w_newword.
3619 (parse_arith): Likewise.
3620 (exec_comm): Likewise.
3621 (parse_comm): Likewise.
3622 (parse_param): Likewise.
3623 (parse_backtick): Likewise.
3625 1998-03-24 19:36 Tim Waugh <tim@cyberelk.demon.co.uk>
3627 * posix/wordexp-tst.sh: Another test.
3629 * posix/wordexp-test.c: Two new tests.
3631 * posix/wordexp.c (parse_glob): Use w_addstr instead of realloc
3632 directly (the code using realloc was buggy).
3633 (parse_param): Fix typo in comment.
3635 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
3637 * elf/dl-close.c (_dl_close): Replace questionable memcpy by loop.
3639 1998-03-24 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
3641 * libc.map: Add more rpc auth functions/variables.
3643 * nscd/nscd.c: Add -g option to argp options.
3645 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
3647 * configure.in: Be prepared for gcc 2.9.10 and up.
3648 * configure.in: Add missing disabling of quote characters in
3649 compiler version check. Reported by HJ Lu.
3651 1998-03-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3653 * malloc/mtrace.c: Include elf/ldsodefs.h instead of link.h.
3655 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
3657 * intl/locale.alias: Fix spelling of romanian.
3659 * sunrpc/Makefile (headers): Add rpc/rpc_des.h.
3660 (distribute): Remove des.h.
3661 * include/des.h: New file.
3662 * sunrpc/des.h: Moved to ...
3663 * sunrpc/rpc/rpc_des.h: ...here.
3665 1998-03-22 NIIBE Yutaka <gniibe@mri.co.jp>
3667 * inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK):
3670 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
3672 * sysdeps/mach/hurd/setsockopt.c (setsockopt): Make OPTVAL
3673 parameter const. Reported by UCHIYAMA Yasushi <uch@nop.or.jp>.
3675 1998-03-24 Ulrich Drepper <drepper@cygnus.com>
3677 * elf/ldsodesf.h: New file.
3678 * elf/Makefile (distribute): Add ldsodefs.h.
3679 * elf/link.h: Separate internal information in exter header.
3680 * elf/rtld.c: Include elf/ldsodefs.h not link.h.
3681 * elf/dl-minimal.c: Likewise.
3682 * sysdeps/generic/dl-sysdep.c: Likewise.
3683 * elf/sprof.c: Likewise.
3684 * elf/dlsym.c: Likewise.
3685 * elf/dlvsym.c: Likewise.
3686 * elf/dlerror.c: Likewise.
3687 * elf/dladdr.c: Likewise.
3688 * elf/dlclose.c: Likewise.
3689 * elf/dlopen.c: Likewise.
3690 * elf/dl-addr.c: Likewise.
3691 * elf/dl-close.c: Likewise.
3692 * elf/dl-debug.c: Likewise.
3693 * elf/dl-deps.c: Likewise.
3694 * elf/dl-error.c: Likewise.
3695 * elf/dl-fini.c: Likewise.
3696 * elf/dl-init.c: Likewise.
3697 * elf/dl-load.c: Likewise.
3698 * elf/dl-lookup.c: Likewise.
3699 * elf/dl-object.c: Likewise.
3700 * elf/dl-open.c: Likewise.
3701 * elf/dl-profile.c: Likewise.
3702 * elf/dl-reloc.c: Likewise.
3703 * elf/dl-runtime.c: Likewise.
3704 * elf/dl-support.c: Likewise.
3705 * elf/dl-symbol.c: Likewise.
3706 * elf/dl-version.c: Likewise.
3707 * sysdeps/generic/dl-cache.c: Likewise.
3708 * sysdeps/generic/libc-start.c: Likewise.
3709 * iconv/gconv_dl.c: Likewise.
3710 * nss/nsswitch.c: Likewise.
3712 1998-03-23 13:45 Ulrich Drepper <drepper@cygnus.com>
3714 * manual/nss.texi: The database is not called network but networks.
3715 Reported by Herbert Xu <herbert@gondor.apana.org.au>.
3717 1998-03-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3719 * configure.in: Correct test for compiler version.
3720 Check that LD_LIBRARY_PATH doesn't contain current path.
3722 1998-03-23 07:52 H.J. Lu <hjl@gnu.org>
3724 * elf/dl-close.c (_dl_close): Fix byte count while removing
3725 the shared object from the global scope list and optimize
3728 1998-03-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3730 * manual/filesys.texi (Scanning Directory Content): Add missing
3732 (Scanning Directory Content): Fix text.
3734 1998-03-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3736 * manual/memory.texi (Heap Consistency Checking): Add paragraph
3737 explaining difference of -lmcheck and MALLOC_CHECK_.
3739 1998-03-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3741 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Correct some
3744 1998-03-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3746 * test-skeleton.c (main): Fix test for exit signal.
3748 1998-03-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3750 * sysdeps/generic/strtok_r.c: Undefine __strtok_r.
3752 1998-03-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3754 * sysdeps/generic/memcmp.c [_LIBC]: Define WORDS_BIGENDIAN as
3757 1998-03-23 11:14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3759 * libc.map: Export __strtok_r.
3761 1998-03-23 Ulrich Drepper <drepper@cygnus.com>
3763 * posix/regex.c (re_compile_fastmap): Remove unused variable
3764 num_regs and adjust comment.
3765 Patch by Jim Meyering <meyering@ascend.com>.
3767 * math/math.h (M_*l): Extend long double constants to be usable
3768 for 128 bit floats. Patch by Richard Henderson.
3770 1998-03-23 11:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3772 * sysdeps/m68k/m68020/wordcopy.S: New file.
3774 1998-03-22 Ulrich Drepper <drepper@cygnus.com>
3776 * posix/wordexp.c: Rewrite parse_param.
3777 Patch by Tim Waugh and Andreas Schwab.
3779 1998-03-21 23:46 Zack Weinberg <zack@rabi.phys.columbia.edu>
3781 * Rules: Update timestamps on empty object files.
3783 1998-03-21 09:15 Ulrich Drepper <drepper@cygnus.com>
3785 * manual/filesys.texi (Scanning Directory Content): Add description
3786 of 64 bits scandir function and friends.
3788 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
3790 * glibcbug.in: Use mktemp to generate unique file name for
3793 * sysdeps/unix/grantpt.c (grantpt): Use __ptsname_r and not
3794 ptsname_r. Use cast for execve call.
3796 1998-03-20 16:24 Ulrich Drepper <drepper@cygnus.com>
3798 * libc.map: Add statvfs, fstatvfs, statvfs64, and fstatvfs64.
3799 * io/Makefile (headers): Add sys/statvfs.h and bits/statvfs.h.
3800 * io/sys/statvfs.h: New file.
3801 * sysdeps/generic/fstatvfs.h: New file.
3802 * sysdeps/generic/statvfs.h: New file.
3803 * sysdeps/generic/fstatvfs64.h: New file.
3804 * sysdeps/generic/statvfs64.h: New file.
3805 * sysdeps/generic/bits/statvfs.h: New file.
3806 * sysdeps/unix/sysv/linux/fstatvfs.c: New file.
3807 * sysdeps/unix/sysv/linux/statvfs.c: New file.
3808 * sysdeps/unix/sysv/linux/bits/statvfs.h: New file.
3810 * sysdeps/unix/sysv/linux/bits/statfs.h: Correct type for f_files
3811 and f_ffree elements.
3813 * sysdeps/unix/sysv/linux/sys/mount.h: Pretty print. Define
3814 mount options in enum.
3816 1998-03-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3818 * configure.in: Check for recent egcs/gcc.
3820 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
3822 * libc.map: Add alphasort64, scandir64, versionsort64.
3823 * dirent/Makefile (routines): Add scandir64, alphasort64, and
3825 * dirent/alphasort64.c: New file.
3826 * dirent/scandir64.c: New file.
3827 * dirent/versionsort64.c: New file.
3828 * dirent/dirent.h: Add LFS support for scandir, alphasort, and
3830 * sysdeps/generic/readdir64.c: Rename to __readdir64 and make
3831 old name weak alias.
3832 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
3834 * dirent/alphasort.c: Use strcoll instead of strcmp.
3836 * dirent/scandir.c: Optimize a bit.
3838 * dirent/versionsort.c: Pretty print.
3840 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
3842 * string/string.h: Add prototype for __strtok_r.
3844 1998-03-20 12:14 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3846 * posix/Makefile: Fix typo in last change.
3848 1998-03-20 Ulrich Drepper <drepper@cygnus.com>
3850 * dirent/dirent.h (scandir): Make argument of select function const.
3851 * dirent/scandir.c (scandir): Likewise.
3852 Reported by David.Faure@insa-lyon.fr [PR libc/512].
3854 1998-03-19 14:28 Ulrich Drepper <drepper@cygnus.com>
3856 * sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r
3858 * sysdeps/i386/strtok_r.c: Likewise.
3860 * sysdeps/libm-i387/i686/s_fdim.S: Make it really work.
3861 * sysdeps/libm-i387/i686/s_fdimf.S: Likewise.
3862 * sysdeps/libm-i387/i686/s_fdiml.S: Likewise.
3863 * sysdeps/libm-i387/i686/s_fmin.S: Likewise.
3864 * sysdeps/libm-i387/i686/s_fminf.S: Likewise.
3865 * sysdeps/libm-i387/i686/s_fminl.S: Likewise.
3867 1998-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3869 * intl/localealias.c: Remove unneeded define for strdup.
3871 1998-03-19 13:45 Ulrich Drepper <drepper@cygnus.com>
3873 * manual/argp.texi: Adjust for better TeX output.
3874 * manual/arith.texi: Likewise.
3875 * manual/conf.texi: Likewise.
3876 * manual/filesys.texi: Likewise.
3877 * manual/header.texi: Likewise.
3878 * manual/lgpl.texinfo: Likewise.
3879 * manual/math.texi: Likewise.
3880 * manual/message.texi: Likewise.
3881 * manual/pattern.texi: Likewise.
3882 * manual/process.texi: Likewise.
3883 * manual/signal.texi: Likewise.
3884 * manual/socket.texi: Likewise.
3885 * manual/startup.texi: Likewise.
3886 * manual/stdio.texi: Likewise.
3887 * manual/terminal.texi: Likewise.
3888 * manual/examples/rprintf.c: Likewise.
3889 * manual/examples/testopt.c: Likewise.
3890 Patches by Zack Weinberg <zack@rabi.phys.columbia.edu>.
3892 1998-03-19 20:45 Tim Waugh <tim@cyberelk.demon.co.uk>
3894 * posix/wordexp.c (parse_param): Don't immediately stop parsing a
3895 parameter name after seeing a digit if it's enclosed in braces.
3897 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
3899 * sysdeps/i386/i686/Implies: Add libm-i387/i686.
3901 1998-03-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3903 * manual/memory.texi (Heap Consistency Checking): Document
3904 MALLOC_CHECK_. Based on a text by Wolfram Gloger.
3906 1998-03-18 17:11 Zack Weinberg <zack@rabi.phys.columbia.edu>
3908 * manual/Makefile: Add missing rules.
3910 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
3912 * timezone/Makefile (generated): Define to remove all stamp files.
3914 * sysdeps/generic/strsep.c: Also undefine __strsep.
3916 * string/strdup.c: Undefine __strdup and strdup first.
3917 * string/strndup.c: Likewise.
3919 * string/bits/string2.h: Correct strtok_r and strsep.
3920 Add strndup optimization.
3922 * sysdeps/generic/strsep.c: Little optimization.
3924 1998-03-18 14:25 Ulrich Drepper <drepper@cygnus.com>
3926 * string/bits/string2.h: Add optimization for strdup.
3927 Always define __strsep and __strtok_r and make real names available
3928 when feature select macros are defined.
3930 1998-03-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
3932 * manual/install.texi (Installation): Use i486-linux as example
3933 instead of the unsupported sunos4.
3934 (Reporting Bugs): Mention glibcbug script.
3935 (Tools for Installation): gcc 2.8.1/egcs 1.0.2 is required.
3937 1998-03-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3939 * posix/wordexp-tst.sh: Make portable. Add more tests.
3941 * posix/Makefile (do-globtest do-wordexp-test): New targets.
3943 1998-03-18 13:38 Ulrich Drepper <drepper@cygnus.com>
3945 * sysdeps/unix/sysv/linux/libc-start.c: Moved to ...
3946 * sysdeps/generic/libc-start.c: ...here, replacing former content.
3948 * sysdeps/unix/sysv/linux/Dist: Add netash/ash.h and
3951 * sysdeps/unix/sysv/linux/bits/socket.h: Pretty print.
3953 1998-03-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3955 * sysdeps/unix/sysv/linux/bits/resource.h: Remove trailing comma
3956 in enumerator for strict standard compliance.
3957 * sysdeps/generic/bits/resource.h: Likewise.
3959 1998-03-18 10:04 Philip Blundell <pb@nexus.co.uk>
3961 * sysdeps/arm/sysdep.h (__ARM_USES_FP): Deleted.
3962 (PLTJMP): New macro.
3964 * sysdeps/arm/fpu/__longjmp.S: New file, implementation of
3965 longjmp() when floating point enabled.
3966 * sysdeps/arm/fpu/setjmp.S: Likewise for setjmp().
3967 * sysdeps/arm/__longjmp.S: Remove floating point code.
3968 * sysdeps/arm/setjmp.S: Likewise.
3970 * sysdeps/arm/bsd-setjmp.S: Call __sigsetjmp by correct name.
3971 * sysdeps/arm/bsd-_setjmp.S: Likewise.
3973 * sysdeps/arm/memset.S: New file; optimised ARM implementation of
3976 * sysdeps/generic/setsockopt.c (setsockopt): Keep in step with
3979 1998-03-17 16:16 Philip Blundell <pb@nexus.co.uk>
3981 Based on patches from Pat Beirne and Scott Bambrough:
3983 * sysdeps/arm/__longjmp.S: Use ip, not r2, as temporary.
3985 * sysdeps/arm/bits/fenv.h: New file.
3987 * sysdeps/arm/dl-machine.h: New file. Add ELF support.
3988 * sysdeps/arm/elf/setjmp.S: Likewise.
3989 * sysdeps/arm/elf/start.S: Likewise.
3990 * sysdeps/arm/init-first.c: Likewise.
3991 * sysdeps/arm/setjmp.S: Call __sigjmp_save through PLT
3992 * sysdeps/arm/sysdep.h: Change format of .type directive. Correct
3993 comment about floating point to reflect current reality.
3995 * sysdeps/unix/arm/brk.S: Support PIC.
3996 * sysdeps/unix/arm/sysdep.S (syscall_error): Support PIC and
3998 * sysdeps/unix/sysv/linux/arm/socket.S: Check correctly for error
3999 return; call syscall_error through PLT.
4000 * sysdeps/unix/sysv/linux/arm/sysdep.h (ENTRY): Correct error jump.
4002 1998-03-04 12:01 Philip Blundell <pb@nexus.co.uk>
4004 * sysdeps/unix/sysv/linux/netpacket/packet.h: New file.
4005 * sysdeps/unix/sysv/linux/netash/ash.h: Likewise.
4006 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install them.
4008 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
4010 * dirent/list.c (test): Return error value.
4011 (main): Exit with error value.
4013 * sysdeps/unix/opendir.c (__opendir): Add missing initialization.
4015 * Makefile (distribute): Add test-skeleton.c.
4016 * test-skeleton.c: New file.
4017 * dirent/Makefile (tests): Add opendir-tst1.
4018 * dirent/opendir-tst1.c: New file.
4020 1998-03-18 Ulrich Drepper <drepper@cygnus.com>
4022 * sysdeps/unix/opendir.c (__opendir): Don't block on FIFOs etc.
4023 Optimize memory handling.
4024 * sysdeps/unix/closedir.c: Optmize memory handling.
4026 1998-03-17 Ulrich Drepper <drepper@cygnus.com>
4028 * posix/wordexp.c (parse_param): Fix off-by-on error in $@
4029 handling. Optimize a bit.
4031 1998-03-18 00:25 Tim Waugh <tim@cyberelk.demon.co.uk>
4033 * posix/wordexp.c (parse_comm): Allow quoting inside $(...).
4034 (parse_param): Fold in Andreas' fixes to do with when the end of
4035 the parameter name has been reached, and quoting inside ${...}.
4036 (parse_dollars): Fix differentiation between $(((1+3)*(4-2))) and
4039 1998-03-16 22:10 Zack Weinberg <zack@rabi.phys.columbia.edu>
4041 * manual/maint.texi: Split out installation and contribution
4042 sections to their own appendices. Misc cleanups.
4043 * manual/install.texi: New file. Mention add-ons. Refer to FAQ.
4044 * manual/contrib.texi: New file.
4045 * manual/libc.texinfo: Pull in new appendices.
4046 * manual/header.texi: Correct node pointer.
4048 1998-03-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4050 * manual/process.texi (Process Completion): Clarify return value
4051 of waitpid a bit. Patch by Zack Weinberg. [PR libc/490]
4053 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4055 * posix/wordexp-test.c: Add more tests.
4056 (testit): Fix logic.
4058 * posix/wordexp.c (exec_comm): In the child, redirect stderr to
4059 /dev/null instead of closing it, close pipe. Always chop off all
4060 trailing newlines. Kill and reap child before returning error.
4061 (w_addword, parse_glob): Fix memory leak.
4062 (wordexp): Fix dangling pointer problem.
4064 1998-03-16 Ulrich Drepper <drepper@cygnus.com>
4066 * elf/dl-close.c (_dl_close): Correct and simplify unmapping.
4068 * posix/wordexp-test.c (main): Fix little thinkos and typos.
4070 * catgets/Makefile (CPPFLAGS): Change NLSPATH to also examine
4071 directory index by only the language.
4073 1998-03-16 13:02 Tim Waugh <tim@cyberelk.demon.co.uk>
4075 * posix/wordexp-tst.sh: Store test results in the
4076 ${common_objpfx}posix directory.
4078 * posix/wordexp-test.c: Remove temporary directory afterwards.
4080 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4082 * libc.map: Export internal versions of cancelable functions.
4084 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4086 * Makerules (MAKEFLAGS): Append `r'.
4088 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4090 * Makeconfig: Define have-thread-library, shared-thread-library
4091 and static-thread-library if a thread library is available. Don't
4093 * nscd/Makefile: Compile nscd if have-thread-library. Rename
4094 nscd-routines to nscd-modules. Use shared-thread-library and
4095 static-thread-library in dependencies.
4096 * rt/Makefile: Only compile librt if have-thread-library is
4098 * Makefile (subdirs): Always include rt subdir.
4100 1998-03-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4102 * Makeconfig ($(common-objpfx)gnu/lib-names.h): Add dummy command.
4104 1998-03-14 21:55 Ulrich Drepper <drepper@cygnus.com>
4106 * configure.in: Recognize variations for 32 MIPS processors.
4107 Don't assume ELF systems always have .weak, test for .weakext.
4109 1998-03-14 Ulrich Drepper <drepper@cygnus.com>
4111 * configure.in: Irix6 is an ELF platform.
4113 1998-03-14 11:47 H.J. Lu <hjl@gnu.org>
4115 * elf/dl-close.c (_dl_close): Stop unmapping the segments after
4116 unmapping the last loaded segment.
4118 1998-03-14 15:54 Ulrich Drepper <drepper@cygnus.com>
4120 * configure.in: Set base_os for Irix6.
4121 Correct test for .weakext.
4123 1998-03-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4125 * elf/dl-deps.c (_dl_map_object_deps): Add first parameter
4126 (new_line) to _dl_debug_message call.
4128 1998-03-14 00:52 Tim Waugh <tim@cyberelk.demon.co.uk>
4130 * posix/wordexp.c (parse_param): Perform field-splitting after
4131 expanding positional parameter.
4133 * posix/wordexp-tst.sh: Test that field-splitting is performed
4134 after expanding positional parameter.
4136 * posix/wordexp.c (parse_param): Fixed memory leak in
4137 field-splitting after parameter expansion.
4139 1998-03-14 Ulrich Drepper <drepper@cygnus.com>
4141 * locale/programs/linereader.c (lr_token): Return EOF token at EOF.
4142 (get_toplvl_escape): Correctly terminate loop at EOF.
4143 Patch by Cristian Gafton <gafton@redhat.com>.
4145 1998-03-13 16:55 Ulrich Drepper <drepper@cygnus.com>
4147 * string/tester.c (test_strpbrk): Add more strpbrk tests.
4148 (test_strsep): Likewise. Correct horrible bugs.
4150 * string/bits/string2.h (strcspn): Optimize also reject string of
4153 (strpbrk): Likewise.
4154 (strsep): Likewise. Correct bug with successive separators and
4155 separators at the end of the string.
4156 * sysdeps/generic/strsep.c: Correct bug with successive separators
4157 and separators at the end of the string.
4159 1998-03-13 13:11 Tim Waugh <tim@cyberelk.demon.co.uk>
4161 * posix/wordexp.c (parse_param): Positional parameters ($1, $2
4162 etc) now handled, as well as $$ (pid).
4164 * posix/Makefile (tests): Execute wordexp-test.sh for `make check'.
4165 (distribute): Add wordexp-tst.sh.
4167 * posix/wordexp-tst.sh: New file.
4169 * posix/wordexp.c (parse_param): $# (or ${#}) expands to the
4170 number of positional parameters. Renamed substitute_length to
4172 Don't free(env) is env is NULL.
4174 1998-03-13 16:50 Ulrich Drepper <drepper@cygnus.com>
4176 * libc.map: Add pthread_attr_init to GLIBC_2.1.
4178 1998-03-13 15:01 Ulrich Drepper <drepper@cygnus.com>
4180 * gmon/gmon.c: Allow GMON_OUT_PREFIX variable to specify filename
4181 for output file replacing gmon.out.
4182 Patch by Dean Gaudet <dgaudet@arctic.org>.
4184 1998-03-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4186 * elf/dl-misc.c (_dl_debug_message): Fix printing of pid. Clean
4187 up namespace. Optimize finding end of line.
4189 1998-03-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4191 * elf/rtld.c (process_envvars): Ignore LD_DEBUG_OUTPUT if running
4192 securely. Optimized.
4193 (process_dl_debug): Add ':' to list of separators. Optimized.
4195 1998-03-13 10:25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4197 * sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
4198 isless, islessequal, islessgreater, isunordered): Return zero or
4201 1998-03-12 13:11 Tim Waugh <tim@cyberelk.demon.co.uk>
4203 * posix/wordexp-test.c: More tests.
4204 (main): Set up arena for pathname expansion tests (in a temporary
4206 (testit): Don't check word count or word vector if return value is
4209 * posix/wordexp.c (exec_comm): Always chop off terminating
4210 linefeed (just like bash does).
4211 (parse_param): Change lots of occurrences of "if (!*env)" to "if
4213 (parse_param): For assignment inside parameter expansion, use all
4214 expanded words in assignment rather than just the first.
4215 (parse_param): Corrected return value for parameter expansion of
4216 an unset variable when WRDE_UNDEF is in effect.
4217 (parse_dollars): Don't field-split if quoted.
4218 (wordexp): Opening brace character isn't allowed unquoted.
4220 1998-03-12 Ulrich Drepper <drepper@cygnus.com>
4222 * elf/dlerror.c: Fix concurrency problems with error string and
4225 * elf/dl-deps.c (_dl_map_object_deps): Print debug info when
4226 filter/auxiliary are being loaded.
4228 1998-03-12 14:24 Ulrich Drepper <drepper@cygnus.com>
4230 * elf/dlerror.c (last_object_name): Removed.
4231 (dlerror): Don't use last_object_name.
4232 (_dl_error_run): Omit second argument to _dl_catch_error.
4233 * elf/dl-error.c (struct catch): Remove objname member.
4234 (_dl_signal_error): Construct string including objname when given.
4235 (_dl_catch_error): Remove objname handling.
4236 * elf/link.h (_dl_catch_error): Fix prototype and comment.
4237 * elf/rtld.c (dl_main): Call _dl_catch_error correctly.
4238 * elf/dl-deps.c (_dl_map_objet_deps): Likewise.
4239 * nss/nsswitch.c (nss_dlerror_run): Likewise.
4240 * iconv/gconv_dl.c (dlerror_run): Likewise.
4241 [Corrects PR libc/501].
4243 1998-03-12 Matthias Urlichs <smurf@noris.de>
4245 * nscd/nscd.c: Ignore SIGPIPE.
4247 1998-03-12 Ulrich Drepper <drepper@cygnus.com>
4249 * nscd/nscd_getgr_r.c: Use __ protected names.
4250 * nscd/nscd_getpw_r.c: Likewise.
4252 1998-03-12 Matthias Urlichs <smurf@noris.de>
4254 * nscd/nscd_getpw_r.c: Use pw_*_len values correctly.
4255 * nscd/nscd_getpw_r.c: Fix length calculation in result check,
4256 null bytes are not transmitted.
4258 1998-03-12 00:40 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4260 * powerpc/syscalls.list: Correct typo.
4261 * alpha/syscalls.list: Likewise.
4262 * mips/syscalls.list: Likewise.
4264 1998-03-12 Ulrich Drepper <drepper@cygnus.com>
4266 * socket/sys/socket.h: Add prototype for __socket.
4268 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
4270 * aclocal.m4 (LIBC_PROG_FOO_GNU): Don't depend on GNU grep.
4272 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Add various SOL_*
4275 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_ROSE): Remove
4277 * sysdeps/unix/sysv/linux/netrose/rose.h (SOL_ROSE): Add
4280 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Adds lots of missing
4281 AF_* and PF_* constants.
4283 * sysdeps/unix/sysv/linux/bits/socket.h: Add PF_ASH and AF_ASH.
4285 1998-03-11 15:27 Ulrich Drepper <drepper@cygnus.com>
4287 * elf/rtld.c: Update help message.
4288 Install link maps for preloaded objects using main_map as loader.
4290 * elf/dl-misc.c: Use __libc_write instead of __write for debugging.
4291 * elf/dl-profile.c: Likewise.
4293 * elf/dlsym.c: Little optimization.
4294 * elf/dlvsym.c: Likewise.
4296 1998-03-11 14:56 Ulrich Drepper <drepper@cygnus.com>
4298 * posix/wordexp-test.c: Move test for parameter list at the very
4301 1998-03-11 00:16 Tim Waugh <tim@cyberelk.demon.co.uk>
4303 * posix/wordexp.c (wordexp): Set we_wordc to zero initially unless
4304 WRDE_REUSE flag is set.
4305 (parse_param): Allow `*', `@', and numbers in parameter names.
4306 (parse_dollars): Differentiate between arithmetic expansion and a
4307 command substitution that starts immediately with a sub-shell
4308 (like ``$((1+3))'' as opposed to ``$((echo);(ls))'').
4309 (parse_param): Memory allocated with __alloca in a block was
4310 referenced outside that block. Adjusted to use malloc/free.
4311 (parse_param): Adjusted field-splitting algorithm so that there is
4312 not necessarily a field split at the end of a parameter expansion.
4314 1998-03-10 19:52 Tim Waugh <tim@cyberelk.demon.co.uk>
4316 * posix/wordexp.c (wordexp): If about to return WRDE_NOSPACE,
4317 don't free words that have already been allocated.
4318 (parse_param): A dollar sign on its own will never have a pattern
4319 associated with it (like "${HOME%%/}" has), so don't try to free it.
4320 (parse_glob): Attempt to glob when an unquoted `[' is found
4321 (rather than an unquoted '{' (!)). Also for unquoted '?'.
4322 (parse_glob): Sorted out quoting in a glob-able word.
4323 (parse_param): Added $* and $@ handling.
4325 1998-03-11 Ulrich Drepper <drepper@cygnus.com>
4327 * nss/nss_db/db-XXX.c (lookup): Copy data to safe place before
4330 1998-03-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4332 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
4335 1998-03-12 Matthias Urlichs <smurf@noris.de>
4337 * elf/dl-misc.c: Default for debug output should be stderr.
4338 * elf/dl-misc.c: Spurious garbage bytes after the PID in debug output.
4339 * elf/dl-lookup.c: reference_name may be NULL or empty.
4341 1998-03-11 10:30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4343 * aclocal.m4 (LIBC_PROG_FOO_GNU): Fix order of redirection.
4345 1998-03-11 Ulrich Drepper <drepper@cygnus.com>
4347 * sysdeps/unix/sysv/linux/Dist: Add scsi/scsi.h.
4349 * sysdeps/unix/sysv/linux/scsi/sg.h: Include features.h.
4351 1998-03-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4353 * sysdeps/unix/sysv/linux/scsi/scsi.h: New file.
4354 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
4356 1998-03-11 10:30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4358 * sysdeps/m68k/elf/start.S: Let __libc_start_main do most of the
4361 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
4363 * libio/iovdprintf.c (_IO_vdprintf): Set _IO_DELETE_DONT_CLOSE
4366 * misc/syslog.c (vsyslog): Don't try to send if not connected to
4368 (closelog_internal): Don't do anything if not connected.
4370 1998-03-10 17:54 Ulrich Drepper <drepper@cygnus.com>
4372 * libc.map: Add _dl_debug_message.
4373 * elf/dl-misc.c: Make _dl_debug_message a function. Print the PID
4375 * elf/fini.c: Correctly use new _dl_debug_message function.
4376 * elf/init.c: Likewise.
4377 * elf/dl-lookup.c: Likewise.
4378 * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
4379 * elf/dl-load.c: Likewise. Add more debugging prints.
4380 * elf/dl-reloc.c: Likewise.
4381 * elf/dl-version.c: Likewise.
4382 * elf/dl-support.c: Add variables for debugging.
4383 * elf/rtld.c: Likewise. Recognize new debug options.
4384 * elf/link.h: Declare new variables.
4386 * elf/dl-deps.c (_dl_map_object_deps): Little optimizations.
4388 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
4390 * sysdeps/unix/sysv/linux/sys/quota.h: Extract information from
4391 kernel headers. Patch by a sun <asun@saul7.u.washington.edu>.
4393 1998-03-11 00:16 Tim Waugh <tim@cyberelk.demon.co.uk>
4395 * posix/wordexp-test.c (command_line_test): New function to allow
4396 testing of specific cases from the command-line.
4398 1998-03-10 Ulrich Drepper <drepper@cygnus.com>
4400 * elf/dl-init.c (_dl_init_next): Print nicer messages.
4401 * elf/dl-fini.c (_dl_fini): Likewise.
4402 * sysdeps/unix/sysv/linux/libc-start.c (__libc_start_main): Likewise.
4404 * elf/dl-lookup.c (_dl_lookup_versioned_symbol): Print version
4405 symbol in debug message.
4406 (_dl_lookup_versioned_symbol_skip): Likewise.
4408 1998-03-10 19:43 Matthias Urlichs <urlichs@noris.de>
4410 * sysdeps/unix/readdir_r.c: Zero out *result on EOF.
4411 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
4412 * manual/filesys/texi: Document this.
4414 1998-03-10 10:49 Ulrich Drepper <drepper@cygnus.com>
4416 * manual/filesys.texi: Document the change below.
4418 1998-03-10 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4420 * sysdeps/posix/mkstemp.c (mkstemp): Open temporary file mode 0600.
4421 Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
4423 1998-03-10 00:10 Ulrich Drepper <drepper@cygnus.com>
4425 * elf/dl-lookup.c (do_lookup): Remove list and n parameter and add
4426 instead scope. If debugging display information about symbol
4428 (_dl_lookup_symbol): Call do_lookup with correct parameters.
4429 (_dl_lookup_symbol_skip): Likewise.
4430 (_dl_lookup_versioned_symbol): Likewise.
4431 (_dl_lookup_versioned_symbol_skip): Likewise.
4432 * elf/dl-support.c: Define _dl_debug_symbols.
4433 * elf/link.h: Add declaration for _dl_debug_symbols.
4434 * elf/rtld.c: Define _dl_debug_symbols.
4435 (process_dl_debug): Recognize symbols option.
4437 1998-03-09 23:36 Ulrich Drepper <drepper@cygnus.com>
4439 * sysdeps/unix/sysv/linux/init-first.c [!PIC]: Expect arguments
4441 * sysdeps/unix/sysv/linux/libc-start.c: Call __libc_init_first
4442 with correct parameters.
4443 [!PIC]: Initialize __libc_multiple_libcs.
4445 1998-03-09 18:21 Ulrich Drepper <drepper@cygnus.com>
4447 * elf/dl-support.c (_dl_debug_bindings): Add definition.
4448 * elf/rtld.c (_dl_debug_bindings): Add definition.
4449 (process_dl_debug): Recognize bindings option. Update help message.
4450 * elf/link.h (struct link_map): Add l_versyms member.
4451 (_dl_debug_bindings): Add declaration.
4452 * elf/version.c (_dl_check_map_versions): Initialize l_versyms.
4453 * elf/dl-object.c (_dl_new_object): Don't initialize l_rpath_dirs
4455 * elf/dl-lookup.c (do_lookup): Define verstab from l_versyms.
4456 (sym_val): Remove a member, add m as link_map.
4457 (do_lookup): Return result appropriately.
4458 (_dl_lookup_symbol): If _dl_debug_bindings is defined print message.
4459 Call do_lookup correctly.
4460 (_dl_lookup_symbol_skip): Likewise.
4461 (_dl_lookup_versioned_symbol): Likewise.
4462 (_dl_lookup_versioned_symbol_skip): Likewise.
4464 1998-03-09 08:21 Ulrich Drepper <drepper@cygnus.com>
4466 * sysdeps/unix/sysv/linux/chown.c: Moved to ...
4467 * sysdeps/unix/sysv/linux/i386/chown.c: ...here.
4469 * sysdeps/unix/sysv/linux/i386/chown.c: Correct versioning information.
4470 * libc.map: Add chown to GLIBC_2.1.
4471 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add s_chown here.
4472 * sysdeps/unix/sysv/linux/syscalls.list: Remove s_chown here.
4474 1998-03-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4476 * sysdeps/generic/ffs.S: Rename function to __ffs and make ffs a
4478 * sysdeps/alpha/ffs.c: Likewise.
4479 * sysdeps/am29k/ffs.c: Likewise.
4480 * sysdeps/i386/ffs.c: Likewise.
4481 * sysdeps/i960/ffs.c: Likewise.
4482 * sysdeps/m68k/ffs.c: Likewise.
4483 * sysdeps/m88k/ffs.c: Likewise.
4484 * sysdeps/powerpc/ffs.c: Likewise.
4485 * sysdeps/rs6000/ffs.c: Likewise.
4486 * sysdeps/vax/ffs.s: Likewise.
4487 * string/string.h: Declare __ffs.
4488 * libc.map: Export it.
4489 * elf/dl-profile.c (_dl_start_profile): Use __ffs instead of
4490 __builtin_ffs, which is not guaranteed to be namespace clean.
4492 1998-03-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4494 * elf/sprof.c: Rewrite symbol handling to use the normal symbol
4495 table, which is much more likely to exist than debugging symbols.
4496 (printsym): Remove const.
4497 (load_shobj): Don't use _dl_pagesize. Fix mapping of section
4500 * libc.map: Export __profile_frequency, used by elf/sprof, to
4501 avoid infinite recursion during startup.
4503 1998-03-09 12:16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4505 * sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_HANDLER):
4508 * sysdeps/m68k/sysdep.h: Remove the stabs stuff again.
4510 1998-03-09 Ulrich Drepper <drepper@cygnus.com>
4512 * elf/dl-support.c: Add definition of _dl_debug_impcalls.
4514 1998-03-08 Ulrich Drepper <drepper@cygnus.com>
4516 * elf/rtld.c (process_envvars): Also recognize LD_LIBRARY_PATH,
4517 LD_PRELOAD, and LD_VERBOSE.
4518 (dl_main): Use global variables set by process_envvars instead of
4520 * elf/dl-load.c (_dl_init_paths): Don't call getenv to get
4521 LD_LIBRARY_PATH value, this comes with the parameter.
4522 * elf/dl-support.c (non_dynamic_init): Pass return value of getenv
4523 ("LD_LIBRARY_PATH") to _dl_init_paths.
4525 1998-03-08 22:55 Ulrich Drepper <drepper@cygnus.com>
4527 * elf/rtld.c (dl_main): Delay initialization of path structure if
4528 the dynamically linker is invoked implicitly until we read the
4531 1998-03-08 Ulrich Drepper <drepper@cygnus.com>
4533 * sysdeps/unix/sysv/linux/chown.c: Add versioning stuff.
4535 1998-03-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4537 * sysdeps/unix/sysv/linux/chown.c: New file for compatibility of
4540 * sysdeps/unix/sysv/linux/syscalls.list: Add chown.
4542 1998-03-08 14:58 Ulrich Drepper <drepper@cygnus.com>
4544 * Makeconfig (nisobjdir): Set to path to nis directory.
4545 (rpath-link): Add nisobjdir.
4546 Patch by Sven Verdoolaege <skimo@kotnet.org>.
4548 * elf/Makefile: Pretty print.
4549 * elf/dl-lookup.c: Include unistd.h.
4550 * elf/dl-runtime.c: Likewise.
4552 * localedata/Makefile (test-srcs): Add tst-rpmatch.
4553 (distribute): Add tst-rpmatch.sh.
4554 (tests): Add tst-rpmatch to dependency list and run tst-rpmatch.sh.
4556 New tests for rpmatch function by
4557 Jochen Hein <jochen.hein@delphi.central.de>.
4558 * localedata/tst-rpmatch.c: New file.
4559 * localedata/tst-rpmatch.sh: New file.
4561 * localedata/locales/de_DE: Correct yesexpr and noexpr.
4562 * localedata/locales/de_AT: Likewise.
4564 * posix/getopt.c: Update contact address.
4565 * posix/getopt1.c: Pretty print.
4567 * sysdeps/generic/libc-start.c: Do most of the initialization now
4568 here instead of in start.S.
4569 * sysdeps/unix/sysv/linux/libc-start.c: Likewise.
4570 * sysdeps/i386/elf/start.S: Remove most of the initialization code.
4572 * sysdeps/unix/sysv/linux/i386/profil-counter.h: No need for
4573 profil_counter to be public.
4575 1998-03-08 13:06 Tim Waugh <tim@cyberelk.demon.co.uk>
4577 * posix/wordexp.c (parse_arith): Now works for negative numbers too.
4578 (parse_param): Coded parameter length expansion (${#var}).
4579 (parse_param): Handling for "=", "+", "-", and the ":" versions added.
4580 (parse_param): Cleaned up (fixed) error handling.
4582 * posix/wordexp-test.c: IFS now includes non-whitespace character
4583 (comma). Added more tests.
4585 1998-03-07 Ulrich Drepper <drepper@cygnus.com>
4587 * elf/link.h: Fix typos.
4588 Reported by Andreas Jaeger.
4590 * nscd/nscd_getpw_r.c (__nscd_getpw_r): Remove false comment.
4591 * nscd/nscd_getgr_r.c (__nscd_getgr_r): Likewise.
4593 1998-03-06 Ulrich Drepper <drepper@cygnus.com>
4595 * argp/argp-help.c: Remove last bits of using gettext instead of
4598 1998-03-06 17:04 Ulrich Drepper <drepper@cygnus.com>
4600 * libc.map: Add _dl_debug_impcalls, _dl_debug_fd, _dl_sysdep_output,
4602 * csu/Makefile (routines): Add libc-start.
4603 * elf/dl-error.c: Remove declaration of _dl_argv. Include <unitsd.h>.
4604 * elf/dl-lookup.c: Likewise.
4605 * elf/dl-version.c: Likewise.
4606 * sysdeps/i386/dl-machine.h: Likewise.
4607 * elf/link.h: Declare _dl_argv, _dl_debug_fd.
4608 Declare _dl_sysdep_output. Make _dl_sysdep_fatal, _dl_sysdep_error and
4609 _dl_sysdep_message macros which use _dl_sysdep_output.
4610 * elf/dl-fini.c: Write out which destructor is called while debugging.
4611 * elf/dl-init.c: Likewise for constructor.
4612 * elf/dl-load.c: Use _dl_debug_message instead of _dl_sysdep_message.
4613 * elf/dl-misc.c: Remove _dl_sysdep_fatal, _dl_sysdep_error and
4614 _dl_sysdep_message. Add _dl_sysdep_output.
4615 * elf/rtld.c: Recognize LD_DEBUG_OUTPUT. Set _dl_debug_fd if
4616 this file can be opened.
4617 For LD_DEBUG=libs also set _dl_debug_impcalls.
4618 * sysdeps/generic/dl-cache.c: Include unistd.h.
4619 * sysdeps/generic/libc-start.c: New file.
4620 * sysdeps/unix/sysv/linux/libc-start.c: New file.
4621 * sysdeps/i386/elf/start.S: Don't call main directly, call
4622 __libc_start_main instead.
4624 * elf/Makefile ($(objpfx)ld.so): Add $(load-map-file) as dependency.
4626 1998-03-06 Ulrich Drepper <drepper@cygnus.com>
4628 * nss/nsswitch.c (__nss_nscd_not_available): Removed.
4630 1998-03-06 12:42 Ulrich Drepper <drepper@cygnus.com>
4632 * argp/argp.h (struct argp): Add new field domain.
4633 * argp/argp-help.c: Change all gettext calls to dgettext and use
4634 domain field from appropriate argp in call.
4635 * argp/argp-parse.c: Likewise.
4637 1998-03-06 11:35 Ulrich Drepper <drepper@cygnus.com>
4639 * posix/wordexp-test.c: Change testsuite so that it can run even
4642 1998-03-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4644 * math/libm-test.c (catanh_test): Change epsilon for gcc 2.8.1.
4646 1998-03-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4648 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
4649 Don't store into global errno if we already store through
4651 * sysdeps/unix/i386/sysdep.S: Likewise.
4652 * sysdeps/unix/alpha/sysdep.S: Likewise.
4653 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4654 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
4655 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise. Add
4656 missing return to SYSCALL_ERROR_HANDLER for (!_LIBC_REENTRANT &&
4659 1998-03-05 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4661 * sysdeps/generic/sysdep.h (L): Remove definition.
4662 * sysdeps/i386/sysdep.h (L): Define it here instead.
4664 1998-03-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4666 * nis/nis_call.c (__do_niscall): Safe and reset errno.
4668 * nis/ypclnt.c (do_ypcall, yp_all): Safe and reset errno.
4670 1998-03-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4672 * sysdeps/generic/getresuid.c (__getresuid): Use ISO C
4673 declaration style to avoid warnings.
4675 1998-03-06 11:48 Mark M._Kettenis <kettenis@hall.phys.uva.nl>
4677 * elf/rtld.c (process_dl_debug): Fix typo: "DL_DEBUG" ->
4680 1998-03-05 Ulrich Drepper <drepper@cygnus.com>
4682 * posix/Makefile (tests): Add wordexp-test.
4683 * posix/wordexp-test.c: New file. Testsuite for wrodexp.
4684 Patches by Tim Waugh <tim@cyberelk.demon.co.uk>.
4686 1998-03-05 16:04 Ulrich Drepper <drepper@cygnus.com>
4688 * elf/Makefile ($(objpfx)rtldtbl.h): Add genrtldtbl.awk to the
4691 * elf/link.h (struct r_search_path_elem): Add two new field for
4693 * elf/rtld.c: Recognize LD_DEBUG environment variable and set
4694 variable accordingly.
4695 * elf/dl-load.c: If _dl_debug_libs is nonzero print what library
4696 is considered next along with information about load paths.
4697 * sysdeps/generic/dl-cache.c: Likewise.
4698 * elf/dl-support.c: Define _dl_debug_libs.
4699 * elf/genrtldtbl.awk: Add initializers for two new field in
4700 struct r_search_path_elem.
4702 1998-03-06 10:40 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4704 * sysdeps/m68k/add_n.S: Use ENTRY and END macros.
4705 * sysdeps/m68k/lshift.S: Likewise.
4706 * sysdeps/m68k/rshift.S: Likewise.
4707 * sysdeps/m68k/sub_n.S: Likewise.
4708 * sysdeps/m68k/m68020/addmul_1.S: Likewise.
4709 * sysdeps/m68k/m68020/mul_1.S: Likewise.
4710 * sysdeps/m68k/m68020/submul_1.S: Likewise.
4712 * sysdeps/unix/sysv/linux/m68k/sysdep.S: Use ENTRY macro.
4713 [_LIBC_REENTRANT]: Don't store into global errno.
4715 * sysdeps/m68k/sysdep.h: New file.
4716 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Use it. Use the macros
4717 ENTRY, CALL_MCOUNT, JUMPTARGET and syscall_error from there.
4718 (DO_CALL): Change to expect syscall name as argument.
4719 (PSEUDO): Pass syscall_name to DO_CALL.
4720 (SYSCALL_ERROR_HANDLER) [_LIBC_REENTRANT]: Don't store into global
4723 1998-03-05 Ulrich Drepper <drepper@cygnus.com>
4725 * elf/rtld.c: Speed up processing of environment variables. Do
4726 only one run on the environment by avoiding to call getenv.
4727 * sysdeps/generic/dl-sysdep.c (_dl_next_ld_env_entry): New
4728 function. Used by patch above.
4730 1998-03-05 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
4732 * nss/getXXbyYY_r.c: Check __nss_not_use_nscd_* variable for
4734 * nscd/nscd_getgr_r.c: Set __nss_not_use_nscd_group variable.
4735 * nscd/nscd_getpw_r.c: Set __nss_not_use_nscd_passwd variable.
4736 * nscd/nscd_proto.h: Declare __nss_not_use_nscd_* variables.
4738 1998-03-05 Ulrich Drepper <drepper@cygnus.com>
4740 * nss/nsswitch.c (nss_lookup_function): Don't modify errno if NSS
4741 module cannot be found. Reported by Andreas Jaeger.
4743 1998-03-05 11:40 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4745 * nscd/nscd_getgr_r.c: Change char to int to avoid compiler warning
4746 on platforms which default to unsigned chars.
4747 * nscd/nscd_getpw_r.c: Likewise.
4748 * sysdeps/unix/sysv/linux/powerpc/sysdep.h: Undefine L before
4751 1998-03-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4753 * elf/Makefile (install-bin): Change = to += for sprof to install
4756 1998-03-04 16:12 H.J. Lu <hjl@gnu.org>
4758 * libio/strops.c (_IO_str_seekoff): Handle MODE == 0.
4760 1998-03-04 16:19 Ulrich Drepper <drepper@cygnus.com>
4762 * nscd/nscd_getgr_r.c: Follow nscd_getpw_r.c change.
4764 1998-03-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4766 * nscd/nscd_getpw_r.c (nscd_open_socket): Safe and reset errno so
4767 that a failure to connect to nscd doesn't change errno.
4769 1998-03-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4771 * manual/maint.texi (Reporting Bugs): Change
4772 bug-glibc@prep.ai.mit.edu to bug-glibc@gnu.org.
4774 * locale/iso-4217.def: Likewise
4776 1998-03-04 12:43 Ulrich Drepper <drepper@cygnus.com>
4778 * manual/texinfo.tex: Updated.
4780 1998-03-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4782 * sysdeps/posix/fpathconf.c: Don't modify errno for an undefined
4784 * sysdeps/posix/pathconf.c: Likewise.
4785 * posix/getconf.c: Print `undefined' if pathconf returns -1
4786 without setting errno.
4788 1998-03-04 Ulrich Drepper <drepper@cygnus.com>
4790 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Fix cut&paste
4792 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file.
4793 Patches by Elliot Lee <sopwith@cuc.edu>.
4795 1998-03-04 09:43 Ulrich Drepper <drepper@cygnus.com>
4797 * elf/link.h (struct link_map): Add new field l_reloc_result.
4798 * elf/dl-reloc.c (_dl_relocate_object): Allocate array for results
4799 of relocation for the object to be profiled.
4800 * elf/dl-object.c (_dl_new_object): Initialize l_reloc_result field
4802 * elf/rtld.c (_dl_start): Add comment that we must not allocate an
4804 * elf/dl-runtime.c (profile_fixup): If l_reloc_result array already
4805 contains a result from a previous run use this instead of computing
4807 * elf/dl-minimal.c (malloc): Remove limit for size of allocation.
4809 1998-03-04 11:32 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4811 * sysdeps/m68k/dl-machine.h: (elf_machine_load_address): Use word
4812 offsets into the GOT.
4813 (RTLD_START): Likewise.
4815 1998-03-03 17:55 Ulrich Drepper <drepper@cygnus.com>
4817 * elf/sprof.c: Cleanup a bit.
4819 1998-03-03 08:01 H.J. Lu <hjl@gnu.org>
4821 * sysdeps/generic/sysdep.h (L): New. Define.
4823 * sysdeps/unix/sysv/linux/i386/sysdep.h (L): New. Define.
4825 * sysdeps/i386/i586/addmul_1.S: Fix a typo.
4827 * sysdeps/unix/sysv/linux/i386/clone.S: Follow Intel's advice
4828 to have only one exit point for functions.
4829 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4830 * sysdeps/unix/sysv/linux/i386/s_pread64.S: Likewise.
4831 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: Likewise.
4832 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
4833 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
4835 1998-03-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4837 * sysdeps/unix/sysv/linux/sigaction.c (__sigaction): Safe and
4838 reset errno so that errno isn't set to ENOSYS in the first call.
4839 * sysdeps/unix/sysv/linux/i386/sigaction.c (__sigaction): Likewise.
4840 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
4841 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
4842 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
4844 1998-03-02 17:55 Ulrich Drepper <drepper@cygnus.com>
4846 * sysdeps/i386/add_n.S: Change to use ENTRY and END macro.
4847 * sysdeps/i386/addmul_1.S: Likewise.
4848 * sysdeps/i386/lshift.S: Likewise.
4849 * sysdeps/i386/mul_1.S: Likewise.
4850 * sysdeps/i386/rshift.S: Likewise.
4851 * sysdeps/i386/sub_n.S: Likewise.
4852 * sysdeps/i386/submul_1.S: Likewise.
4853 * sysdeps/i386/i586/add_n.S: Likewise.
4854 * sysdeps/i386/i586/addmul_1.S: Likewise.
4855 * sysdeps/i386/i586/lshift.S: Likewise.
4856 * sysdeps/i386/i586/mul_1.S: Likewise.
4857 * sysdeps/i386/i586/rshift.S: Likewise.
4858 * sysdeps/i386/i586/sub_n.S: Likewise.
4859 * sysdeps/i386/i586/submul_1.S: Likewise.
4861 * sysdeps/i386/sysdep.h: Extend last change.
4863 * sysdeps/unix/sysv/linux/i386/sysdep.h: Follow Intel's advice
4864 to have only one exit point for functions.
4866 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
4868 * configure.in: Fix msgfmt test. Fix handling of //s in sysdeps
4871 1998-03-02 13:28 Ulrich Drepper <drepper@cygnus.com>
4873 * Makerules: Generate libc.so with absolute paths for the used
4876 * config.make.in: Add MAKEINFO definition.
4878 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
4880 * sysdeps/i386/sysdep.h (ASM_SIZE_DIRECTIVE): Add ; at the end.
4881 (ENTRY): Use STABS_FUN.
4882 (END): Use STABS_FUN_END.
4883 (STABS_FUN, STABS_FUN2, STABS_FUN_END): New macro to emit stabs info.
4885 * elf/Makefile: Add rules to build sprof program.
4886 * elf/sprof.c: New file.
4888 1998-02-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4890 * misc/syslog.c (openlog_internal): Insert missing closing brace.
4892 1998-02-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4894 * configure.in: Check for working msgfmt version (from GNU gettext
4897 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
4899 * configure.in: Avoid //s in sysdirs.
4900 Patch by Roland McGrath.
4902 * stdlib/a64l.c (a64l): Rewrite by Joe Keane <jgk@jgk.org>.
4904 1998-03-02 07:17 H.J. Lu <hjl@gnu.org>
4906 * elf/dl-open.c (_dl_open): Update _dl_global_scope_end when
4907 setting _dl_global_scope for RTLD_GLOBAL.
4909 1998-02-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4911 * sysdeps/unix/make-syscalls.sh: Fix last change so that all
4912 possible lists of object-suffixes are taken care of.
4914 1998-03-02 10:16 Ulrich Drepper <drepper@cygnus.com>
4916 * timezone/private.h: Update from tzcode1998c.
4917 * timezone/zic.c: Likewise.
4918 * timezone/antarctica: Updated from tzdata1998c.
4919 * timezone/asia: Likewise.
4920 * timezone/australasia: Likewise.
4921 * timezone/europe: Likewise.
4922 * timezone/southamerica: Likewise.
4924 1998-03-02 Ulrich Drepper <drepper@cygnus.com>
4926 * posix/glob.c (glob_in_dir): Add support for cases insensitive
4927 VMS. Patch by John W. Eaton <jwe@bevo.che.wisc.edu>.
4929 1998-03-01 19:05 H.J. Lu (hjl@gnu.org)
4931 * sysdeps/libm-ieee754/e_exp.c (__ieee754_exp): Use __isinf.
4932 Changed type of TWO43, TWO52 from float to double.
4933 * sysdeps/libm-ieee754/e_expf.c (__ieee754_expf): Use __isinff.
4934 * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): Use __isinf.
4935 Changed type of TWO43 from float to double.
4936 * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): Fix a typo.
4939 1998-03-01 18:52 H.J. Lu (hjl@gnu.org)
4941 * sysdeps/unix/sysv/linux/alpha/syscalls.list (osf_settimeofday,
4942 osf_getitimer, osf_setitimer, osf_utimes, osf_getrusage,
4943 osf_wait4): Removed __xxxx symbol for GLIBC_2.0.
4945 1998-03-01 09:11 Richard Henderson <rth@cygnus.com>
4947 * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Don't include
4949 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (CBAUD, CIBAUD): Fix.
4950 Clean up random whitespace.
4951 * sysdeps/unix/sysv/linux/sparc/sparc32/brk.c: Tidy the asm.
4952 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Use std on the args.
4953 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Fix use of .bss.
4954 * sysdeps/unix/sysv/linux/sparc/sparc32/sys/ucontext.h: New file.
4956 1998-03-01 08:31 Richard Henderson <rth@cygnus.com>
4958 * shlib-versions: Match alpha*.
4959 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add adjtimex.
4960 * sysdeps/unix/sysv/linux/alpha/adjtimex.S: Remove.
4962 * sysdeps/alpha/fpu/bits/mathinline.h (isunordered et al): New.
4963 Implement copysign* with and without __ prefix.
4964 Likewise for fabs; use builtin for gcc 2.8.
4968 * elf/elf.h (EF_SPARC*, EF_ALPHA*, SHT_ALPHA*, SHF_ALPHA*): New.
4969 (R_SPARC*): Match current v9 ABI.
4971 * sysdeps/wordsize-64/stdint.h (intptr_t): Is a long.
4973 * sunrpc/clnt_udp.c (clntudp_call): Use socklen_t.
4974 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
4975 * sunrpc/svc_tcp.c (svctcp_create, rendezvous_request): Likewise.
4976 * sysdeps/generic/getresgid.c: Use prototype form because of warning.
4977 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4978 * sysdeps/unix/sysv/linux/alpha/adjtime.c: Likewise.
4979 * sysdeps/unix/grantpt.c (argv): Fix consts.
4980 * sysdeps/unix/sysv/linux/getpt.c: Include <string.h>
4981 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4983 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
4985 * misc/syslog.c: Change to allow user the interpretation of the
4986 outcome even with syslog having no return value.
4988 1998-02-05 20:41 Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>
4990 * elf/dl-addr.c: Fix search algorithms in dladdr(); don't assume
4991 that the number of program headers is >0 (which is wrong for the
4994 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
4996 * Makefile (distribute): Add README.libm.
4998 1998-02-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5000 * time/clocktest.c (main): Correct typo: "--" -> "==".
5002 1998-02-25 20:53 H.J. Lu <hjl@gnu.org>
5004 * sysdeps/alpha/fpu/bits/mathinline.h (atan): Removed the bogus
5006 (copysignf, __copysignf, copysign, fabsf, __fabsf, fabs): New
5009 * math/libm.map (__atan2): Added.
5011 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
5013 * misc/efgcvt_r.c (APPEND): Handle printing of 0.0 correctly.
5014 Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
5016 * misc/tst-efgcvt.c (ecvt_tests): Add new test case for reported
5019 1998-02-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5021 * manual/arith.texi (Old-style number conversion): Correct
5022 typo. Reported by Göran Uddeborg <goeran@uddeborg.pp.se>.
5024 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
5026 * posix/execlp.c: POSIX.1 says that argv[0] *should* be provided,
5027 but does not require it. Handle missing argv[] values gracefully.
5028 * posix/execl.c: Likewise.
5029 * posix/execle.c: Likewise.
5031 1998-02-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5033 * sysdeps/libm-ieee754/s_isnanl.c: Ignore the explicit integer
5035 * sysdeps/libm-ieee754/s_isinfl.c: Likewise.
5037 1998-02-27 Ulrich Drepper <drepper@cygnus.com>
5039 * libc.map: Add __adjtimex.
5041 1998-02-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5043 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
5046 1998-02-24 08:10 H.J. Lu <hjl@gnu.org>
5048 * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Changed
5051 * sysdeps/unix/alpha/sysdep.S (_errno): Add in addition to __errno.
5053 * sysdeps/alpha/s_fabs.S: Added ".set noat"/".set at".
5054 * sysdeps/unix/sysv/linux/alpha/wait4.S: Ditto.
5056 * sysdeps/unix/make-syscalls.sh: Make versioned symbols only
5059 * libc.map (adjtime, adjtimex): Added for GLIBC_2.1.
5061 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
5062 Added adjtimex and old_adjtimex.
5064 * sysdeps/unix/sysv/linux/alpha/syscalls.list (old_adjtimex):
5066 (osf_settimeofday, osf_getitimer, osf_setitimer, osf_utimes,
5067 osf_getrusage, osf_wait4): Added __xxxx symbol for GLIBC_2.0.
5069 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Make versioned
5070 symbols only for shared library.
5071 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
5072 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
5073 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
5074 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
5075 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
5076 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
5077 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
5079 * sysdeps/unix/sysv/linux/alpha/getitimer.S: Fix ENOSYS branch.
5080 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
5081 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
5082 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
5083 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
5084 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
5085 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
5086 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
5088 * sysdeps/unix/sysv/linux/alpha/wait4.S: Check the correct
5091 * sysdeps/unix/sysv/linux/adjtime.c (TIMEVAL, TIMEX, ADJTIMEX):
5093 (__adjtime): Use TIMEVAL, TIMEX and ADJTIMEX instead of timeval,
5094 timex and __adjtimex, respectively.
5096 * sysdeps/unix/sysv/linux/alpha/adjtime.c: New.
5098 * sysdeps/unix/sysv/linux/alpha/adjtimex.S: New.
5100 1998-02-25 08:28 H.J. Lu <hjl@gnu.org>
5102 * sysdeps/alpha/fpu/fraiseexcpt.c (feraiseexcept): Use a dummy
5103 for FE_DIVBYZERO. Kludge for FE_UNDERFLOW.
5105 1998-02-26 14:59 Ulrich Drepper <drepper@cygnus.com>
5107 * stdio-common/vfscanf.c [!USE_IN_LIBIO] (inchar): Add missing braces.
5109 1998-02-19 11:00 Zack Weinberg <zack@rabi.phys.columbia.edu>
5111 * Makefile.in: Disable built-in rules.
5113 1998-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5115 * sysdeps/i386/fpu/t_exp.c: Move to ...
5116 * sysdeps/libm-i387/t_exp.c: ... here.
5118 1998-02-21 13:51 H.J. Lu <hjl@gnu.org>
5120 * sysdeps/libm-ieee754/s_exp2f.c (__exp2f_deltatable): Renamed
5121 from __exp2_deltatable.
5123 1998-02-26 Ulrich Drepper <drepper@cygnus.com>
5125 * nis/ypclnt.c (yp_master): Check result of strdup.
5126 Patch by Thorsten Kukuk.
5128 1998-02-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5130 * nis/ypclnt.c: Give clnt handle after error checking free, change
5131 return codes to fix problems with rpc.nisd in YP mode on Ultra's.
5133 1998-02-26 09:00 Ulrich Drepper <drepper@cygnus.com>
5135 * misc/fstab.c: Partly rewritten to use dynamically allocated buffer.
5136 Patch by Joe Keane <jgk@jgk.org>.
5138 * misc/fstab.h (struct fstab): Change fs_type member to be const.
5139 * misc/fstab.c: Remove casts in fs_type assignments.
5141 1998-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5143 * sysdeps/i386/fpu/bits/fenv.h: Correct typo. ISO C 9X defines
5144 FE_TOWARDZERO and not FE_TOWARDSZERO. Reported by H.J. Lu.
5145 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
5146 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
5147 * sysdeps/powerpc/bits/fenv.h: Likewise.
5148 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
5149 * sysdeps/generic/bits/fenv.h: Likewise.
5150 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
5151 * sysdeps/i386/fpu/fesetenv.c (fesetenv): Likewise.
5152 * sysdeps/powerpc/test-arith.c (main): Likewise.
5154 1998-02-25 Ulrich Drepper <drepper@cygnus.com>
5156 * sysdeps/i386/fpu/bits/mathinline.h: Also fix i386 versions of
5157 the comparison macros.
5159 1998-02-21 20:14 H.J. Lu <hjl@gnu.org>
5161 * sysdeps/libm-ieee754/s_log2.c (ln2): Added.
5162 (__log2): Fixed return values.
5163 * sysdeps/libm-ieee754/s_log2f.c: Likewise.
5165 1998-02-25 Ulrich Drepper <drepper@cygnus.com>
5167 * math/math.h (isunordered): Rename local variables to ensure
5168 correct code. Reported by HJ Lu.
5170 1998-02-25 10:34 Ulrich Drepper <drepper@cygnus.com>
5172 * sysdpes/i386/fpu/bits/mathinline.h (isgreater, isgreaterequal,
5173 isless, islessequal, islessgreater, isunordered): Fix syntax for
5174 fucompip instruction.
5175 (isless, islessequal): Fix logic.
5177 1998-02-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5179 * math/libm-test.c (sqrt_test): Add test for sqrt(2).
5180 (comparisons_test): New tests for comparison macros.
5182 1998-02-24 15:12 Ulrich Drepper <drepper@cygnus.com>
5184 * Makeconfig: Filter out frame-pointer effecting options when
5185 compiling profiling or debugging code.
5186 * config.h.in (internal_function): Don't define here if PROF is
5188 * gmon/gmon.c (__moncontrol): Don't change state if already in error
5190 (__monstartup): If calloc fails set error state and mark array as
5192 (_mcleanup): Don't call write_gmon if in error state. Don't try
5193 to free array if not successfully allocated.
5195 * elf/dl-load.c (STRING): Define to __STRING to enble expansion.
5196 Include elf.h to get macro definitions.
5197 Use __ELF?NATIVE?CLASS in message, not __ELF_WORDSIZE.
5199 1998-02-24 09:40 Ulrich Drepper <drepper@cygnus.com>
5201 * elf/ldd.sh.in: Add compatibility for broken old shells.
5202 * elf/ldd.bash.in: Likewise.
5204 1998-02-24 08:11 H.J. Lu <hjl@gnu.org>
5206 * sunrpc/rpc_main.c (open_input): Check pipe return error.
5208 * time/clocktest.c (main): Check signal return error.
5210 1998-02-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5212 * iconv/Makefile ($(inst_bindir)/iconv): Correct typo, add
5213 "/" and use do-install-program. Reported by Mark M. Kettenis.
5214 (subdir_install): Likewise.
5216 1998-02-22 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5218 * sunrpc/rpc_sample.c: Fix typo.
5220 * nscd/connections.c: Use locale.
5221 * nscd/grpcache.c: Add debug messages, gidtbl should get the
5223 * nscd/nscd.c: Check if init functions fails.
5224 * nscd/nscd_conf.c: Allow disabling of group cache.
5225 * nscd/nscd_getgr_r.c: Fix return code if group not found.
5226 * nscd/pwdcache.c: Fix debug messages.
5228 1998-02-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5230 * libc.map: Add __monstartup and _mcleanup for profiling support.
5232 1998-02-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5234 * libc.map: Export __getpagesize, for binary compatibility with
5237 1998-02-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5239 * posix/globtest.sh: Use --library-path instead of
5241 * localedata/sort-test.sh: Likewise.
5242 * localedata/tst-fmon.sh: Likewise. Avoid useless use of cat.
5244 1998-02-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5246 * sysdeps/unix/sysv/linux/sigaction.c: Translate between struct
5247 sigaction and struct kernel_sigaction for __syscall_rt_sigaction.
5248 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5250 * sysdeps/unix/sysv/linux/kernel_sigaction.h (struct
5251 kernel_sigaction): Define.
5252 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h (struct
5253 kernel_sigaction): Define.
5255 1998-02-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5257 * math/libm-test.c: Change epsilons for libm-ieee754.
5259 1998-02-23 12:33 Ulrich Drepper <drepper@cygnus.com>
5261 * sysdeps/i386/__longjmp.S: Fix race condition.
5262 Reported by Bruno Haible <haible@ilog.fr>.
5264 1998-02-20 18:43 Ulrich Drepper <drepper@cygnus.com>
5266 * hesiod/hesiod.c: Pretty print. Don't use __ protected names.
5267 * iconvdata/8bit-gap.c: Likewise.
5268 * iconvdata/8bit-generic.c: Likewise.
5269 * iconvdata/iso6937.c: Likewise.
5270 * iconvdata/iso8859-1.c: Likewise.
5271 * iconvdata/sjis.c: Likewise.
5272 * iconvdata/t61.c: Likewise.
5274 1998-02-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5276 * sysdeps/unix/sysv/linux/bits/termios.h: Replace all negative
5277 feature tests by positive feature tests.
5279 1998-02-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5281 * sysdeps/unix/sysv/linux/unlockpt.c: Always return a value.
5283 1998-02-20 Ulrich Drepper <drepper@cygnus.com>
5285 * elf/dlvsym.c (dlvsym_doit): More corrections.
5286 Patch by Andreas Jaeger.
5288 1998-02-19 Ulrich Drepper <drepper@cygnus.com>
5290 * sysdeps/unix/sysv/linux/sigqueue.c: Fix weak alias definition.
5292 1998-02-19 17:16 Ulrich Drepper <drepper@cygnus.com>
5294 * libc.map: More reordering for GLIBC_2.1 symbols.
5296 1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5298 * libc.map: Move some functions from version GLIBC_2.0 to
5299 GLIBC_2.1, reorder declarations.
5301 1998-02-19 Ulrich Drepper <drepper@cygnus.com>
5303 * resolv/gethnamaddr.c (addrsort): Make this function extern.
5304 Patch by zab@thebrain.grumblesmurf.net.
5306 1998-02-19 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5308 * nis/libnsl.map: NIS+ support is new in glibc 2.1, add
5309 NIS+ functions with version GLIBC_2.1.
5311 1998-02-19 14:05 Ulrich Drepper <drepper@cygnus.com>
5313 * libc.map: Add __sbrk, __setpgid, __getpgid for binary compatibility
5314 with 2.0 binaries. Reported by Thorsten Kukuk.
5316 1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5318 * elf/dlvsym.c (dlvsym_doit): Correct last patch.
5320 * elf/dlsym.c (dlsym_doit): Likewise.
5322 1998-02-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5324 * elf/link.h: Correct typos.
5326 * iconv/iconv_prog.c: Correct typo.
5328 1998-02-18 17:57 Ulrich Drepper <drepper@cygnus.com>
5330 * iconv/Makefile: Add rules to build and install iconv program.
5331 * iconv/iconv_prog.c: New file.
5333 1998-02-18 16:34 H.J. Lu <hjl@gnu.org>
5335 * elf/dlsym.c (dlsym_doit): Fix scope and skip maps for
5336 _dl_lookup_symbol_skip call.
5337 * elf/dlvsym.c (dlvsym_doit): Likewise.
5339 1998-02-18 Ulrich Drepper <drepper@cygnus.com>
5341 * libio/iovsscanf.c: Do not include errno.h.
5343 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5345 * elf/dl-load.c (add_name_to_object): Don't translate strings.
5346 * elf/dl-minimal.c (_strerror_internal): Define it here to avoid
5347 pulling in the whole error list.
5348 (__dcgettext, dcgettext): Removed.
5349 * libc.map: Export _strerror_internal.
5351 1998-02-18 10:50 Ulrich Drepper <drepper@cygnus.com>
5353 * sysdeps/i386/fpu/t_exp.c: New file.
5355 1998-02-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5357 * nis/libnss_nisplus.map: NIS+ support is new in glibc 2.1, add
5358 everything with version GLIBC_2.1.
5359 * hesiod/libnss_hesiod.map: Likewise.
5361 1998-02-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5363 * manual/arith.texi (Old-style number conversion): This node is a
5364 section, not a subsection.
5366 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5368 * elf/dl-lookup.c (make_string): Use __stpcpy instead of stpcpy.
5370 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5372 * elf/rtld.c (dl_main): Make sure that the library search paths
5373 have been initialized before the first call to _dl_map_object.
5375 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5377 * Makerules (common-generated): Add libc_pic.os.
5379 1998-02-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5381 * elf/rtld.c (dl_main): Use PT_PHDR to figure out the load address
5384 1998-02-18 10:28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5386 * sysdeps/m68k/fpu/t_exp.c: New file.
5388 1998-02-17 Ulrich Drepper <drepper@cygnus.com>
5390 * sysdeps/unix/sysv/linux/bits/errno.h (__set_errno): Don't assign
5391 to global errno variable anymore.
5393 1998-02-17 17:41 Ulrich Drepper <drepper@cygnus.com>
5395 * elf/dl-load.c (open_path): Take extra argument PRELOADED.
5396 If PRELOADED is nonzero check in case of an SUID application
5397 whether the shared object has the SUID bit set.
5398 Fix some other problems with handling shared objects in system
5399 specific directories.
5400 (_dl_map_object): Also take extra parameter and pass it to open_path.
5401 * elf/link.h (_dl_map_object): Correct prototype and comment.
5402 * elf/rtld.c (dl_main): Call _dl_map_object correctly.
5403 * elf/dl-open.c (_dl_open): Likewise.
5404 * elf/dl-deps.c (openaux, _dl_map_object_deps): Likewise.
5406 * sysdeps/libm-ieee754/s_modfl.c: Handle numbers > 1.0 correctly.
5408 1998-02-17 Ulrich Drepper <drepper@cygnus.com>
5410 * math/libm-test.c (modf_test): Add test for 1.5.
5412 * sysdeps/generic/bits/select.h (__FD_ISSET): Compare result with
5413 0 to get always an int.
5415 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5417 * math/libm.map: Move all symbols that are new in glibc 2.1 to
5420 1998-02-17 Ulrich Drepper <drepper@cygnus.com>
5422 * stdio-common/vfscanf.c (inchar): Check c for being EOF before
5423 trying to read another character.
5425 1998-02-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5427 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Convert
5430 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Convert
5431 name to lowercase, add test for big enough buffer.
5433 1998-02-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5435 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S (rt_sigreturn):
5436 Make compatible with older kernels. Patch by Richard Henderson.
5438 1998-02-17 15:10 Ulrich Drepper <drepper@cygnus.com>
5440 * elf/dl-load.c (open_path): Use __xstat instead of stat.
5442 * localedata/tst-locale.sh: Comment out first test for now.
5444 1998-02-14 14:58 H.J. Lu <hjl@gnu.org>
5446 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Defined
5448 * sysdeps/unix/sysv/linux/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
5451 * libio/iogetline.c (_IO_getline_info): Renamed from
5453 (_IO_getline): Just call _IO_getline_info.
5455 * libio/libioP.h (_IO_getline_info): New declaration.
5457 * libc.map (_IO_getline_info, __write): Added.
5459 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5461 * sunrpc/rpc_cout.c (inline_struct): Change typo of plus to
5462 const char* to shut up gcc.
5464 1998-02-17 11:37 Ulrich Drepper <drepper@cygnus.com>
5466 * elf/dl-open.c (_dl_open): Assign correct value to new->l_global.
5467 Patch forwarded by Cristian Gafton <gafton@redhat.com>.
5469 * math/math.h: Define M_* constants always as `double' and add new
5470 macros M_*l which are of type `long double'.
5471 * sysdeps/libm-ieee754/s_cacoshl.c: Use M_*l constants now.
5472 * sysdeps/libm-ieee754/s_cacosl.c: Likewise.
5473 * sysdeps/libm-ieee754/s_casinhl.c: Likewise.
5474 * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
5475 * sysdeps/libm-ieee754/s_catanl.c: Likewise.
5476 * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
5477 * sysdeps/libm-ieee754/s_clogl.c: Likewise.
5478 * math/libm-tst.c: Likewise.
5480 * sysdeps/i386/fpu/bits/mathinline.h (__M_SQRT2): Don't use _Mdbl,
5481 define as long double unconditionally.
5483 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5485 * manual/arith.texi (Old-style number conversion): Correct some
5488 1998-02-16 16:28 H.J. Lu <hjl@gnu.org>
5490 * time/Makefile (tz-cflags, CFLAGS-tzfile.c, CFLAGS-tzset.c):
5493 * timezone/Makefile (CFLAGS-tzfile.c, CFLAGS-tzset.c): Deleted.
5495 1998-02-16 Ulrich Drepper <drepper@cygnus.com>
5497 * elf/Makefile ($(objpfx)ld.so): Don't depend on rtld-script but
5498 on $(rtld-ldscript).
5500 * sysdeps/unix/sysv/linux/alpha/ioperm.c (_ioperm): Map all ports
5501 starting from 0 not only from `from'.
5502 Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
5504 1998-02-16 17:33 Ulrich Drepper <drepper@cygnus.com>
5506 * elf/rtld.c (dl_main): Recognize --library-path parameter and
5507 pass value (or NULL) to _dl_init_paths.
5508 * elf/dl-load.c (_dl_init_paths): Change to take one parameter,
5509 replacing local variable llp. If llp is NULL examine LD_LIBRARY_PATH
5510 environment variable.
5511 * elf/link.h: Change prototype for _dl_init_paths.
5512 * elf/dl-support.c: Pass NULL in _dl_init_paths call.
5514 * localedata/Makefile (distribute): Add test files.
5516 1998-02-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5518 * localedata/tests/{test1.cm, test2.cm, test3.cm, test4.cm,
5519 test1.def, test2.def, test3.def, test4.def}: Simple input files
5520 for localedef. Contributed by Yung-Ching Hsiao
5521 <yhsiao@cae.wisc.edu>.
5523 * localedata/Makefile (tests): Call tst-locale.sh.
5525 * localedata/tst-locale.sh: New file, regression tests for some
5528 1998-02-15 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5530 * nis/nss_nisplus/nisplus-alias.c: Use __stpncpy.
5532 * nis/nss_nisplus/nisplus-hosts.c: Make sure buffer is always NUL
5534 * nis/nss_nisplus/nisplus-network.c: Likewise.
5535 * nis/nss_nisplus/nisplus-proto.c: Likewise.
5536 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
5537 * nis/nss_nisplus/nisplus-service.c: Likewise.
5539 Add more changes from TI-RPC 2.3 for rpcgen to fix include/C++ bug
5540 and support generating thread safe RPC code.
5541 * sunrpc/rpc_main.c: Add changes.
5542 * sunrpc/rpc_clntout.c: Likewise.
5543 * sunrpc/rpc_cout.c: Likewise.
5544 * sunrpc/rpc_hout.c: Likewise.
5545 * sunrpc/rpc_parse.c: Likewise.
5546 * sunrpc/rpc_sample.c: Likewise.
5547 * sunrpc/rpc_scan.c: Likewise.
5548 * sunrpc/rpc_svcout.c: Likewise.
5549 * sunrpc/rpc_util.c: Likewise.
5550 * sunrpc/rpc_util.h: Add new structs and prototypes.
5551 * sunrpc/proto.h: Remove prototypes for static functions.
5553 1998-02-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5555 * locale/programs/ld-messages.c (messages_finish): Don't skip
5556 error checking when being quiet.
5557 * locale/programs/ld-ctype.c (ctype_finish): Likewise.
5558 (set_class_defaults): Likewise.
5559 * locale/programs/charmap.c (parse_charmap): Likewise.
5560 * locale/programs/ld-collate.c (collate_finish): Likewise.
5561 * locale/programs/ld-monetary.c (monetary_finish): Likewise.
5562 * locale/programs/ld-time.c (time_finish): Likewise.
5563 * locale/programs/locfile.c (write_locale_data): Likewise.
5565 * locale/programs/ld-ctype.c (ctype_class_to): Silently ignore
5566 unknown characters and empty ranges.
5567 * locale/programs/ld-collate.c (collate_order_elem): When
5568 processing an ellipsis properly form a linked list in the result
5569 table, fix typo when allocating ordering array.
5572 1998-02-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5574 * elf/Makefile (ld-map): Define.
5575 (rtld-ldscript): Define. Change all `$(objpfx)rtld-ldscript' to
5577 ($(objpfx)ld.so): Combine the two versions of this rule. Depend
5579 (rtld-link): Combine the two versions of this definition. Fixed
5580 to make it work when no symbol versioning is used.
5582 1998-02-16 Ulrich Drepper <drepper@cygnus.com>
5584 * Makeconfig (build-program-cmd): Use --library-path parameter to
5585 ld.so instead of environment variable.
5587 * sunrpc/Makefile (rpcgen-cmd): Don't use -$ parameter.
5588 * sunrpc/rpc_main.c: Remove support for -$$ option again.
5590 1998-02-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5592 * Make-dist: Respect with-cvs setting.
5593 * MakeTAGS (all-pot): Likewise.
5594 * sysdeps/sparc/sparc32/Makefile: Likewise.
5595 * sysdeps/mach/hurd/Makefile: Likewise.
5596 * stdlib/Makefile: Likewise.
5597 * posix/Makefile: Likewise.
5598 * intl/Makefile: Likewise.
5599 * po/Makefile (linguas): Likewise
5601 1998-02-15 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
5603 * nis/ypclnt.c (yp_all): Remove error message, user should print it.
5605 1998-02-15 Ulrich Drepper <drepper@cygnus.com>
5607 * libc.map: Add __strcasecmp.
5609 * nss/nsswitch.c (__nss_lookup): Return 1 if this was the last
5612 * nss/getXXent_r.c: If no more module is found don't try to call
5613 setXXent functions but leave unsuccessfully.
5615 * malloc/obstack.h: Cleanups.
5617 * sysdeps/wordsize-32/stdint.h: New file.
5618 * sysdeps/wordsize-64/stdint.h: New file.
5619 * sysdeps/generic/stdint.h: New file.
5620 * sysdeps/wordsize-32/inttypes.h: Adopt to use stdint.h.
5621 * sysdeps/wordsize-64/inttypes.h: Likewise.
5622 * stdlib/Makefile (headers): Add stdint.h.
5624 1998-02-03 Paul Eggert <eggert@twinsun.com>
5626 * malloc/obstack.h (PTR_INT_TYPE): Use __PTRDIFF_TYPE__ if available.
5628 1998-02-13 17:59 Zack Weinberg <zack@rabi.phys.columbia.edu>
5630 * timezone: New directory.
5631 * time/README, time/africa, time/antarctica, time/asia,
5632 time/australasia, time/backward, time/checktab.awk,
5633 time/etcetera, time/europe, time/factory, time/ialloc.c,
5634 time/iso3166.tab, time/leapseconds, time/northamerica,
5635 time/pacificnew, time/private.h, time/scheck.c,
5636 time/solar87, time/solar88, time/solar89, time/southamerica,
5637 time/systemv, time/test-tz.c, time/tzfile.h,
5638 time/tzselect.ksh, time/yearistype, time/zdump.c,
5639 time/zic.c, time/zone.tab: Moved to timezone.
5640 * time/tzfile.c: Include tzfile.h from timezone subdir.
5641 * time/tzset.c: Likewise.
5642 * time/Makefile: Cut out all code relating to timezones...
5643 * timezone/Makefile: ...and paste it in here.
5644 * Makefile (subdirs): Add timezone.
5646 1998-02-13 18:45 H.J. Lu <hjl@gnu.org>
5648 * libc.map (_sys_nerr): Added.
5650 * sysdeps/unix/sysv/linux/errlist.c (_sys_nerr): Make it
5653 1998-02-15 17:16 Ulrich Drepper <drepper@cygnus.com>
5655 * sysdeps/unix/sysv/linux/bits/socket.h: Define PF_KEY and
5656 pseudo_AF_KEY instead of pseudo_PF_KEY and AF_KEY.
5657 Reported by Craig Metz <cmetz@inner.net>.
5659 1998-01-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5661 * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): Use __strcasecmp
5662 instead of strcasecmp.
5663 * nss/nss_files/files-alias.c (get_next_alias): Likewise.
5665 * wctype/wctype.h (_ISwbit): Avoid warning with gcc before 2.8.
5667 1998-02-15 16:55 Ulrich Drepper <drepper@cygnus.com>
5669 * socket/sys/socket.h (setsockopt): Make OPTVAL parameter const.
5670 Patch by Dean Gaudet <dgaudet@arctic.org>.
5672 1998-02-15 16:53 Ulrich Drepper <drepper@cygnus.com>
5674 * sysdeps/generic/Dist: Add getresgid.c and getresuid.c.
5676 1998-02-15 10:49 Zack Weinberg <zack@rabi.phys.columbia.edu>
5678 * sysdeps/unix/sysv/linux/poll.c: If compiled against a kernel
5679 with no poll syscall, just include the BSD version.
5680 * sysdeps/unix/sysv/linux/getresuid.c: If compiled against a
5681 kernel without the syscall, include the stub version.
5682 * sysdeps/unix/sysv/linux/getresgid.c: Likewise.
5683 * sysdeps/generic/getresuid.c: New file.
5684 * sysdeps/generic/getresgid.c: New file.
5686 1998-02-15 Ulrich Drepper <drepper@cygnus.com>
5688 * stdio-common/vfscanf.c: Correct last change a bit.
5690 1998-02-13 17:39 Ulrich Drepper <drepper@cygnus.com>
5692 * elf/Makefile: Don't use --version-script parameter to link ld.so
5695 1998-01-02 04:19 Geoff Keating <geoffk@ozemail.com.au>
5697 * math/Makefile: Add t_exp.
5698 * math/libm-test.c: Tighten accuracy bounds for exp(), correct
5700 * math/test-reduce.c: Remove temporarily, it seems to be broken.
5701 * sysdeps/libm-ieee754/e_exp.c: Use accurate table method.
5702 * sysdeps/libm-ieee754/e_expf.c: Use table & double precision for
5704 * sysdeps/libm-ieee754/s_exp2.c: Use better polynomial; correct
5705 algorithm for very large/very small arguments.
5706 * sysdeps/libm-ieee754/s_exp2f.c: Use slightly better polynomial;
5707 correct algorithm for very large/very small arguments; adjust for
5709 * sysdeps/libm-ieee754/t_exp.c: New file.
5710 * sysdeps/libm-ieee754/t_exp2f.h: Use table with smaller deltas.
5712 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Put 'strange test'
5713 back, with comment that explains what breaks when you remove it :-(.
5715 * localedata/xfrm-test.c: Avoid integer overflow.
5717 * stdlib/strfmon.c: char is unsigned, sometimes.
5719 * sysdeps/powerpc/Makefile: Remove quad float support.
5720 * sysdeps/powerpc/q_*.c: Remove, they will become an add-on.
5721 * sysdeps/powerpc/quad_float.h: Likewise.
5722 * sysdeps/powerpc/test-arith.c: Likewise.
5723 * sysdeps/powerpc/test-arithf.c: Likewise.
5725 * sysdeps/generic/s_exp2.c: Remove, we have this implemented now.
5726 * sysdeps/generic/s_exp2f.c: Likewise.
5728 * sysdeps/powerpc/bits/mathinline.h: Use underscores around __asm__,
5729 don't try anything if _SOFT_FLOAT.
5731 1997-12-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5733 * locale/C-ctype.c (_nl_C_LC_CTYPE_class32): Undo last change.
5734 * locale/programs/ld-ctype.c (CHAR_CLASS32_TRANS): Likewise.
5735 * wctype/wctype.c: Likewise.
5736 * wctype/wctype.h (_ISwxxx): Renamed from _ISxxx, all uses
5737 changed. They are incompatible with the _ISxxx values from
5738 <ctype.h> on little endian machines.
5739 (_ISwbit) [__BYTE_ORDER == __LITTLE_ENDIAN]: Correctly transform
5740 bit number. This fixes the real bug and restores the integrity of
5741 the ctype locale file.
5742 * wctype/wcfuncs.c: Change all _ISxxx to _ISwxxx.
5743 * wctype/wcfuncs_l.c: Likewise.
5744 * wctype/wcextra.c: Likewise.
5745 * wctype/wctype_l.c [__BYTE_ORDER == __LITTLE_ENDIAN]: Use correct
5748 1998-02-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5750 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S (errno): Put it
5751 into .bss segment instead of .common, so that aliases on it work.
5753 * sysdeps/unix/sysv/linux/i386/sysdep.S (errno): Add .type and
5754 .size directives, put into .bss segment instead of initializing it
5757 1998-02-12 08:00 H.J. Lu <hjl@gnu.org>
5759 * libc.map (gnu_get_libc_release, gnu_get_libc_version): Added.
5761 * version.c (__gnu_get_libc_release, __gnu_get_libc_version): New
5763 Make names without __ weak aliases.
5764 (__libc_release, __libc_version): Make them static.
5766 * include/gnu/libc-version.h: New file.
5767 * Makefile (headers): Add gnu/libc-version.h.
5769 1998-02-13 Ulrich Drepper <drepper@cygnus.com>
5771 * stdlib/stdlib.h (struct drand48_data): Leave X to user macros
5772 and use x for member name.
5773 Reported by Daniel Lyddy <daniell@cs.berkeley.edu>.
5775 * stdlib/drand48.c: Change according to member name change.
5776 * stdlib/drand48_r.c: Likewise.
5777 * stdlib/lcong48_r.c: Likewise.
5778 * stdlib/lrand48.c: Likewise.
5779 * stdlib/lrand48_r.c: Likewise.
5780 * stdlib/mrand48.c: Likewise.
5781 * stdlib/mrand48_r.c: Likewise.
5782 * stdlib/seed48.c: Likewise.
5783 * stdlib/seed48_r.c: Likewise.
5784 * stdlib/srand48_r.c: Likewise.
5786 1998-02-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5788 * nss/test-netdb.c: Add some more test cases.
5790 1998-02-13 11:39 Ulrich Drepper <drepper@cygnus.com>
5792 * libio/iovsscanf.c: Undo last change modifying errno.
5794 1998-02-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5796 * stdio-common/vfscanf.c: Never try to read another character
5797 after EOF. Don't decrement read_in after EOF, it wasn't
5798 incremented in the first place.
5799 (NEXT_WIDE_CHAR): Set First, not first.
5801 1998-02-06 07:48 H.J. Lu <hjl@gnu.org>
5803 * db/Makefile ($(inst_libdir)/libndbm.a,
5804 $(inst_libdir)/libndbm.so): New targets.
5805 * db2/Makefile: Likewise.
5807 1998-02-12 08:20 H.J. Lu <hjl@gnu.org>
5809 * sysdeps/gnu/errlist.awk (sys_errlist, sys_nerr): Create weak
5810 aliases if HAVE_ELF or PIC or DO_VERSIONING is not defined.
5812 1998-02-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5814 * sysdeps/generic/_G_config.h: Define _G_wchar_t, for C++
5816 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
5818 1998-02-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5820 * sysdeps/unix/make-syscalls.sh: Fix sed pattern when dealing with
5823 1998-02-13 08:14 H.J. Lu <hjl@gnu.org>
5825 * libc.map (_dl_global_scope, _dl_lookup_symbol_skip,
5826 _dl_lookup_versioned_symbol, _dl_lookup_versioned_symbol_skip):
5829 1998-02-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5831 * sysdeps/unix/sysv/linux/syscalls.list: Don't mark lchown as
5834 * grp/Makefile: Fix logic when checking for thread package.
5835 * pwd/Makefile: Likewise.
5837 1998-02-11 08:23 H.J. Lu <hjl@gnu.org>
5839 * elf/Makefile (rtld-map): Replaced by libc-map.
5841 * elf/rtld.map: Removed.
5843 * libc.map (__libc_enable_secure, _dl_catch_error,
5844 _dl_check_all_versions, _dl_debug_initialize, _dl_debug_state,
5845 _dl_default_scope, _dl_global_scope_end, _dl_init_next,
5846 _dl_lookup_symbol, _dl_map_object, _dl_map_object_deps,
5847 _dl_object_relocation_scope, _dl_relocate_object,
5848 _dl_signal_error, _dl_starting_up, _dl_sysdep_start,
5849 _r_debug): Added for ld.so.
5851 1998-02-10 08:38 H.J. Lu <hjl@gnu.org>
5853 * libio/iofclose.c: Check PIC && DO_VERSIONING instead of
5855 * libio/iofdopen.c: Ditto.
5856 * libio/iofopen.c: Ditto.
5857 * libio/oldfileops.c: Ditto.
5859 * libc.map (sys_nerr, _sys_errlist, sys_errlist): Added for
5862 * sysdeps/unix/sysv/linux/Makefile (stdio-common): Removed
5863 oldsiglist from sysdep_routines and shared-only-routines.
5865 * sysdeps/unix/sysv/linux/errlist.c: New.
5866 * sysdeps/unix/sysv/linux/errlist.h: New.
5867 * sysdeps/unix/sysv/linux/sizes.h: New.
5868 * sysdeps/unix/sysv/linux/alpha/sizes.h: New.
5869 * sysdeps/unix/sysv/linux/sparc64/sizes.h: New.
5871 * sysdeps/unix/sysv/linux/oldsiglist.c: Removed.
5873 * sysdeps/unix/sysv/linux/siglist.c: Include <sizes.h>.
5874 (__old_sys_siglist, __old_sys_sigabbrev): Use ELF .size
5877 * sysdeps/unix/sysv/linux/siglist.h (OLD_SIGLIST_SIZE_STR): New.
5879 * sysdeps/unix/sysv/linux/Dist (errlist.h, sizes.h.): Added.
5880 (oldsiglist.c): Removed.
5882 * sysdeps/gnu/errlist.awk (SYS_SIGLIST, SYS_NERR): New.
5883 (_sys_siglist): Use SYS_SIGLIST instead.
5884 (_sys_nerr): Use SYS_NERR instead.
5886 * sysdeps/gnu/errlist.c: Rebuilt.
5888 1998-02-11 08:35 H.J. Lu <hjl@gnu.org>
5890 * elf/Makefile (others-static): New, set to ldconfig.
5891 ($(objpfx)ldconfig): Removed.
5893 * Rules (binaries-all, binaries-static, binaries-shared): New.
5894 Create targets for $(binaries-static) and $(binaries-shared).
5896 * Makeconfig (+link-static, link-libc-static,
5897 link-extra-libs-static): New for static linking.
5899 1998-02-11 Andreas Jaeger <aj@arthur.rhein-neckar.de>
5901 * manual/memory.texi (Using the Memory Debugger): Fix typo.
5903 * math/libm-test.c (modf_test): Add one more test for modf.
5905 1998-02-11 14:39 Ulrich Drepper <drepper@happy.cygnus.com>
5907 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
5908 Rename from __libc_have_rt_sigs and leave as COMMON data.
5910 1998-02-11 08:30 H.J. Lu <hjl@gnu.org>
5912 * sysdeps/libm-ieee754/w_powl.c (__powl): Use __finitel instead
5915 1998-02-11 19:16 Richard Henderson <rth@cygnus.com>
5917 * stdlib/strtod.c (STRTOF): Don't call lshift with zero count.
5919 1998-02-11 16:56 Ulrich Drepper <drepper@happy.cygnus.com>
5921 * misc/tst-efgcvt.c: Add yet more tests.
5922 * misc/efgcvt_r.c: And correct for these tests again.
5925 * isomac.c: Move to...
5926 * stdlib/isomac.c: ...here.
5927 * Makefile: Move rules for handling isomac...
5928 * stdlib/Makefile: ...to here.
5930 1998-02-10 23:57 Ulrich Drepper <drepper@happy.cygnus.com>
5932 * misc/tst-efgcvt.c: Add more tests.
5933 * misc/efgcvt_r.c: Correct result for above new tests.
5935 1998-02-06 17:22 H.J. Lu <hjl@gnu.org>
5937 * misc/efgcvt_r.c (fcvt_r, ecvt_r): Correctly handle
5940 1998-02-10 16:48 Philip Blundell <pb@nexus.co.uk>
5942 * Makerules (install-no-libc.a-nosubdir): Don't install-bin (etc)
5943 if the programs weren't built.
5945 1998-02-09 10:12 Philip Blundell <pb@nexus.co.uk>
5947 * sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): If we don't have
5948 FE_TONEAREST, soldier on regardless and do the best we can.
5949 * sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): likewise.
5951 1998-02-5 17:20 Philip Blundell <pb@nexus.co.uk>
5953 * sysdeps/standalone/filedesc.h: Define __need_FOPEN_MAX, not
5954 _STDIO_H, before including <bits/stdio_lim.h>.
5956 * sysdeps/standalone/arm/bits/errno.h (EOVERFLOW): Added.
5958 * io/fts.c (fts_build): Don't try to use d_type if it doesn't
5961 * sysdeps/arm/sys/ucontext.h: New file.
5963 1998-02-04 10:11 Philip Blundell <pb@nexus.co.uk>
5965 * manual/stdio.texi (Formatted Output Functions): Explicitly say
5966 that the return value from snprintf() does not count the
5967 terminating NUL as a character.
5969 1998-02-10 16:57 Ulrich Drepper <drepper@happy.cygnus.com>
5971 * manual/users.texi: Rewrite to describe correct POSIX behaviour,
5972 add description for sete[ug]id and general cleanup.
5973 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
5975 1998-01-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5977 * Makefile (parent-clean): Don't remove makefile fragments here.
5978 (postclean): New variable.
5979 (clean): Remove makefile fragments here.
5980 (realclean distclean): Likewise. Pass sysdep-subdirs to sub-make.
5981 (generated): Add isomac and isomanc.out.
5982 * Makeconfig ($(common-objpfx)soversions.mk): Don't generate if
5983 avoid-generated is set.
5984 (postclean-generated): Add soversion.mk.
5985 ($(common-objpfx)version.mk): Don't include if avoid-generated is
5987 * Makerules: Still need to include $(+sysdir_pfx)sysd-Makefile if
5988 avoid-generated is set.
5989 (common-generated): Add libc.so and libc.so$(libc.so-version).
5990 (generated): Add versioned libraries.
5991 (common-mostlyclean): Also remove %.so and %_pic.a.
5992 * csu/Makefile (generated): Add abi-tag.h.
5993 * db2/Makefile (extra-objs): Add getlong.o.
5994 * elf/Makefile (generated): Add ld.so, ldd and
5995 $(rtld-installed-name).
5996 (others): Add ldconfig here instead of ldconfig.o to extra-objs.
5997 * malloc/Makefile (generated): Add mtrace.
5998 * po/Makefile: Don't include version.mk, not needed any more.
5999 * sunrpc/Makefile (generated): Add rpc-proto.d and rpcgen.
6000 * sysdeps/unix/Makefile: Fix local_lim.h -> bits/local_lim.h,
6001 syscall.h -> sys/syscall.h.
6002 (common-generated): Add s-proto.d.
6003 (postclean-generated): Add sysd-syscalls.
6004 * localedata/Makefile (test-output): Add all output files.
6005 (generated): Add test-input and test-output.
6006 (generated-dirs): Add all the dirs.
6008 1998-01-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6010 * Makefile (test-output, generated, generated-dirs): New
6013 1998-02-10 16:57 Ulrich Drepper <drepper@happy.cygnus.com>
6015 * resolv/nss_dns/dns-host.c: Various code cleanups.
6017 1998-02-09 08:10 H.J. Lu <hjl@gnu.org>
6019 * resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug.
6020 From Philip Blundell <pb@nexus.co.uk>.
6021 * resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
6023 1998-02-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6025 * libc.map: Add .rem, .div, .mul, .udiv, .umul, .urem for Sparc.
6026 Suggested by debian/sparc porters.
6028 1998-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6030 * misc/tst-efgcvt.c: Totally rewritten, added a lot of new tests
6033 1998-02-10 16:32 Ulrich Drepper <drepper@happy.cygnus.com>
6035 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use __xstat and
6036 __fxstat instead of stat and fstat. Use namespace clean __stpcpy.
6038 * signal/signal.h: Always define sigset_t if __need_sigset_t is
6039 defined even if __USE_POSIX is not defined.
6041 1998-02-02 20:51 Zack Weinberg <zack@rabi.phys.columbia.edu>
6043 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Correct last patch
6044 to support obsolete tty major numbers correctly.
6046 1998-02-02 08:47 H.J. Lu <hjl@gnu.org>
6048 * login/Makefile ($(inst_libexecdir)/pt_chown): Make the target
6049 directory first and ignore install error.
6051 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract
6052 128 from ptyno and fix a typo for the BSD style pty.
6054 1998-02-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6056 * sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Depend on all
6059 1998-02-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6061 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
6062 getresuid and getresgid.
6064 * sysdeps/unix/sysv/linux/getresuid.c: New file.
6065 * sysdeps/unix/sysv/linux/getresgid.c: New file.
6067 * sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
6070 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
6071 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6072 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6073 * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
6075 1998-02-02 08:11 H.J. Lu <hjl@gnu.org>
6077 * nscd/grpcache.c: Include <stdlib.h>.
6079 1998-02-01 16:01 H.J. Lu <hjl@gnu.org>
6081 * stdlib/atoll.c: Fix comments.
6083 * sysdeps/posix/ttyname.c: Ignore stdin/stdout/stderr.
6084 * sysdeps/posix/ttyname_r.c: Ditto.
6086 1998-02-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6088 * io/sys/stat.h: Define S_IFLNK and S_IFSOCK if __USE_BSD or
6089 __USE_MISC, independent of __USE_UNIX98.
6091 1998-02-10 19:18 Ulrich Drepper <drepper@happy.cygnus.com>
6093 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
6094 Rename from __libc_have_rt_sigs and leave as COMMON data.
6096 1998-02-04 11:58 Richard Henderson <rth@twiddle.rth.home>
6098 * Makeconfig (CFLAGS-.os): Kill -fno-common.
6099 * Makerules (libc.so): Prelink libc_pic.a, allocating commons.
6101 * libc.map (GLIBC_2.1): Add Linux/Alpha tv64 symbols.
6102 * elf/rtld.map: New file. Needed to define the GLIBC_2.*
6104 * include/libc-symbols.h (symbol_version, default_symbol_version):
6105 Provide asm versions and correct !DO_VERSIONING versions.
6106 * sysdeps/unix/make-syscalls.sh: Recognize version symbols in
6107 the weak symbol list.
6109 * sysdeps/unix/sysv/linux/sigaction.c (__libc_missing_rt_sigs):
6110 Rename from __libc_have_rt_sigs and leave as COMMON data.
6111 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
6112 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
6113 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
6115 1998-02-04 16:41 Zack Weinberg <zack@rabi.phys.columbia.edu>
6117 * sunrpc/Makefile: Correct dependencies of rpcgen.
6119 1998-02-10 03:00 Ulrich Drepper <drepper@happy.cygnus.com>
6121 * nscd/Makefile: Fix test for available linuxthreads add-on.
6122 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
6124 1998-02-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6126 * sysdeps/unix/sysv/linux/syscalls.list: Fix typo in lchown.
6128 1998-02-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6130 * sysdeps/gnu/Makefile: Respect with-cvs variable.
6132 * manual/errno.texi (Error Messages): Correct description of
6133 strerror_r. Pointed out by jonas@bagge.se.
6135 1998-01-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6137 * manual/socket.texi (Host Address Functions): Clarify description
6140 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6142 * sysdeps/unix/grantpt.c (argv): Move const to toplevel.
6143 (grantpt): Delete superfluous cast.
6145 1998-02-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6147 * Makefile ($(inst_slibdir)/libc-$(version).so): Depend on
6148 elf/ldso_install instead of elf/subdir_install.
6149 (elf/ldso_install): New target.
6151 * elf/Makefile (ldso_install): New target.
6153 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6155 * sysdeps/unix/sysv/linux/powerpc/socket.S: Really do the change
6158 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6160 * string/bits/string2.h (strcmp): Use __string2_1bptr_p only for
6161 constant expressions.
6163 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6165 * nss/test-netdb.c: Include <unistd.h> for gethostname and "nss.h"
6166 for __nss_configure_lookup.
6167 (output_hostent): Remove unused variable.
6169 1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6171 * string/tst-inlcall.c: Fix format string.
6173 1998-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6175 * inet/netinet/in.h: Rename second parameter of bindresvport to
6176 avoid buggy gcc warning. [PR libc/412]
6178 1998-02-04 18:04 Richard Henderson <rth@cygnus.com>
6180 * sysdeps/unix/sysv/linux/alpha/clone.S: Elide terminal ldgp for PROF.
6181 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: Fix typos.
6183 * sysdeps/unix/sysv/linux/alpha/bits/time.h (struct timeval):
6184 Follow POSIX and make tv_sec a time_t.
6185 * sysdeps/unix/sysv/linux/alpha/getitimer.S: New file to handle
6186 new tv64 syscall as well as fall back to tv32.
6187 * sysdeps/unix/sysv/linux/alpha/getrusage.S: Likewise.
6188 * sysdeps/unix/sysv/linux/alpha/gettimeofday.S: Likewise.
6189 * sysdeps/unix/sysv/linux/alpha/select.S: Likewise.
6190 * sysdeps/unix/sysv/linux/alpha/setitimer.S: Likewise.
6191 * sysdeps/unix/sysv/linux/alpha/settimeofday.S: Likewise.
6192 * sysdeps/unix/sysv/linux/alpha/utimes.S: Likewise.
6193 * sysdeps/unix/sysv/linux/alpha/wait4.S: Likewise.
6194 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add tv32 entries.
6196 * include/rpcsvc/nis.h: New. Bounce to nis/rpcsvc.
6197 * include/rpcsvc/nis_tags.h: Likewise.
6198 * include/rpcsvc/nislib.h: Likewise.
6200 1998-02-02 01:12 Ulrich Drepper <drepper@cygnus.com>
6202 * libc.map: Add _h_errno.
6203 * inet/herrno.c: Make _h_errno weak alias.
6205 * login/Makefile (distribute): Add pty-internal.h.
6207 * nscd/Makefile (distribute): Add all the files missing.
6209 * signal/allocrtsig.c: Fix problem with recognizing whether RT sigs
6212 * stdio-common/tstscanf.c: Rewrite a bit to continue after errors
6213 and report status at the end.
6215 * sysdeps/unix/sysv/linux/syscalls.list: Add lchown.
6217 * sysdeps/unix/sysv/linux/i386/sysdep.S: Make errno an initialized
6219 * sysdeps/unix/sysv/linux/powerpc/sysdep.c: Add alias _errno for errno.
6220 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.S: Likewise.
6221 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.S: Likewise.
6223 1998-01-03 20:47 Mark Kettenis <kettenis@phys.uva.nl>
6225 * configure.in: Fix --enable-add-ons code.
6227 1998-02-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6229 * elf/rtld.c (dl_main): Allow ":" as separator for LD_PRELOAD. Patch
6230 by Rudolf Leitgeb <leitgeb@leland.stanford.edu>.
6233 * sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use first
6234 occurence in cache. Reported by Rudolf Leitgeb
6235 <leitgeb@leland.stanford.edu>.
6238 1998-02-01 21:18 Ulrich Drepper <drepper@cygnus.com>
6240 * libio/iovsscanf.c: Set errno to 0 before calling _IO_vfscanf so
6241 that it never is EINTR (which is tested for in _IO_vfscanf).
6243 * Makefile.in: Call sub-make with CVSOPTS.
6245 * elf/Makefile (distribute): Add dl-procinfo.h.
6247 * sysdeps/unix/sysv/linux/alpha/Dist: Add rt_sigaction.S.
6249 1998-02-01 15:54 Ulrich Drepper <drepper@cygnus.com>
6251 * version.h (VERSION): Bump to 2.0.92.
6253 1998-01-31 Phil Blundell <philb@gnu.org>
6255 * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist): Additional weak
6256 alias for __new_sys_siglist.
6258 1998-02-01 00:53 Ulrich Drepper <drepper@cygnus.com>
6260 * grp/Makefile: Define USE_NSCD in CFLAGS for getgrnam_r.c and
6261 getgrgid_r.c if thread package is available.
6262 * pwd/Makefile: Likewise.
6263 * grp/getgrnam_r.c: Remove USE_NSCD definition.
6264 * grp/getgrgid_r.c: Likewise.
6265 * pwd/getpwnam_r.c: Likewise.
6266 * pwd/getpwuid_r.c: Likewise.
6268 1998-01-31 23:46 Ulrich Drepper <drepper@cygnus.com>
6270 * nss/getXXbyYY_r.c: If NSS function reports too small buffer return
6271 with error to allow user intervention.
6272 * nss/getXXent_r.c: Likewise.
6274 1998-01-31 21:18 Ulrich Drepper <drepper@cygnus.com>
6276 * sysdeps/generic/dl-sysdep.c (_dl_show_aux): Print newline after
6277 AT_PLATFORM string. Pretty print AT_BASE info.
6279 * sysdeps/generic/dl-sysdep.c: Include <dl-procinfo.h>.
6280 (_dl_show_aux): Call _dl_procinfo to print AT_HWCAP info.
6281 * sysdeps/generic/dl-procinfo.h: New file.
6282 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: New file.
6284 1998-01-31 20:52 Ulrich Drepper <drepper@cygnus.com>
6286 * nscd/grpcache.c (cache_grpinit): Let calloc do the multiplication.
6288 * nscd/pwdcache.c (cache_pwdinit): Use thread attribute to detach
6289 thread and not pthread_detach.
6291 * nscd/nscd.c: Rewrite to use argp instead of getopt.
6293 1998-01-31 Phil Blundell <philb@gnu.org>
6295 * configure.in: Add --without-cvs option to suppress automatic
6296 checkin of regenerated files.
6297 * config.make.in: Likewise.
6298 * Makefile: Respect with-cvs setting.
6299 * Makerules: Likewise.
6301 * configure.in: Allow the standalone ARM port to be configured.
6303 1998-01-31 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
6305 * grp/getgrgid_r.c: Define USE_NSCD.
6306 * grp/getgrnam_r.c: Likewise.
6307 * pwd/getpwuid_r.c: Likewise.
6308 * pwd/getpwnam_r.c: Likewise.
6310 * sysdeps/unix/inet/Subdirs: Add nscd subdir.
6312 * nss/getXXbyYY_r.c: Try at first nscd.
6314 * nscd/Makefile: New, for the Name Switch Cache Daemon (nscd).
6315 * nscd/connections.c: New file.
6316 * nscd/dbg_log.c: New file.
6317 * nscd/dbg_log.h: New file.
6318 * nscd/grpcache.c: New file.
6319 * nscd/nscd.c: New file.
6320 * nscd/nscd.h: New file.
6321 * nscd/nscd_conf.c: New file.
6322 * nscd/nscd_stat.c: New file.
6323 * nscd/pwdcache.c: New file.
6325 * nscd/nscd_getgr_r.c: New, client code, linked into libc.
6326 * nscd/nscd_getpw_r.c: Likewise.
6327 * nscd/nscd_proto.h: New, prototypes for client functions.
6329 * nscd/nscd.conf: New, example for a configuration file.
6330 * nscd/nscd.init: New, example for a startup script.
6332 * nscd/getgrgid_r.c: Old grp/getgrgid_r version, used from nscd to
6334 * nscd/getgrnam_r.c: Likewise.
6335 * nscd/getpwnam_r.c: Likewise.
6336 * nscd/getpwuid_r.c: Likewise.
6338 1998-01-31 11:44 Ulrich Drepper <drepper@cygnus.com>
6340 * intl/Makefile: Use CVSOPTS in cvs invocation.
6341 * po/Makefile: Likewise.
6342 * posix/Makefile: Likewise.
6343 * stdlib/Makefile: Likewise.
6345 1998-01-31 11:18 Ulrich Drepper <drepper@cygnus.com>
6347 * misc/efgcvt_r.c (fcvt_r): Handle illegal NDIGIT correctly.
6349 * misc/Makefile (tests): Add tst-efgcvt.
6350 * misc/tst-efgcvt.c: New file.
6352 1998-01-31 00:21 Ulrich Drepper <drepper@cygnus.com>
6354 * posix/regex.c: Add some more cleanups by Akim Demaille.
6356 1998-01-30 23:55 Ulrich Drepper <drepper@cygnus.com>
6358 * signal/signal.h: Revert last change.
6359 * string/strsignal.c: Regard signal number NSGI as illegal.
6360 * sysdeps/unix/sysv/linux/siglist.c: Define array only with NSIG
6363 1998-01-30 23:37 Ulrich Drepper <drepper@cygnus.com>
6365 * Makefile.in: Add comment about CVSOPTS Makefile variable.
6366 * Makerules: Use CVSOPTS in cvs invocation.
6367 * Makefile: Likewise.
6368 * MakeTAGS: Likewise.
6369 * Make-dist: Likewise.
6371 1998-01-30 22:37 Ulrich Drepper <drepper@cygnus.com>
6373 * sysdeps/generic/memmem.c: Correct last change.
6375 1998-01-30 22:12 Ulrich Drepper <drepper@cygnus.com>
6377 * sysdeps/unix/sysv/linux/Makefile [$(subdir)==nis]: Define
6378 CFLAGS-ypclnt.c to -DUSE_BINDINGDIR=1.
6380 1998-01-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
6382 * nis/ypclnt.c: Try at first to use the binding file from ypbind
6385 1998-01-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6387 * manual/memory.texi (Heap Consistency Checking): mcheck is
6388 declared in <mcheck.h>.
6389 Suggested by Jochen Voss <voss@mathematik.uni-kl.de> [PR libc/438]
6391 1998-01-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6393 * sysdeps/generic/memmem.c (memmem): An empty needle is at the
6394 beginning of haystack.
6396 1998-01-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6398 * nss/nss_files/files-service.c: Correct last patch.
6400 1998-01-30 21:29 Ulrich Drepper <drepper@cygnus.com>
6402 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Define
6403 __libc_have_rt_sigs.
6404 * sysdeps/sparc/sparc32/__longjmp.S: Define _SETJMP_H before
6405 including <bits/setjmp.h>.
6406 * sysdeps/sparc/sparc32/setjmp.S: Likewise.
6407 Patch from the Debian glibc/SPARC package.
6409 1997-12-12 07:57 H.J. Lu <hjl@gnu.org>
6411 * sysdeps/alpha/bzero.S: Fix a typo.
6412 * sysdeps/alpha/htonl.S: Ditto.
6413 * sysdeps/alpha/htons.S: Ditto.
6415 1998-01-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
6417 * nis/nss_nis/nis-hosts.c: Convert hostname to lowercase for NIS query.
6419 1998-01-30 19:58 Ulrich Drepper <drepper@cygnus.com>
6421 * include/cpio.h: Move to ...
6422 * posix/cpio.h: ...here.
6424 * locale/programs/ld-collate.c: Fix typo.
6426 * signal/signal.h: Declare _sys_siglist with NSIG+1 elements.
6428 * stdio-common/tiformat.c: Add checks for %#.0o and friends.
6430 * login/utmp_file.c (pututline_file): Don't always report success
6431 if similar entry is found. Patch by Mark M. Kettenis.
6433 1998-01-30 16:06 Philip Blundell <pb@nexus.co.uk>
6435 * manual/Makefile: Don't try to install the info files if makeinfo
6438 1998-01-30 12:05 Philip Blundell <pb@nexus.co.uk>
6440 * sysdeps/unix/sysv/linux/bits/ioctls.h: Include a copy of the
6441 kernel's network ioctls, rather than using <linux/sockios.h> to
6442 get them. This way we are sure of maintaining compatibility if
6443 the kernel interface should change.
6445 1998-01-30 15:52 Ulrich Drepper <drepper@cygnus.com>
6447 * sysdeps/unix/sysv/linux/Dist: Add netrose/rose.h.
6449 1998-01-25 19:54 Philip Blundell <Philip.Blundell@pobox.com>
6451 * sysdeps/unix/sysv/linux/netrose/rose.h: New file.
6452 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Install it.
6454 1998-01-27 22:29 Zack Weinberg <zack@rabi.phys.columbia.edu>
6456 Implement System V pseudoterminal handling.
6459 (routines): Add getpt, grantpt, unlockpt, ptsname.
6460 (libutil-routines): Remove pty. Add openpty, forkpty.
6461 (distribute): New internal header pty-internal.h.
6462 (others): Add the helper program, pt_chown.
6463 (install-others): Install it, in $(libexecdir), mode 4755.
6465 * login/pty-internal.h: New file.
6466 * login/openpty.c: New file.
6467 * login/forkpty.c: New file.
6468 * login/programs/pt_chown.c: New file.
6470 * libc.map: Add getpt, grantpt, unlockpt, ptsname, ptsname_r.
6471 * stdlib/stdlib.h: Prototype them.
6473 * config.make.in: Define $(libexecdir).
6474 * Makeconfig: Define $(inst_libexecdir).
6476 * sysdeps/generic/pty.c: Removed.
6477 * sysdeps/unix/sysv/linux/pty.c: Removed.
6479 * sysdeps/generic/getpt.c: Stub out.
6480 * sysdeps/generic/grantpt.c: Likewise.
6481 * sysdeps/generic/ptsname.c: Likewise.
6482 * sysdeps/generic/unlockpt.c: Likewise.
6484 * sysdeps/unix/grantpt.c: New file.
6485 * sysdeps/unix/bsd/getpt.c: New file.
6486 * sysdeps/unix/bsd/unlockpt.c: New file.
6487 * sysdeps/unix/sysv/linux/getpt.c: New file.
6488 * sysdeps/unix/sysv/linux/ptsname.c: New file.
6489 * sysdeps/unix/sysv/linux/unlockpt.c: New file.
6491 1998-01-29 23:56 Ulrich Drepper <drepper@cygnus.com>
6493 * localedata/locales/ru_RU: Fix YESEXPR. Patch by lav@yars.free.net.
6495 1998-01-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6497 * nss/Makefile (tests): Add rule for test-netdb.c.
6499 * nss/test-netdb.c: New file.
6501 1998-01-29 02:38 Ulrich Drepper <drepper@cygnus.com>
6503 * elf/dl-open.c (_dl_open): Make sure the variable `reloc' is
6504 really kept as a variable. Patch by Richard Henderson,
6505 reported by Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>.
6507 * elf/rtld.c (dl_main): Call _dl_init_paths before handling preloading.
6508 * elf/genrtldtbl.awk: Mark machine dependent directory of generated
6509 entries as not existing.
6511 1998-01-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6513 * stdio-common/vfprintf.c (process_arg): Fix printing of octal
6514 zero in alternate form with precision of zero, which must produce
6515 "0". Add braces to avoid ambiguous `else'.
6517 1998-01-26 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
6519 * nis/nss_compat/compat-grp.c: Fix memory leak and trailing null
6520 problem with strncpy.
6521 * nis/nss_compat/compat-pwd.c: Likewise.
6522 * nis/nss_compat/comapt-spwd.c: Likewise.
6524 1998-01-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6526 * assert/assert.h (assert_perror): Correct test for errnum. Patch
6527 by uch@nop.or.jp. [PR libc/437]
6529 1998-01-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6531 * nis/nis_cache.c: Include <unistd.h> for declaration of close.
6533 1998-01-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6535 * stdio-common/test-popen.c: Include <errno.h>.
6537 * sysdeps/unix/sysv/linux/if_index.c: Include <unistd.h> for
6540 * inet/getnetgrent_r.c: Include <errno.h>.
6542 * db2/db/db_conv.c: Include <string.h> for memcpy.
6544 * gmon/bb_exit_func.c: Include <string.h> instead of <strings.h>
6545 so that memcpy is declared.
6547 * iconv/iconv_open.c: Include <stdlib.h> for alloca.
6549 * misc/init-misc.c: Remove unneeded inclusion of <errno.h>.
6551 1998-01-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6553 * pwd/fgetpwent_r.c (__fgetpwent_r): Correctly handle buffer
6554 overflow while reading line with fgets.
6555 * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
6557 1998-01-27 00:46 Ulrich Drepper <drepper@cygnus.com>
6559 * sysdeps/unix/sysv/linux/bits/types.h (__ipc_pid_t): Change to
6560 unsigned short, not short.
6561 Reported by Andreas Jaeger.
6563 1998-01-06 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6565 * sysdeps/unix/sysv/linux/mips/syscalls.list: Correct typo
6568 * sysdeps/generic/inttypes.h: Fix spelling.
6570 1998-01-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6572 * sysdeps/unix/sysv/linux/arm/Dist: Add bits/mman.h.
6574 * sysdeps/unix/sysv/linux/alpha/Dist: Add net/route.h.
6576 1998-01-27 00:30 Ulrich Drepper <drepper@cygnus.com>
6578 * stdio-common/printf.h (struct print_info): Add new bitfield is_char.
6579 * stdio-common/printf-parse.h (parse_one_spec): Fill in is_char
6580 field for hh modifier.
6581 * stdio-common/vfprint.c: Use is_char field and do not depend in
6582 is_short having the value 2.
6583 Bug reported by Andreas Jaeger.
6585 1998-01-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6587 * libio/freopen.c (freopen): Call _IO_old_freopen only if defined
6588 PIC && DO_VERSIONING.
6590 1998-01-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6592 * Rules: Add rules for $(common-objpfx)dummy$o.
6594 1998-01-26 Richard Henderson <rth@cygnus.com>
6596 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Dyke out the
6597 unimplemented OSF/1 definitions so that they are not accidentally seen.
6599 * sysdeps/alpha/dl-machine.h (TRAMPOLINE_TEMPLATE): Move declaration
6600 of the trampoline function into the macro.
6601 * sysdeps/unix/sysv/linux/alpha/clone.S: Fix ldgp for PROF.
6602 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Revert last change;
6603 kernel 2.1.82 has this fixed.
6605 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S: New file.
6606 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: New file.
6608 1998-01-26 Ulrich Drepper <drepper@cygnus.com>
6610 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add change to
6611 support sigaction on kernels > 2.1.7x.
6613 1998-01-01 13:52 Ulrich Drepper <drepper@cygnus.com>
6615 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Don't map the file
6618 * elf/rtld.c (dl_main): Correct parsing of ld.so.preload file.
6619 Patch by David Engel <david@sw.ods.com>.
6621 * configure.in: Fix another typo in --enable-add-ons code.
6623 1998-01-26 03:48 Ulrich Drepper <drepper@cygnus.com>
6625 * sysdeps/unix/sysv/linux/siglist.c: Add copyright text.
6627 1998-01-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6629 * nss/nss_files/files-network.c: Correct order of parameters for
6632 1998-01-26 00:57 Ulrich Drepper <drepper@cygnus.com>
6634 * db2/Makefile (routines): Add os_alloc.
6635 * db2/db.h: Update from db-2.3.16.
6636 * db2/db_185.h: Likewise.
6637 * db2/db_int.h: Likewise.
6638 * db2/btree/bt_close.c: Likewise.
6639 * db2/btree/bt_cursor.c: Likewise.
6640 * db2/btree/bt_delete.c: Likewise.
6641 * db2/btree/bt_open.c: Likewise.
6642 * db2/btree/bt_page.c: Likewise.
6643 * db2/btree/bt_put.c: Likewise.
6644 * db2/btree/bt_rec.c: Likewise.
6645 * db2/btree/bt_recno.c: Likewise.
6646 * db2/btree/btree_auto.c: Likewise.
6647 * db2/common/db_appinit.c: Likewise.
6648 * db2/common/db_apprec.c: Likewise.
6649 * db2/common/db_err.c: Likewise.
6650 * db2/common/db_region.c: Likewise.
6651 * db2/common/db_shash.c: Likewise.
6652 * db2/db/db.c: Likewise.
6653 * db2/db/db_auto.c: Likewise.
6654 * db2/db/db_conv.c: Likewise.
6655 * db2/db/db_dispatch.c: Likewise.
6656 * db2/db/db_dup.c: Likewise.
6657 * db2/db/db_pr.c: Likewise.
6658 * db2/db/db_rec.c: Likewise.
6659 * db2/db185/db185.c: Likewise.
6660 * db2/dbm/dbm.c: Likewise.
6661 * db2/hash/hash.c: Likewise.
6662 * db2/hash/hash_auto.c: Likewise.
6663 * db2/hash/hash_dup.c: Likewise.
6664 * db2/hash/hash_page.c: Likewise.
6665 * db2/hash/hash_rec.c: Likewise.
6666 * db2/include/btree_ext.h: Likewise.
6667 * db2/include/clib_ext.h: Likewise.
6668 * db2/include/common_ext.h: Likewise.
6669 * db2/include/db.h.src: Likewise.
6670 * db2/include/db_185.h.src: Likewise.
6671 * db2/include/db_am.h: Likewise.
6672 * db2/include/db_ext.h: Likewise.
6673 * db2/include/db_int.h.src: Likewise.
6674 * db2/include/hash_ext.h: Likewise.
6675 * db2/include/lock_ext.h: Likewise.
6676 * db2/include/log.h: Likewise.
6677 * db2/include/log_auto.h: Likewise.
6678 * db2/include/log_ext.h: Likewise.
6679 * db2/include/mp.h: Likewise.
6680 * db2/include/mp_ext.h: Likewise.
6681 * db2/include/mutex_ext.h: Likewise.
6682 * db2/include/os_ext.h: Likewise.
6683 * db2/include/os_func.h: Likewise.
6684 * db2/include/txn_ext.h: Likewise.
6685 * db2/lock/lock.c: Likewise.
6686 * db2/lock/lock_util.c: Likewise.
6687 * db2/log/log.c: Likewise.
6688 * db2/log/log.src: Likewise.
6689 * db2/log/log_archive.c: Likewise.
6690 * db2/log/log_auto.c: Likewise.
6691 * db2/log/log_get.c: Likewise.
6692 * db2/log/log_put.c: Likewise.
6693 * db2/log/log_rec.c: Likewise.
6694 * db2/log/log_register.c: Likewise.
6695 * db2/mp/mp_bh.c: Likewise.
6696 * db2/mp/mp_fget.c: Likewise.
6697 * db2/mp/mp_fopen.c: Likewise.
6698 * db2/mp/mp_fput.c: Likewise.
6699 * db2/mp/mp_pr.c: Likewise.
6700 * db2/mp/mp_sync.c: Likewise.
6701 * db2/mutex/mutex.c: Likewise.
6702 * db2/os/os_alloc.c: Likewise.
6703 * db2/os/os_config.c: Likewise.
6704 * db2/os/os_stat.c: Likewise.
6705 * db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
6706 * db2/progs/db_deadlock/db_deadlock.c: Likewise.
6707 * db2/progs/db_load/db_load.c: Likewise.
6708 * db2/progs/db_printlog/db_printlog.c: Likewise.
6709 * db2/progs/db_recover/db_recover.c: Likewise.
6710 * db2/progs/db_stat/db_stat.c: Likewise.
6711 * db2/txn/txn.c: Likewise.
6713 * elf/dl-close.c (_dl_close): Rename inner variable named map to imap.
6714 Unmap memory blocks in reverse order of allocation.
6715 Call munmap with load address added to offset.
6716 Bug reported by Miguel de Icaza.
6718 * locale/programs/ld-collate.c (collate_end_weight): Correctly fill
6721 * localedata/locales/cs_CZ: Update by Michael Mraka
6722 <michael@informatics.muni.cz>.
6724 * misc/sys/syslog.h: Reformat a bit. Don't declare vsyslog unless
6727 * nis/nss_compat/compat-grp.c: Correctly handle buffer overflow while
6728 reading line with fgets.
6729 * nis/nss_compat/compat-pwd.c: Likewise.
6730 * nis/nss_compat/compat-spwd.c: Likewise.
6731 * nss/nss_files/files-XXX.c: Likewise.
6732 * nss/nss_files/files-alias.c: Likewise.
6733 * shadow/fgetspent_r.c: Likewise.
6735 * string/strerror_r.c: Correct comment. Patch by Andreas Jaeger.
6737 * sysdeps/unix/sysv/linux/bits/stat.h: Define _STATBUF_ST_RDEV.
6738 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
6739 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
6741 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Allocate room for
6742 FP register content in ucontext_t.
6744 1998-01-22 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6746 * sysdeps/libm-ieee754/s_modfl.c (modf): Correct
6747 calculation. Patch by Markus Schoder
6748 <Markus.Schoder@dresdner-bank.de>.
6750 * math/libm-test.c (modf_test): Add more tests for modf.
6752 * sysdeps/unix/sysv/linux/sys/mman.h: Add const to mlock and
6753 munlock according to Unix98.
6755 1998-01-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6757 * nss/nss_files/files-network.c (LINE_PARSER): Set n_addrtype to
6760 1998-01-21 07:22 H.J. Lu <hjl@gnu.org>
6762 * sysdeps/posix/ttyname.c: Handle symbolic links.
6763 * sysdeps/posix/ttyname_r.c: Ditto.
6765 1998-01-25 19:39 Ulrich Drepper <drepper@cygnus.com>
6767 * db2/makedb.c (process_input): Write terminating \0 for value.
6768 (print_database): Simply print value string, don't use length.
6770 1998-01-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6772 * nss/nsswitch.c (__nss_configure_lookup): Correct test for early
6775 1998-01-25 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
6777 * nis/ypclnt.c: Don't set dom_client to NULL, or we will not
6780 1998-01-25 14:54 Ulrich Drepper <drepper@cygnus.com>
6782 * signal/Makefile (routines): Add sighold, sigrelse, sigignore, and
6784 * signal/sighold.c: New file.
6785 * signal/sigrelse.c: New file.
6786 * sysdeps/generic/sigignore.c: New file.
6787 * sysdeps/generic/sigset.c: New file.
6788 * sysdeps/posix/sigignore.c: New file.
6789 * sysdeps/posix/sigset.c: New file.
6790 * signal/signal.h: Add prototypes for new functions.
6792 * sysdeps/unix/sysv/linux/alpha/bits/signum.h: Define SIG_HOLD.
6793 * sysdeps/unix/sysv/linux/bits/signum.h: Likewise.
6794 * sysdeps/unix/sysv/linux/mips/bits/signum.h: Likewise.
6795 * sysdeps/unix/sysv/linux/sparc/bits/signum.h: Likewise.
6797 1998-01-23 00:16 Tim Waugh <tim@cyberelk.demon.co.uk>
6799 * posix/wordexp.c: Added IFS field-splitting in parameter and
6800 command substitution. Fixed an IFS-related bug that caused an
6803 1998-01-25 12:38 Ulrich Drepper <drepper@cygnus.com>
6805 * stdlib/Makefile (routines): Add getcontext, setcontext, makecontext,
6807 * stdlib/ucontext.h: Correct prototypes.
6808 * sysdeps/generic/getcontext.c: New file.
6809 * sysdeps/generic/setcontext.c: New file.
6810 * sysdeps/generic/makecontext.c: New file.
6811 * sysdeps/generic/swapcontext.c: New file.
6812 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: Removed.
6814 1998-01-25 04:07 Ulrich Drepper <drepper@cygnus.com>
6816 * resource/sys/resource.h: Remove #include of ulimit.h which is
6817 not allowed by SUSv2 and not available on other systems.
6818 * sysdeps/unix/sysv/linux/ulimit.c: Include ulimit.h.
6820 * streams/Makefile: New file.
6821 * streams/stropts.h: New file.
6822 * sysdeps/generic/bits/stropts.h: New file.
6823 * sysdeps/generic/isastream.c: New file.
6824 * sysdeps/generic/getmsg.c: New file.
6825 * sysdeps/generic/getpmsg.c: New file.
6826 * sysdeps/generic/putmsg.c: New file.
6827 * sysdeps/generic/putpmsg.c: New file.
6828 * sysdeps/generic/fattach.c: New file.
6829 * sysdeps/generic/fdetach.c: New file.
6830 * sysdeps/unix/inet/Subdirs: Add streams.
6831 * sysdeps/generic/bits/types.h: Add definition of __t_scalar_t and
6833 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
6834 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
6835 * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
6836 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
6838 * sysdeps/mach/_strerror.c: Follow changes of generic version to
6839 handle small buffers correctly.
6841 1998-01-24 17:31 H.J. Lu <hjl@gnu.org>
6843 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
6844 Remove the 3rd arg and add declaration for _dl_runtime_resolve
6845 and _dl_runtime_profile.
6847 1998-01-25 02:42 Ulrich Drepper <drepper@cygnus.com>
6849 * include/cpio.h: New file. Mainly copied from GNU cpio.
6850 * posix/Makefile (headers): Add cpio.h.
6852 1998-01-24 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
6854 * nis/Makefile: Distribute nis_cache2.h, add nis cache functions
6856 * nis/nis_cache.c: New file.
6857 * nis/nis_cache2.h: New file.
6858 * nis/nis_cache2_xdr.c: New file.
6859 * nis/nis_call.c: Changes for cache2_info parameter.
6860 * nis/nis_checkpoint.c: Likewise.
6861 * nis/nis_intern.h: Likewise.
6862 * nis/nis_mkdir.c: Likewise.
6863 * nis/nis_ping.c: Likewise.
6864 * nis/nis_rmdir.c: Likewise.
6865 * nis/nis_server.c: Likewise.
6866 * nis/nis_util.c: Likewise.
6868 1997-12-30 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
6870 * nis/nss_nisplus/nisplus-alias.c: Fix bogus if case and
6871 return/errnop codes.
6872 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
6873 * nis/nss_nisplus/nisplus-grp.c: Likewise.
6874 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
6875 * nis/nss_nisplus/nisplus-proto.c: Likewise.
6876 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
6877 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
6878 * nis/nss_nisplus/nisplus-rpc.c: Likewise
6879 * nis/nss_nisplus/nisplus-service.c: Likewise.
6880 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
6882 1997-12-28 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
6884 * nis/nss_nis/nis-alias.c: Use errnop, not __set_errno().
6885 * nis/nss_nis/nis-ethers.c: Likewise.
6886 * nis/nss_nis/nis-grp.c: Likewise.
6887 * nis/nss_nis/nis-hosts.c: Likewise.
6888 * nis/nss_nis/nis-network.c: Likewise.
6889 * nis/nss_nis/nis-proto.c: Likewise.
6890 * nis/nss_nis/nis-hosts.c: Likewise.
6891 * nis/nss_nis/nis-network.c: Likewise.
6892 * nis/nss_nis/nis-proto.c: Likewise.
6893 * nis/nss_nis/nis-publickey.c: Likewise.
6894 * nis/nss_nis/nis-pwd.c: Likewise.
6895 * nis/nss_nis/nis-rpc.c: Likewise.
6896 * nis/nss_nis/nis-service.c: Likewise.
6897 * nis/nss_nis/nis-spwd.c: Likewise.
6899 1998-01-24 Ulrich Drepper <drepper@cygnus.com>
6901 * sysdeps/unix/sysv/linux/net/if.h (ifr_bandwidth, ifr_qlen):
6902 Added to follow latest kernel development.
6904 1998-01-24 15:13 Ulrich Drepper <drepper@happy.cygnus.com>
6906 * nss/db-Makefile: Handle empty and comment lines better.
6907 ($(VAR_DB)/services.db): Generate entries with missing protocol
6910 1998-01-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6912 * nss/nss_files/files-service.c (getservbyport): Allow proto ==
6914 (getservbyname): Allow proto == NULL.
6915 Pointed out by David N. Welton <davidw@gate.cks.com>.
6918 1998-01-24 11:34 Ulrich Drepper <drepper@happy.cygnus.com>
6920 * nis/nislib/nislib.h: Finally removed.
6922 * lib/mktime.c (__mktime_internal): Work around bug in Irix4.0.5's
6923 C compiler. From Kaveh Ghazi.
6924 (TYPE_MINIMUM): Define.
6925 (TYPE_MAXIMUM): Define.
6926 (TIME_T_MIN): Use TYPE_MINIMUM.
6927 (TIME_T_MAX): Use TYPE_MAXIMUM.
6928 Patch by Jim Meyering <meyering@ascend.com>.
6930 1998-01-22 00:55 Ulrich Drepper <drepper@happy.cygnus.com>
6932 * libc.map: Add __libc_uid, __libc_pid, __syscall_rt_sigqueueinfo,
6933 __pread64, __pwrite64, and __getpid.
6935 * rt/aio_misc.c: Use pread and pwrite instead of __ protected
6938 1998-01-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6940 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define the
6941 cancelable socket functions as __libc_xxx with __xxx as weak
6943 * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
6944 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6946 * sysdeps/unix/sysv/linux/m68k/socket.S: Allow __socket to be
6948 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6949 * sysdeps/unix/sysv/linux/arm/socket.S: Likewise.
6950 * sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
6951 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
6953 * sysdeps/unix/sysv/linux/accept.S: Make __libc_xxx the main name
6954 and __xxx a weak alias.
6955 * sysdeps/unix/sysv/linux/connect.S: Likewise.
6956 * sysdeps/unix/sysv/linux/recv.S: Likewise.
6957 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
6958 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
6959 * sysdeps/unix/sysv/linux/send.S: Likewise.
6960 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
6961 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
6963 1998-01-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6965 * locale/langinfo.h: Add defines.
6967 * dirent/dirent.h: Add defines for DT_*, check also for
6968 _DIRENT_HAVE_D_TYPE.
6969 Suggested by Roland McGrath.
6971 1998-01-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
6973 * sysdeps/unix/sysv/linux/netinet/ip_fw.h:
6974 Update from Linux 2.1.73+79.
6976 * README.template: Update information about possible
6979 * manual/mbyte.texi (Wide String Conversion): Fix declaration of
6980 wcstombs. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
6983 * manual/time.texi (Priority): Correct description of
6984 PRIO_MAX. Pointed out by Jochen Voss <voss@mathematik.uni-kl.de>.
6987 11998-01-21 21:34 Ulrich Drepper <drepper@cygnus.com>
6989 * sysdeps/alpha/fpu/bits/mathdef.h: Add definition of FP_ILOGB0 and
6990 FP_ILOGNAN. Patch by a sun <asun@zoology.washington.edu>.
6992 1998-01-21 17:53 Ulrich Drepper <drepper@cygnus.com>
6994 * sysdeps/generic/_strerror.c: Handle BUFLEN == 0. Reported by
6997 1998-01-20 18:13 Ulrich Drepper <drepper@cygnus.com>
6999 * locale/programs/ld-collate.c: Little optimizations.
7001 * stdio-common/xbug.c: Unset LD_LIBRRARY_PATH variable.
7003 * string/Makefile (tests): Add tst-inlcall.
7004 * string/tst-inlcall.c: New file.
7006 * string/strsignal.c: Add support for real-time signals.
7008 * sysdeps/generic/_strerror.c: Fix Handling of unknown error in
7009 presense of small buffer.
7011 * sysdeps/i386/bits/string.h: Define _HAVE_STRING_ARCH_* macros.
7013 * sysdeps/i386/i486/bits/string.h: Correct strrchr implementation
7016 * sysdeps/unix/sysv/linux/siglist.c: Change length of arrays to
7019 1998-01-02 15:10 Matthias Urlichs <urlichs@noris.de>
7021 * Rules: Add explicit rule for dummy.o; at least one library needs
7022 it and it isn't autogenerated by the default rules.
7024 1997-12-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7026 * math/libm-test.c: Tweak epsilons.
7028 1997-12-31 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7030 * math/test-fenv.c (feenv_nomask_test): Avoid dumping core in the
7032 (feenv_mask_test): Likewise.
7034 1998-01-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7036 * Makeconfig: Don't export CPPFLAGS.
7038 1998-01-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7040 * sunrpc/rpc_main.c (parseargs): Use perror to print error
7043 1998-01-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7045 * nss/nss_db/db-alias.c (_nss_db_getaliasent_r): Don't include
7046 terminating null in key size.
7048 1998-01-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7050 * nss/nss_files/files-service.c: Fix allocation size to include
7053 * nss/nss_db/db-XXX.c (lookup): Always set errno and h_errno if
7054 applicable. Fix return value and error checking.
7055 (CONCAT(_nss_db_get,ENTNAME_r)): Loop around to skip over
7057 (DB_LOOKUP): Allocate space for terminating null byte.
7059 * nss/db-Makefile ($(VAR_DB)/passwd.db): Don't handle duplicate
7062 * db2/makedb.c (process_input): Continue processing if a duplicate
7065 1998-01-19 15:20 Ulrich Drepper <drepper@cygnus.com>
7067 * time/tzfile.h: Updated from tzcode1998b.
7068 * time/zdump.c: Likewise.
7069 * time/zic.c: Likewise.
7070 * time/africa: Update from tzdata1998b.
7071 * time/antarctica: Likewise.
7072 * time/asia: Likewise.
7073 * time/australasia: Likewise.
7074 * time/etcetera: Likewise.
7075 * time/europe: Likewise.
7076 * time/leapseconds: Likewise.
7077 * time/northamerica: Likewise.
7078 * time/southamerica: Likewise.
7080 1998-01-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7082 * nss/nss_files/files-alias.c (get_next_alias): Do mail alias
7083 lookups ignoring case.
7084 * nss/nss_files/files-network.c: Do network lookups ignoring
7086 * nss/nss_files/files-hosts.c: Do hostname lookups ignoring
7088 * nss/nss_files/files-parse.c (LOOKUP_NAME_CASE): New macro for
7089 case insensitive comparing.
7090 Patches by Cristian Gafton <gafton@redhat.com>.
7092 1998-01-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7094 * sysdeps/unix/sysv/linux/net/if.h: Add IFF_*defines. Suggested
7095 by Roland McGrath. [PR libc/395]
7097 1998-01-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7099 * manual/arith.texi (Parsing of Integers): Correct description of
7100 strtoul. Pointed out by Scott Snyder <snyder@fnald0.fnal.gov>.
7103 1997-12-30 14:14 Matthias Urlichs <urlichs@noris.de>
7105 * misc/lsearch.c (lsearch): Return a pointer to the new element
7106 if one was "allocated".
7108 1997-12-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7110 * string/strsignal.c: NSIG is not a valid index into
7111 _sys_siglist. Don't zap the last character of the "Unknown
7114 1998-01-19 15:08 Ulrich Drepper <drepper@cygnus.com>
7116 * locale/programs/charmap.c (parse_charmap): Correct parsing of
7117 ellipsis expressions.
7119 * locale/programs/charset.c (insert_char): Correctly insert value
7120 of eliipsis expression.
7122 1997-12-28 15:08 Ulrich Drepper <drepper@cygnus.com>
7124 * sysdeps/powerpc/__longjmp.S: Define _SETJMP_H before including
7126 * sysdeps/powerpc/setjmp.S: Likewise.
7127 Patches by Matt McLean <keys@keys.got.net>.
7129 * Make-dist (sysdep_dirs): Ignore bits dirs while searching.
7131 * Makefile: Undo last patch.
7132 (distribute): Add test-installation.pl.
7134 * configure.in: Correct handling of --enable-add-ons without parameter.
7135 Correct address of WWW pages.
7137 * libc.map: Add _nl_domain_bindings.
7139 * db2/mutex/tsl_parisc.s: New file.
7141 * iconvdata/Makefile (distribute): Add jis0201.c, jis0208.c, jis0212.c,
7142 and extra-module.mk.
7144 * localedata/Makefile (distribute): New. Add all the files.
7146 * stdlib/Makefile (headers): Add inttypes.h.
7147 (routines): Add strtoimax, strtoumax, wcstoimax, and wcstoumax.
7148 * sysdeps/generic/inttypes.h: New file.
7149 * sysdeps/generic/strtoimax.c: New file.
7150 * sysdeps/generic/strtoumax.c: New file.
7151 * sysdeps/generic/wcstoimax.c: New file.
7152 * sysdeps/generic/wcstoumax.c: New file.
7153 * sysdeps/wordsize-32/Dist: Removed.
7154 * sysdeps/wordsize-32/Makefile: Removed.
7155 * sysdeps/wordsize-64/Dist: Removed.
7156 * sysdeps/wordsize-64/Makefile: Removed.
7157 * sysdeps/generic/bits/environments.h: New file.
7159 * include/limits.h: Define MB_LEN_MAX in any case to 6. The gcc
7160 header is still not correct.
7162 * io/fcntl.h [__USE_FILE_OFFSET64]: We have to use the __*64 types.
7163 * posix/unistd.h: Likewise.
7164 * sysdeps/generic/sys/mman.h: Likewise.
7165 * sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
7167 * manual/arith.texi: Change definition of mul macro.
7168 * manual/math.texi: Likewise.
7170 * misc/Makefile (routines): Add mmap64.
7171 * sysdeps/generic/mmap64.c: New file.
7172 * sysdeps/unix/sysv/linux/alpha/mmap64.c: New file.
7173 * sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: New file.
7174 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __mmap64 and mmap64
7176 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7178 * sysdeps/generic/setrlimit64.c: Don't mark as stub.
7180 * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r): Pretty print.
7182 * nis(rpcsvc/nis_tags.h: Prevent warning by unknown pragma.
7184 * sysdeps/posix/mk-stdiolim.c: Generate correct file which defines
7185 FOPEN_MAX also when included by limits.h.
7186 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
7188 * sysdeps/unix/sysv/linux/Dist: Add oldsiglist.c, netax25/ax25.h,
7189 and netrom/netrom.h.
7190 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=stdio-common]: Add
7191 oldsiglist to sysdep_routines, not aux.
7192 [$(subdir)=inet] (sysdep_headers): Add netax25/ax25.h, netrom/netrom.h.
7194 * sysdeps/unix/sysv/linux/bits/socket.h: Remove SOL_AX25, SOL_ATALK,
7195 and SOL_NETROM definition.
7197 * sysdeps/unix/sysv/linux/i386/Dist: Add s_pwrite64.S and s_pread64.S.
7199 * sysdeps/unix/sysv/linux/net/route.h: Pretty print.
7200 * sysdeps/unix/sysv/linux/netatalk/at.h: Pretty print.
7202 1997-12-25 Ulrich Drepper <drepper@cygnus.com>
7204 * sysdeps/unix/sysv/linux/alpha/net/route.h: New file.
7206 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Replace
7207 sa_handler with k_sa_handler.
7208 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __getrlimit as
7212 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't define
7213 __libc_have_rt_sigs here.
7214 * sysdeps/unix/sysv/linux/sigaction.c: Do it instead here.
7215 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7216 * sysdeps/unix/sysv/linux/sigpending.c: Correct comment.
7217 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
7219 1997-12-11 07:51 Geoff Keating <geoffk@ozemail.com.au>
7221 * sysdeps/powerpc/atomicity.h: New file.
7222 * sysdeps/mach/powerpc/machine-lock.h: New file.
7224 * Rules: Use -fpic to build anything that might end up in a users'
7227 * sysdeps/powerpc/s_fdim.c: New file.
7228 * sysdeps/powerpc/s_fdimf.c: New file.
7229 * sysdeps/powerpc/s_fmax.S: New file.
7230 * sysdeps/powerpc/s_fmaxf.S: New file.
7231 * sysdeps/powerpc/s_fmin.S: New file.
7232 * sysdeps/powerpc/s_fminf.S: New file.
7233 * sysdeps/powerpc/s_llrint.c: Now is for double.
7234 * sysdeps/powerpc/s_llrintf.c: New file.
7235 * sysdeps/powerpc/s_llround.c: Now is for double.
7236 * sysdeps/powerpc/s_llroundf.c: New file.
7237 * sysdeps/powerpc/s_lrint.c: Now is for double.
7238 * sysdeps/powerpc/s_lrintf.S: New file.
7239 * sysdeps/powerpc/s_lround.c: Now is for double.
7240 * sysdeps/powerpc/s_lroundf.c: New file.
7241 * sysdeps/powerpc/bits/mathinlines.h: Add inline versions of lrint,
7242 lrintf, fdim, fdimf.
7244 * sysdeps/unix/sysv/linux/powerpc/kernel_termios.h: Don't use bits/
7245 file directly, use its parent.
7247 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Re-instate '++'
7248 (for the third time).
7250 1997-12-20 13:50 Richard Henderson <rth@cygnus.com>
7252 * posix/sched.h: timespec is in <time.h>.
7254 * sysdeps/unix/sysv/linux/sys/kd.h: Don't redefine _LINUX_TYPES_H.
7256 1997-12-22 18:10 Ulrich Drepper <drepper@cygnus.com>
7258 * configure.in: Stop with error if --disable-static is used when
7259 the shared lib uses this library.
7261 * gen-FAQ.pl: I've perl installed in /usr/bin.
7263 * include/bits/xopen_lim.h (STREAM_MAX): Define using FOPEN_MAX.
7265 Fix Unix98 conformance problems in the headers.
7266 * catgets/nl_types.h: Define nl_item.
7267 * grp/grp.h: Define gid_t.
7268 * include/features.h [_POSIX_C_SOURCE]: Don't define _XOPEN_SOURCE.
7269 * include/nl_types.h: New file.
7270 * include/ulimit.h: New file.
7271 * io/fcntl.h: Include sys/stat.h for Unix98. Don't define locking
7272 constants in POSIX mode.
7273 * io/utime.h: Get definition for time_t.
7274 * io/sys/stat.h: Define dev_t, gid_t, ino_t, mode_t, nlink_t, off_t,
7275 uid_t, pid_t. Define D_IFLNK and S_IFSOCK only if !__USE_UNIX98.
7276 * libio/stdio.h: Define va_list. Make snprintf also available is
7277 __USE_UNIX98. Declare getopt function and variables.
7278 * locale/langinfo.h: Include nl_types.h. Don't define nl_item.
7279 Define CODESET, CRNCYSTR, RADIXCHAR and THOUSEP as aliases.
7280 * math/math.h: Defined M_* constants as double for Unix98 mode.
7281 * posix/fnmatch.h: Pretty print. Define FNM_NOSYS.
7282 * posix/glob.h: Pretty print. Define GLOB_NOSYS.
7283 * posix/regex.h: Define REG_NOSYS.
7284 * posix/wordexp.h: Define WRDE_NOSYS.
7285 * posix/unistd.h: Define _POSIX2_VERSION. Define _XOPEN_VERSION to
7287 * posix/sys/types.h: Alloc dev_t, mode_t, nlink_t to be defined
7288 somewhere else as well. Define clock_t for Unix98.
7289 * posix/sys/wait.h: Define pid_t.
7290 * pwd/pwd.h: Define gid_t, uid_t.
7291 * resource/Makefile (headers): Add ulimit.h.
7292 * resource/ulimit.h: New file.
7293 * sysdeps/generic/ulimit.c: Define according to X/Open using varargs
7294 instead of second argument.
7295 * sysdeps/unix/bsd/ulimit.c: Likewise. Use UL_* constants.
7296 * sysdeps/unix/sysv/linux/ulimit.c: Likewise.
7297 * resource/sys/resource.h: Don't declare ulimit here, include ulimit.h.
7298 * signal/signal.h: Define pid_t.
7299 * string/string.h: Don't declare BSD string functions in POSIX mode.
7300 * sysdeps/generic/bits/confname.h: Define _PC_VDISABLE. Add
7301 _SC_XOPEN_LEGACY, _SC_XOPEN_REALTIME and _SC_XOPEN_REALTIME_THREADS.
7302 * sysdeps/unix/sysv/linux/bits/termios.h: Clean namespace for Unix98
7305 * inet/test_ifindex.c: Change test so that it does not fail for
7308 * locale/programs/locale.c (show_info): Use correct cast sequence
7311 * malloc/malloc.c: __malloc_initialized now signals three states:
7312 uninitialized, initializing, initialized. Used in mcheck.
7313 * malloc/mcheck.c (mabort): Add '\n' to messages.
7314 (mcheck): Allow installation when malloc is uninitialized or is
7317 * manual/memory.texi: Explain mtrace output a bit more.
7319 * math/libm-test.c: Add more epsilons.
7321 * misc/regexp.h (compile): Remove __ prefix from parameter names.
7323 * nis/nss_nis/nis-ethers.c (internal_nis_getetherent_r): Use strncpy
7324 instead of strcpy for security.
7325 * nis/nss_nis/nis-proto.c (internal_nis_getprotoent_r): Likewise.
7326 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r): Likewise.
7327 * nis/nss_nis/nis-service.c (internal_nis_getservent_r): Likewise.
7329 * nss/digits_dots.c: Pretty print.
7331 * posix/getconf.c (vars): Add symbols for programming environment
7332 recognition. Recognize --version.
7334 * sysdeps/generic/sysconf.c: Handle _SC_XBS5_*, _SC_XOPEN_LEGACY,
7335 _SC_XOPEN_REALTIME, and _SC_XOPEN_REALTIME_THREADS.
7336 * sysdeps/posix/sysconf.c: Handle _SC_XBS5_* and new _XOPEN_* symbols.
7338 * sysdeps/generic/bits/stdio_lim.h: Implement handling of
7340 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Likewise.
7341 * sysdeps/posix/mk-stdiolim.c: Change to generate file handling
7344 * sysdeps/unix/sysv/linux/Dist: Add rt_sigpending.c.
7345 * sysdeps/unix/sysv/linux/rt_sigpending.c: New file.
7347 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Define __ipc_pid_t.
7348 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
7349 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
7350 * sysdeps/unix/sysv/linux/bits/msq.h: Use __ipc_pid_t.
7351 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7352 * sysdeps/unix/sysv/linux/mips/bits/types.h: New file.
7354 * sysdeps/wordsize-32/inttypes.h: Add SCNd8, SCNi8, SCNo8, SCNx8,
7356 * sysdeps/wordsize-64/inttypes.h: Likewise.
7358 * time/africa: Update from tzdata1997j.
7359 * time/antarctica: Likewise.
7360 * time/asia: Likewise.
7361 * time/australasia: Likewise.
7362 * time/backward: Likewise.
7363 * time/etcetera: Likewise.
7364 * time/europe: Likewise.
7365 * time/factory: Likewise.
7366 * time/northamerica: Likewise.
7367 * time/pacificnew: Likewise.
7368 * time/southamerica: Likewise.
7370 * time/tzfile.h: Update from tzcode1997h.
7371 * time/zic.c: Likewise.
7373 * wcsmbs/wchar.h: Get definition of FILE. Define `struct tm' tag.
7374 Declare wcwidth and wcswidth for __USE_XOPEN. Declare the
7375 isw*() functions for Unix98.
7376 * wctype/towctrans.c: Define as __towctrans, make towctrans weak alias.
7377 * wctype/wctype.h: Declare isw*() functions also if __need_iswxxx
7380 1997-12-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7382 * locale/duplocale.c: Increase usage_count only if less than
7384 * locale/freelocale.c: Test usage_count against UNDELETABLE, not
7386 * locale/setlocale.c: Likewise.
7388 1997-12-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7390 * Makefile ($(inst_includedir)/gnu/stubs.h): Use a more direct
7391 dependency to make it easier to install it selectively.
7393 * Makerules (.SUFFIXES): Don't define any suffixes.
7395 1997-12-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7397 * sysdeps/generic/fstatfs64.c: Emulate using fstatfs.
7398 * sysdeps/generic/statfs64.c: Emulate using statfs.
7399 * sysdeps/generic/getrlimit64.c: Emulate using getrlimit.
7400 * sysdeps/generic/setrlimit64.c: Emulate using setrlimit.
7401 * sysdpes/generic/ftruncate64.c: New file.
7402 * sysdpes/generic/truncate64.c: New file.
7404 * sysdeps/generic/bits/stat.h: Add LFS support.
7405 * sysdeps/generic/bits/statfs.h: Likewise.
7407 * sysdeps/unix/bsd/sun/sunos4/bits/resource.h (RLIM_INFINITY)
7408 [__USE_FILE_OFFSET64]: Make long long constant.
7409 (RLIM64_INFINITY): Likewise.
7411 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Correct
7413 (RLIM64_INFINITY) [__USE_LARGEFILE64]: Define.
7414 * sysdeps/generic/bits/resource.h: Likewise.
7416 * misc/Makefile (routines): Add truncate64 and ftruncate64.
7418 * include/features.h: Don't prevent LFS support from defining BSD
7421 * dirent/dirent.h [__USE_FILE_OFFSET64]: Don't use xxx64 names.
7422 * io/ftw.h [__USE_FILE_OFFSET64]: Likewise.
7423 * io/sys/stat.h [__USE_FILE_OFFSET64]: Likewise.
7425 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Add xxx64 alias for
7426 fstatfs, statfs, getrlimit, setrlimit, ftruncate and truncate.
7427 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7429 * sysdeps/unix/sysv/linux/alpha/fstatfs64.c: New file.
7430 * sysdeps/unix/sysv/linux/alpha/statfs64.c: New file.
7431 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
7432 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: New file.
7433 * sysdeps/unix/sysv/linux/alpha/ftruncate64.c: New file.
7434 * sysdeps/unix/sysv/linux/alpha/truncate64.c: New file.
7435 * sysdeps/unix/sysv/linux/alpha/readdir.c: New file.
7436 * sysdeps/unix/sysv/linux/alpha/readdir64.c: New file.
7437 * sysdeps/unix/sysv/linux/alpha/readdir64_r.c: New file.
7438 * sysdeps/unix/sysv/linux/alpha/readdir_r.c: New file.
7439 * sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: New file.
7440 * sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: New file.
7441 * sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: New file.
7442 * sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: New file.
7443 * sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: New file.
7444 * sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: New file.
7445 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: New file.
7446 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: New file.
7447 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: New file.
7448 * sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: New file.
7450 * sysdeps/unix/sysv/linux/fxstat64.c: New file.
7451 * sysdeps/unix/sysv/linux/lxstat64.c: New file.
7452 * sysdeps/unix/sysv/linux/xstat64.c: New file.
7453 * sysdeps/unix/sysv/linux/readdir64.c: New file.
7454 * sysdeps/unix/sysv/linux/readdir64_r.c: New file.
7456 * sysdeps/unix/sysv/linux/getdents64.c: New file.
7457 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
7458 [$(subdir)=dirent]: Add getdents64.
7459 * sysdeps/unix/sysv/linux/Dist: Add getdents64.c.
7461 * sysdeps/unix/sysv/linux/xstatconv.c: LFS support.
7463 1997-12-18 12:07 Philip Blundell <pb@nexus.co.uk>
7465 * sysdeps/generic/bits/statfs.h (struct statfs64): Added.
7467 * sysdeps/generic/getrlimit.c: Include <sys/types.h>.
7468 * sysdeps/generic/getrlimit64.c: Likewise.
7469 * sysdeps/generic/setrlimit.c: Likewise.
7470 * sysdeps/generic/setrlimit64.c: Likewise.
7472 1997-12-17 13:57 Philip Blundell <pb@nexus.co.uk>
7474 * sysdeps/unix/sysv/linux/siglist.c: Fix compile problem if not
7477 * sysdeps/generic/waitid.c: Include <sys/types.h> for id_t.
7479 * sysdeps/standalone/arm/bits/errno.h (EBUSY): Added.
7481 1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7483 * locale/programs/ld-ctype.c (ctype_output): Clear out the padding
7484 after the codeset name.
7486 1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7488 * libc.map: Add get_kernel_syms.
7490 1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7492 * sysdeps/generic/testrtsig.h (kernel_has_rtsig): Make
7494 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig):
7495 Likewise. Fix condition.
7497 1997-12-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7499 * libio/Makefile (routines) [$(versioning)=yes]: Add oldiofdopen.
7501 1997-12-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7503 * sysdeps/m68k/fpu/bits/mathinline.h: Don't define exp2 inline.
7504 Define scalbln{,f,l} under __USE_ISOC9X, not __USE_MISC.
7506 1997-12-15 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7508 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Put back.
7509 * sysdeps/unix/sysv/linux/powerpc/sigreturn.S: Delete this
7512 1997-12-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7514 * configure.in (libc_cv_gcc_alpha_ng_prefix): Correct quoting.
7516 1997-12-16 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7518 * math/libm-test.c (catanh_test): Change epsilon.
7519 Reported by H.J. Lu.
7521 1997-12-14 19:39 H.J. Lu <hjl@gnu.org>
7523 * libc.map (__getpid): Added for linuxthreads.
7525 1997-12-13 21:09 H.J. Lu <hjl@gnu.org>
7527 * configure.in (HAVE_DWARF2_UNWIND_INFO_STATIC): Define
7528 it if gcc uses static variable in DWARF2 unwind information
7529 for exception support.
7531 * config.h.in (HAVE_DWARF2_UNWIND_INFO_STATIC): New.
7533 * elf/soinit.c (__libc_global_ctors, _fini): Handle
7534 HAVE_DWARF2_UNWIND_INFO_STATIC.
7536 * libc.map (__register_frame*, __deregister_frame*): Make them
7539 1997-12-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7541 * math/libm-test.c: Add more tests for "normal" values.
7543 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7545 * stdio-common/printf_fphex.c: Fix printing of long double number
7546 with a biased exponent of zero. Fix rounding.
7548 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7550 * sunrpc/rpc_main.c: Accept new flag -$.
7551 * sunrpc/Makefile (rpcgen-cmd): Pass it here.
7553 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7555 * Makefile ($(inst_slibdir)/libc-$(version).so): Install the
7556 dynamic linker first, in case the interface has changed.
7558 1997-12-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7560 * nss/nss_files/files-alias.c (get_next_alias): Fix parameter
7563 1997-12-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7565 * math/tgmath.h: Check for double first, for architectures where
7566 sizeof (long double) == sizeof (double).
7568 1997-12-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7570 * math/libm-test.c: New tests for "normal" values added for most
7573 1997-12-14 21:33 Ulrich Drepper <drepper@cygnus.com>
7575 * version.h (VERSION): Bump to 2.0.91.
7577 * db2/makedb.c (process_input): Fix typo in message.
7578 * sunrpc/rpcinfo.c (pmapdump): Unify messages.
7580 * elf/dynamic-link.h: Pretty print.
7582 * elf/rtld.c: Allow multiple preloading of a shared object.
7584 * include/limits.h: Prevent multiple inclusion.
7586 * malloc/Makefile (headers): Add mcheck.h.
7587 (distribute): Remove it here.
7588 * malloc/mcheck.h: Pretty print.
7589 * malloc/mtrace.c (mallenv): Make `const'.
7590 * malloc/mtrace.pl: Don't print table head for memory leaks if there
7592 * manual/memory.texi: Update descriptor of malloc hooks.
7594 * posix/Makefile (routines): Add waitid.
7595 * posix/sys/types.h [__USE_SVID || __USE_POSIX]: Define id_t based
7597 * posix/sys/wait.h: Define idtype_t type.
7598 Add prototype for waitid.
7599 * signal/signal.h: Move definition of sigval_t to <bits/siginfo.h>.
7600 * sysdeps/generic/waitid.c: Stub for waitid.
7601 * sysdeps/generic/bits/siginfo.h: Define sigval_t. Arrange to work
7602 the __need_siginfo_t defined.
7603 * sysdeps/unix/sysv/linux/bits/siginfo: Likewise.
7604 * sysdeps/generic/bits/types.h: Define __id_t.
7605 Correct definition of __FDMASK.
7606 * sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
7607 * sysdeps/unix/sysv/linux/bits/types.h: Likewise.
7608 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/types.h: Likewise.
7610 * sysdeps/posix/waitid.c: New file.
7611 Provided by Zack Weinberg.
7613 * rt/aio_misc.c: Rename __aio_free_req to __aio_free_request.
7615 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
7616 Add missing parameters.
7618 * sysdeps/generic/dl-sysdep.c: Don't call __libc_init_secure.
7619 * sysdeps/generic/enbl-secure.c: Don't define __libc_uid.
7620 * sysdeps/unix/sysv/linux/init-first.c: Define __libc_uid.
7621 * sysdeps/unix/sysv/linux/sigqueue.c: Make sure __libc_uid is
7624 * sysdeps/i386/dl-machine.h: Little cleanup.
7626 * sysdeps/i386/fpu/bits/mathinline.h: Use __signbit* inline functions.
7627 (__finite): Mark function as const.
7628 Add inline code for __ieee754_atan2.
7630 * sysdeps/libm-ieee754/s_cacoshf.c: Add alternate implementation
7631 (but don't use it now).
7632 * sysdeps/libm-ieee754/s_catan.c: Use __ieee754_atan2 instead of
7634 * sysdeps/libm-ieee754/s_catanf.c: Likewise.
7635 * sysdeps/libm-ieee754/s_catanl.c: Likewise.
7636 * sysdeps/libm-ieee754/s_catanh.c: Likewise. Correct sign of
7638 * sysdeps/libm-ieee754/s_catanhf.c: Likewise.
7639 * sysdeps/libm-ieee754/s_catanhl.c: Likewise.
7640 * sysdeps/libm-ieee754/s_clog10.c: Use factor to correct
7641 __ieee754_atan2 to base 10.
7642 * sysdeps/libm-ieee754/s_clog10f.c: Likewise.
7643 * sysdeps/libm-ieee754/s_clog10l.c: Likewise.
7645 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Define as
7646 old_kernel_sigaction.
7648 * sysdeps/unix/sysv/linux/net/if_slip.h: Pretty print.
7650 * wctype/Makefile (routines): Add wctype_l.
7651 * wctype/wctype.h: Add declaration of __wctype_l.
7652 * wctype/wctype_l.c: New file.
7654 1997-12-10 00:38 Ulrich Drepper <drepper@cygnus.com>
7656 * locale/C-ctype.c: Correct data for isw* functions.
7657 * locale/programs/ld-ctype.c: Write 32bit char classes in correct
7659 * wctype/test_wctype.c: Add test for isw* functions.
7660 * wctype/wctype.c: Return value with expected byte order.
7662 1997-12-13 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
7664 * libc-work/nis/ypclnt.c (do_ypcall): Don't free dom_binding twice.
7666 1997-12-05 20:19 H.J. Lu <hjl@gnu.org>
7668 * iconvdata/Makefile: Fix a typo.
7670 * sysdeps/unix/sysv/linux/Makefile (stdio-common): Add
7671 oldsiglist for shared library.
7673 * sysdeps/unix/sysv/linux/siglist.c (_sys_siglist, sys_siglist,
7674 sys_sigabbrev): Make them as the default version GLIBC_2.1.
7676 * sysdeps/unix/sysv/linux/oldsiglist.c (_sys_siglist,
7677 sys_siglist, sys_sigabbrev): New file. Make them as the old
7680 * libc.map (_sys_siglist, sys_siglist, sys_sigabbrev): Added
7683 1997-11-20 18:02 H.J. Lu <hjl@gnu.ai.mit.edu>
7685 * libio/iofgets.c (_IO_fgets): Return an error only if there
7687 * libio/iogets.c (_IO_gets): Ditto.
7689 1997-11-20 07:26 H.J. Lu <hjl@gnu.ai.mit.edu>
7691 * libc.map (_IO_fdopen): Add support for GLIBC_2.0.
7693 * libio/Makefile (routines, shared-only-routines): Add
7696 * libio/fileops.c: Don't use _IO_FILE_complete.
7697 * libio/iofdopen.c: Ditto.
7698 * libio/iofopen.c: Ditto.
7699 * libio/iofopen64.c: Ditto.
7700 * libio/iopopen.c: Ditto.
7701 * libio/iovdprintf.c: Ditto.
7703 * libio/genops.c (_IO_init): Set _vtable_offset to 0.
7705 * libio/iofdopen.c (_IO_new_fdopen): Changed from _IO_fdopen
7706 and make it for _IO_fdopen/fdopen version GLIBC_2.1.
7708 * libio/iolibio.h (_IO_old_fclose, _IO_new_fclose,
7709 _IO_old_fdopen, _IO_new_fdopen): New declaration.
7711 * libio/libio.h (_IO_FILE): Add more fields.
7712 (_IO_FILE_complete): Defined and make _IO_FILE be the old
7713 one if _IO_USE_OLD_IO_FILE is defined
7714 (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_): Make
7715 them _IO_FILE_complete.
7717 * libio/libioP.h (_IO_JUMPS_FUNC): New, use _vtable_offset
7719 (JUMP0, JUMP1, JUMP2, JUMP3): Use _IO_JUMPS_FUNC instead of
7721 (_IO_FILE_complete): Commented out.
7723 * libio/oldfileops.c: Define _IO_USE_OLD_IO_FILE.
7724 * libio/oldiofclose.c: Ditto.
7725 * libio/oldiofopen.c: Ditto.
7726 * libio/oldstdfiles.c: Ditto.
7728 * libio/oldfileops.c (_IO_old_file_init): Set _vtable_offset
7729 for the old _IO_FILE.
7731 * libio/oldstdfiles.c (DEF_STDFILE): Remove INAME.
7732 (_IO_check_libio): Set _vtable_offset for old stdin, stdout
7735 * libio/stdfiles.c (DEF_STDFILE): Don't use _IO_FILE_complete
7738 * libio/stdio.c (stdin, stdout, stdin): Don't use
7741 * libio/oldiofdopen.c: New.
7743 * stdio-common/vfprintf.c (buffered_vfprintf): Set
7744 hp->_vtable_offset to 0.
7746 1997-11-18 08:03 H.J. Lu <hjl@gnu.ai.mit.edu>
7748 * libc.map (_IO_file_open): Added.
7750 * libio/libioP.h (_IO_file_open): Declared.
7752 * libio/fileops.c (_IO_file_open): New.
7753 (_IO_file_fopen): Call _IO_file_open ().
7755 * sysdeps/generic/_G_config.h: Define _G_HAVE_IO_FILE_OPEN.
7756 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
7758 1997-12-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7760 * signal/signal.h: Fix selection of signal semantics to match
7763 1997-12-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7765 * sysdeps/unix/sysv/linux/sigreturn.c: Stub out.
7766 * sysdeps/unix/sysv/linux/syscalls.list: Remove sigreturn and
7768 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines)
7769 [$(subdir)=signal]: Remove rt_sigreturn.
7770 * sysdeps/unix/sysv/linux/powerpc/syscall.S: Deleted.
7771 * sysdeps/unix/sysv/linux/m68k/sigreturn.S: Deleted.
7772 * sysdeps/unix/sysv/linux/rt_sigreturn.c: Deleted.
7774 1997-12-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7776 * sysdeps/unix/sysv/linux/sigaction.c: Include <errno.h>. Fix
7779 1997-12-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7781 * iconvdata/extra-module.mk: Expand extra-objs now.
7783 1997-12-09 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7785 * sysdeps/m68k/fpu/bits/mathinline.h: Protect declarations of
7786 inline functions by feature tests to avoid warning about missing
7787 prototype declarations.
7789 1997-12-09 15:08 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
7791 * nis/nss_compat/compat-grp.c: Reset the blacklist correct, fix
7792 return code for non existent +name entries.
7793 * nis/nss_compat/compat-pwd.c: Likewise.
7794 * nis/nss_compat/compat-spwd.c: Likewise.
7796 1997-12-10 13:52 Philip Blundell <pb@nexus.co.uk>
7798 * sysdeps/standalone/arm/bits/errno.h (EAGAIN): Added.
7802 (__errno_location): Likewise.
7804 * sysdeps/generic/sys/param.h (MAXPATHLEN): Added.
7806 * sysdeps/generic/sigqueue.c: Include <sys/types.h> for pid_t.
7808 1997-12-09 08:10 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
7810 * sunrpc/publickey.c: Use new NSS interface.
7812 1997-12-09 03:08 Ulrich Drepper <drepper@cygnus.com>
7814 * manual/malloc.texi: Document mtrace/muntrace and the concept.
7816 1997-12-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7818 * sysdeps/m68k/fpu/bits/fenv.h (fenv_t): Add member to hold fpiar
7819 value, to match spirit of the standard.
7820 * sysdeps/m68k/fpu/fegetenv.c: Save/restore fpiar.
7821 * sysdeps/m68k/fpu/feholdexcpt.c: Likewise.
7822 * sysdeps/m68k/fpu/fesetenv.c: Likewise.
7824 1997-12-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7826 * manual/signal.texi (Signal Stack): Remove spurious @item.
7828 1997-12-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
7830 * rt/aio.h: Remove double semicolon.
7832 * rt/librt.map: Add aio_init.
7834 1997-12-08 03:24 Ulrich Drepper <drepper@cygnus.com>
7836 * Makeconfig: Define $(rt) to rt if linuxthreads is available.
7837 * Makefile (subdirs): Replace rt by $(rt).
7839 * shlib-versions: Use version .2 for NSS modules.
7841 * grp/fgetgrent_r.c (LINE_PARSER): Call parse_line with extra
7843 * pwd/fgetpwent_r.c: Likewise.
7844 * spwd/fgetspent_r.c: Likewise.
7845 * spwd/sgetspent_r.c: Likewise.
7846 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Add new argument.
7847 Store error number in *ERRNOP. Little optimization.
7848 * hesiod/nss_hesiod/hesiod-pwd.c: Likewise.
7849 * hesiod/nss_hesiod/hesiod-service.c: Likewise.
7850 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
7851 (__internal_getnetgrent_r): New argument.
7852 Call __internal_setnetgrent_reuse with new argument.
7853 (__getnetgrent_r): Call __internal_getnetgrent_r with new argument.
7854 * inet/netgroup.h: Add argument to prototypes.
7855 * nis/nisplus-parser.h: Likewise.
7856 * nis/nss_compat/compat-grp.c: Change everything to store error
7857 code through provided pointer and not use errno.
7858 * nis/nss_compat/compat-pwd.c: Likewise.
7859 * nis/nss_compat/compat-spwd.c: Likewise.
7860 * nis/nss_nis/nis-alias.c: Likewise.
7861 * nis/nss_nis/nis-ethers.c: Likewise.
7862 * nis/nss_nis/nis-grp.c: Likewise.
7863 * nis/nss_nis/nis-hosts.c: Likewise.
7864 * nis/nss_nis/nis-netgrp.c: Likewise.
7865 * nis/nss_nis/nis-network.c: Likewise.
7866 * nis/nss_nis/nis-proto.c: Likewise.
7867 * nis/nss_nis/nis-publickey.c: Likewise.
7868 * nis/nss_nis/nis-pwd.c: Likewise.
7869 * nis/nss_nis/nis-rpc.c: Likewise.
7870 * nis/nss_nis/nis-service.c: Likewise.
7871 * nis/nss_nis/nis-spwd.c: Likewise.
7872 * nis/nss_nisplus/nisplus-alias.c: Likewise.
7873 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
7874 * nis/nss_nisplus/nisplus-grp.c: Likewise.
7875 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
7876 * nis/nss_nisplus/nisplus-netgrp.c: Likewise.
7877 * nis/nss_nisplus/nisplus-network.c: Likewise.
7878 * nis/nss_nisplus/nisplus-parser.c: Likewise.
7879 * nis/nss_nisplus/nisplus-proto.c: Likewise.
7880 * nis/nss_nisplus/nisplus-publickey.c: Likewise.
7881 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
7882 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
7883 * nis/nss_nisplus/nisplus-service.c: Likewise.
7884 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
7885 * nss/nss_db/db-XXX.c: Likewise.
7886 * nss/nss_db/db-alias.c: Likewise.
7887 * nss/nss_db/db-netgrp.c: Likewise.
7888 * nss/nss_files/files-XXX.c: Likewise
7889 * nss/nss_files/files-alias.c: Likewise
7890 * nss/nss_files/files-netgrp.c: Likewise
7891 * nss/nss_files/files-parse.c: Likewise
7892 * nss/getXXbyYY_r.c: Call with __errno_location() as value for new
7893 parameter of get functions.
7894 * nss/getXXent_r.c: Likewise.
7896 * localedata/tst-fmon.c: Print debug info if test fails.
7898 * rt/Makefile (routines): Add aio_notify.
7899 * rt/aio.h: Remove non-public definitions. Add aioinit stuff.
7900 * rt/aio_cancel.c: Rewrite to support lio_listio and aio_suspend.
7901 * rt/aio_fsync.c: Likewise.
7902 * rt/aio_misc.c: Likewise.
7903 * rt/aio_misc.h: Likewise.
7904 * rt/aio_read.c: Likewise.
7905 * rt/aio_read64.c: Likewise.
7906 * rt/aio_suspend.c: Likewise.
7907 * rt/aio_write.c: Likewise.
7908 * rt/aio_write64.c: Likewise.
7909 * rt/lio_listio.c: Likewise.
7910 * rt/lio_listio64.c: Likewise.
7911 * rt/aio_notify.c: New file.
7913 * sysdeps/generic/bits/sigset.h: Pretty print.
7915 * sysdeps/posix/pwrite.c: Define weak alias only if function is
7916 really defined as __pwrite.
7918 * sysdeps/unix/sysv/linux/pread.c: Rewrite to use syscall directly
7920 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
7922 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
7923 (sysdep_routines): Add rt_sigpending and rt_sigreturn.
7924 * sysdeps/unix/sysv/linux/sigaction.c: Use correct value for sigset_t
7926 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
7927 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
7928 * sysdeps/unix/sysv/linux/sigreturn.c: Likewise.
7929 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
7930 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
7931 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
7932 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. Take care
7934 * sysdeps/unix/sysv/linux/syscalls.list: Don't mention user for
7936 * sysdeps/unix/sysv/linux/i386/s_pread64.s: Return ENOSYS if
7937 __NR_pread is not defined.
7938 * sysdeps/unix/sysv/linux/i386/s_pwrite64.s: Return ENOSYS if
7939 __NR_pwrite is not defined.
7941 1997-12-07 11:15 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
7943 * nis/nss_compat/compat-grp.c: If buffer is to small, set the file
7944 handle for /etc/group back in some more cases.
7945 * nis/nss_compat/compat-pwd.c: If buffer is to small, set the file
7946 handle for /etc/passwd back in some more cases.
7947 * nis/nss_compat/compat-spwd.c: If buffer is to small, set the file
7948 handle for /etc/shadow back in some more cases.
7950 1997-12-06 17:00 H.J. Lu <hjl@gnu.org>
7952 * sysdeps/posix/sigblock.c (__sigblock): Don't check int mask
7954 * sysdeps/posix/sigsetmask.c (__sigsetmask): Ditto.
7955 * sysdeps/posix/sigvec.c (convert_mask, __sigvec): Ditto.
7957 1997-12-06 04:38 Ulrich Drepper <drepper@cygnus.com>
7959 * sysdeps/wordsize-32/inttypes.h: Rewrite {str,wcs}to{i,u}max
7960 handling. Don't use macros, we need functions. Use inline functions
7962 * sysdeps/wordsize-64/inttypes.h: Likewise.
7963 * sysdeps/wordsize-32/Makefile: Add strtoimax, stroumax, wcstoimax,
7965 * sysdeps/wordsize-64/Makefile: Likewise.
7966 * sysdeps/wordsize-32/Dist: Likewise.
7967 * sysdeps/wordsize-64/Dist: Likewise.
7968 * sysdeps/wordsize-32/strtoimax.c: New file.
7969 * sysdeps/wordsize-32/strtoumax.c: New file.
7970 * sysdeps/wordsize-32/wcstoimax.c: New file.
7971 * sysdeps/wordsize-32/wcstoumax.c: New file.
7972 * sysdeps/wordsize-64/strtoimax.c: New file.
7973 * sysdeps/wordsize-64/strtoumax.c: New file.
7974 * sysdeps/wordsize-64/wcstoimax.c: New file.
7975 * sysdeps/wordsize-64/wcstoumax.c: New file.
7977 1997-12-04 10:40 Philip Blundell <pb@nexus.co.uk>
7979 * sysdeps/generic/wait3.c (__wait3): Use ANSI-style definition so
7980 that transparent union works.
7981 * sysdeps/generic/wait4.c (__wait4): Likewise.
7982 * sysdeps/generic/wait.c (__wait): Likewise.
7984 * sysdeps/generic/getpeername.c (getpeername): Use socklen_t not
7987 * sysdeps/generic/syscall.c (syscall): Return value and arg are
7988 long, to match prototype.
7990 * malloc/malloc.c (HAVE_MREMAP): Set to 0 for ARM, as we don't
7993 * sysdeps/generic/usleep.c (usleep): Returns void, to match prototype.
7995 * sysdeps/unix/sysv/linux/arm/syscalls.list: New file.
7997 * sysdeps/generic/bits/time.h: Use __time_t not time_t.
7999 * sysdeps/generic/bits/resource.h: Include <bits/types.h> for
8002 * sysdeps/standalone/arm/bits/errno.h (ENOTTY): Added.
8004 * sysdeps/generic/bits/dirent.h (struct dirent64): Added.
8006 * io/sys/stat.h (S_ISLNK): Always false if we don't have
8009 * sysdeps/standalone/close.c (_STDIO_H): Define before including
8011 * sysdeps/standalone/filedesc.h (_STDIO_H): Likewise.
8013 1997-12-06 01:09 Ulrich Drepper <drepper@cygnus.com>
8015 * posix/sys/wait.h: Don't use transparent unions in C++.
8017 1997-12-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8019 * time/time.h: Add strfxtime.
8021 * libc.map: Add tcgetsid, strcasestr, wmemrtombs, wmemrtowcs,
8022 sysv_signal, strfxtime, pread64, pwrite64.
8024 1997-11-30 21:57 Richard Henderson <rth@cygnus.com>
8026 Alpha changes for EGCS:
8027 * config.h.in (ASM_ALPHA_NG_SYMBOL_PREFIX): New entry.
8028 * configure.in (libc_cv_gcc_alpha_ng_prefix): New check.
8029 * sysdeps/alpha/dl-machine.h (_dl_runtime_resolve): Care for prefix.
8031 * sysdeps/unix/sysv/linux/alpha/init-first.h: Likewise.
8033 1997-12-05 00:01 Ulrich Drepper <drepper@cygnus.com>
8035 The kernel expects the arguments in a different order.
8036 * sysdeps/unix/sysv/linux/i386/s_pread64.S: New file.
8037 * sysdeps/unix/sysv/linux/i386/s_pwrite64.S: New file.
8040 * gen-FAQ.pl: New file.
8041 * Makefile (FAQ): Add rule to generate from FAQ.in.
8043 * iconvdata/Makefile: Treat libJIS like the other modules.
8045 * rt/librt.map: New file.
8047 * sysdeps/wordsize-32/bits/environments.h: Add test for direct
8049 * sysdeps/wordsize-64/bits/environments.h: Likewise. Correct
8052 1997-12-04 22:29 Ulrich Drepper <drepper@cygnus.com>
8054 * sysdeps/unix/sysv/linux/rt_sigprocmask.c: Fix prototype.
8055 * sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
8056 * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: Include <sys/types.h>.
8057 Patches by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.
8059 1997-11-27 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8061 * string/bits/string2.h: Fix spellings.
8063 * string/string.h: Fix spellings.
8065 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8067 * sysdeps/unix/sysv/linux/i386/sigaction.c: Rename extern
8068 declaration to __syscall_rt_sigaction.
8070 * sysdeps/unix/sysv/linux/sigreturn.c: Remove inclusion of
8071 non-existant <sigcontext.h>.
8073 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8075 * sysdeps/generic/enbl-secure.c (__libc_init_secure): Correct
8078 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8080 * sysdeps/wordsize-64/bits/environments.h: Correct spelling.
8082 * Makeconfig (shared-thread-library): Correct spelling.
8084 * sysdeps/unix/sysv/linux/sys/pci.h: Include <linux/pci.h> and not
8087 1997-12-04 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8089 * sysdeps/unix/sysv/linux/bits/socket.h: Add AF_* and PF_
8090 constants from Linux headers. Pointed out by
8091 csmall@scooter.o.i.net. [PR libc/369]
8093 1997-12-04 10:21 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
8095 * sunrpc/xcrypt.c: Fix lower/upper characters in optimized hexval.
8097 1997-12-04 00:06 Zack Weinberg <zack@rabi.phys.columbia.edu>
8099 * configure.in: If --enable-add-ons is given without an
8100 argument, set the addons list to all subdirs with a configure
8103 1997-12-03 23:50 Ulrich Drepper <drepper@cygnus.com>
8105 * Makeconfig: Add shared-thread-library variable.
8107 * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
8108 * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
8110 * sysdeps/m68k/fpu/e_acos.c: Likewise.
8111 * sysdeps/m68k/fpu/e_atan2.c: Likewise.
8112 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
8113 * sysdeps/m68k/fpu/e_pow.c: Likewise.
8114 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
8115 * sysdeps/m68k/fpu/k_cos.c: Likewise.
8116 * sysdeps/m68k/fpu/k_sin.c: Likewise.
8117 * sysdeps/m68k/fpu/k_tan.c: Likewise.
8118 * sysdeps/m68k/fpu/s_atan.c: Likewise.
8119 * sysdeps/m68k/fpu/s_ccos.c: Likewise.
8120 * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
8121 * sysdeps/m68k/fpu/s_cexp.c: Likewise.
8122 * sysdeps/m68k/fpu/s_csin.c: Likewise.
8123 * sysdeps/m68k/fpu/s_csinh.c: Likewise.
8124 * sysdeps/m68k/fpu/s_frexp.c: Likewise.
8125 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
8126 * sysdeps/m68k/fpu/s_isinf.c: Likewise.
8127 * sysdeps/m68k/fpu/s_llrint.c: Likewise.
8128 * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
8129 * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
8130 * sysdeps/m68k/fpu/s_lrint.c: Likewise.
8131 * sysdeps/m68k/fpu/s_modf.c: Likewise.
8132 * sysdeps/m68k/fpu/s_remquo.c: Likewise.
8133 * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
8134 * sysdeps/m68k/fpu/s_sincos.c: Likewise.
8136 * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
8137 __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
8138 * signal/Makefile (headers): Add bits/siginfo.h.
8139 (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
8140 (distribute): Add testrtsig.h.
8141 * signal/allocrtsig.c: New file.
8142 * signal/signal.h: Define `union sigval'. Include <bits/siginfo.h>.
8143 Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
8144 __libc_current_sigrtmax.
8145 * sysdeps/generic/sigqueue.c: New file.
8146 * sysdeps/generic/sigtimedwait.c: New file.
8147 * sysdeps/generic/sigwaitinfo.c: New file.
8148 * sysdeps/generic/testrtsig.h: New file.
8149 * sysdeps/generic/bits/siginfo.h: New file.
8150 * sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
8151 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
8152 old_kernel_sigaction and rename sa_handler member to k_sa_handler.
8153 * sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
8154 * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
8155 * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
8156 * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
8157 * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
8158 * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
8159 * sysdeps/unix/sysv/linux/sigpending.c: New file.
8160 * sysdeps/unix/sysv/linux/sigprocmask.c: New file.
8161 * sysdeps/unix/sysv/linux/sigqueue.c: New file.
8162 * sysdeps/unix/sysv/linux/sigreturn.c: New file.
8163 * sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
8164 * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
8165 * sysdeps/unix/sysv/linux/testrtsig.h: New file.
8166 * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
8167 * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
8168 * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
8169 * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
8170 * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
8171 and _POSIX_REALTIME_SIGNALS.
8172 * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
8173 * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
8175 * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
8176 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
8179 * Makefile (subdirs): Add rt.
8180 * shlib-versions: Add entry for librt.
8181 * rt/Makefile: New file.
8182 * rt/aio.h: New file.
8183 * rt/aio_cancel.c: New file.
8184 * rt/aio_error.c: New file.
8185 * rt/aio_fsync.c: New file.
8186 * rt/aio_misc.c: New file.
8187 * rt/aio_misc.h: New file.
8188 * rt/aio_read.c: New file.
8189 * rt/aio_read64.c: New file.
8190 * rt/aio_return.c: New file.
8191 * rt/aio_suspend.c: New file.
8192 * rt/aio_write.c: New file.
8193 * rt/aio_write64.c: New file.
8194 * rt/lio_listio.c: New file.
8195 * rt/lio_listio64.c: New file.
8196 * sysdeps/generic/aio_sigqueue.c: New file.
8197 * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
8198 * sysdeps/unix/sysv/linux/Dist: Add new files
8199 * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
8200 (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
8201 rt_sigqueueinfo, rt_sigaction.
8203 * posix/Makefile (headers): Add bits/environments.h.
8204 * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
8205 and _CS_LFS_CFLAGS on 64bit platforms.
8206 * posix/unistd.h: Define _XOPEN_LEGACY. Explain _XOPEN_REALTIME
8207 and _XOPEN_REALTIME_THREADS. Include bits/environments.h.
8208 * sysdeps/generic/bits/confname.h: Define _SC_* constants for
8209 compilation modules.
8210 * sysdeps/wordsize-32/bits/environments.h: New file.
8211 * sysdeps/wordsize-64/bits/environments.h: New file.
8213 * posix/getopt.c: Remove declaration of getpid and __libc_pid.
8214 * posix/getopt_init.c: Test for value 0xf00baa of uninitialized
8216 * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
8219 * string/string.h: Add declaration of __strverscmp.
8220 * string/strverscmp.c: Rename function ot __strverscmp and make old
8223 * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
8224 * sysdeps/generic/enbl-secure.c: Likewise.
8225 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
8227 * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
8229 * sysdeps/unix/sysv/linux/sys/pci.h: New file.
8231 1997-12-03 Ulrich Drepper <drepper@cygnus.com>
8233 * posix/sys/wait.h: Use __transparent_union__ instead of
8234 transparent_union. Reported by Roland McGrath.
8236 1997-12-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8238 * resolv/inet_neta.c (inet_neta): Change type of first parameter
8239 to u_int32_t. Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
8242 * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
8244 * inet/arpa/inet.h: Change types of inet_neta and inet_addr.
8246 1997-12-03 20:40 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
8248 * grp/initgroups.c: Increase buffer if it is too small.
8250 1997-12-03 Ulrich Drepper <drepper@cygnus.com>
8252 * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
8253 fields, this is no ISO C. Reported by Andreas Jaeger.
8255 1997-12-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8257 * sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
8259 1997-12-03 08:58 Philip Blundell <pb@nexus.co.uk>
8261 * sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
8262 _SYS_UTSNAME_H not _UTSNAME_H.
8264 1997-11-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8266 * elf/dl-profile.c (_dl_start_profile): Avoid overflow when
8269 1997-11-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8271 * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
8272 * sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
8273 * sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
8275 * math/libm-test.c (csqrt_test): Add testcase.
8277 1997-12-03 15:44 Ulrich Drepper <drepper@cygnus.com>
8279 * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
8280 * sysdeps/unix/sysv/linux/sys/Dist: Add it.
8281 * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
8283 1997-11-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8285 * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
8287 1997-12-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8289 * math/libm-test.c (acos_test): Add more tests.
8290 (asin_test): Likewise.
8291 (atan_test): Likewise.
8292 (exp_test): Likewise.
8293 (sin_test): Likewise.
8294 (sqrt_test): Likewise.
8295 (cpow_test): Likewise.
8296 (csqrt_test): Likewise.
8297 (cexp_test): Correct typo in gcc version test.
8299 1997-12-02 17:14 Philip Blundell <pb@nexus.co.uk>
8301 * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
8303 * sysdeps/arm/setjmp.S: Likewise.
8305 * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
8307 1997-12-02 18:07 Philip Blundell <pb@nexus.co.uk>
8309 * stdio/stdio.h: Add prototype for tmpfile64().
8311 1997-12-02 17:47 Philip Blundell <pb@nexus.co.uk>
8313 * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
8314 prototype to keep in step with libio version.
8316 * stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
8318 1997-12-02 17:41 Philip Blundell <pb@nexus.co.uk>
8320 * sysdeps/generic/Makefile: Don't try to use make_siglist if
8323 1997-12-02 01:18 Ulrich Drepper <drepper@cygnus.com>
8325 * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
8326 load GOT ptr before jumping to _exit.
8327 Reported by Xavier Leroy.
8329 1997-12-01 17:27 Ulrich Drepper <drepper@cygnus.com>
8331 * Makefile (subdirs): Add iconvdata and localedata.
8333 * iconv/gconv.h: Define UNKNOWN_10646_CHAR as error value.
8335 * iconv/gconv_conf.c (read_conf_file): Little optimization.
8337 * iconvdata/8bit-gap.c: New file.
8338 * iconvdata/8bit-generic.c: Renamed from ...
8339 * iconvdata/iso8859-generic.c: ...this.
8340 * iconvdata/configure: Removed.
8341 * iconvdata/Makefile: Add new modules and better rules.
8342 * iconvdata/iso6937.c: Minor bug fixes.
8343 * iconvdata/iso8859-1.c: Likewise.
8344 * iconvdata/t61.c: Likewise.
8345 * iconvdata/iso8859-2.c: Change to use 8bit-generic.c.
8347 * iconvdata/iso8859-3.c: Likewise.
8348 * iconvdata/iso8859-4.c: Likewise.
8349 * iconvdata/iso8859-5.c: Likewise.
8350 * iconvdata/iso8859-6.c: Likewise.
8351 * iconvdata/iso8859-7.c: Likewise.
8352 * iconvdata/iso8859-8.c: Likewise.
8353 * iconvdata/iso8859-9.c: Likewise.
8354 * iconvdata/iso8859-10.c: Likewise.
8355 * iconvdata/ebcdic-at-de-a.c: New file.
8356 * iconvdata/ebcdic-at-de.c: New file.
8357 * iconvdata/ebcdic-ca-fr.c: New file.
8358 * iconvdata/hp-roman8.c: New file.
8359 * iconvdata/koi-8.c: New file.
8360 * iconvdata/koi8-r.c: New file.
8361 * iconvdata/koi8-h.c: New file.
8362 * iconvdata/latin-greek-1.c: New file.
8363 * iconvdata/latin-greek-1.h: New file.
8364 * iconvdata/latin-greek.c: New file.
8365 * iconvdata/latin-greek.h: New file.
8366 * iconvdata/jis0201.c: New file.
8367 * iconvdata/jis0201.h: New file.
8368 * iconvdata/jis0208.c: New file.
8369 * iconvdata/jis0208.h: New file.
8370 * iconvdata/jis0212.c: New file.
8371 * iconvdata/jis0212.h: New file.
8372 * iconvdata/sjis.c: New file.
8373 * iconvdata/gap.pl: New file. Script to generate table header.
8374 * iconvdata/gaptab.pl: New file.
8375 * iconvdata/gconv-modules: Add info about new modules.
8377 * locale/programs/charmap.c: Also examine alias names given in charmap
8380 * localedata/*: Add to here from add-on. We need the information
8381 to generate tables for iconv.
8383 Update from db-2.3.14.
8384 * db2/Makefile: Updated.
8385 * db2/config.h: Likewise.
8386 * db2/db.h: Likewise.
8387 * db2/db_int.h: Likewise.
8388 * db2/btree/bt_cursor.c: Likewise.
8389 * db2/btree/bt_delete.c: Likewise.
8390 * db2/btree/bt_put.c: Likewise.
8391 * db2/btree/bt_search.c: Likewise.
8392 * db2/btree/bt_split.c: Likewise.
8393 * db2/btree/btree_auto.c: Likewise.
8394 * db2/common/db_appinit.c: Likewise.
8395 * db2/common/db_apprec.c: Likewise.
8396 * db2/common/db_err.c: Likewise.
8397 * db2/common/db_region.c: Likewise.
8398 * db2/db/db_auto.c: Likewise.
8399 * db2/db/db_dispatch.c: Likewise.
8400 * db2/db/db_ret.c: Likewise.
8401 * db2/dbm/dbm.c: Likewise.
8402 * db2/hash/hash_auto.c: Likewise.
8403 * db2/include/btree_ext.h: Likewise.
8404 * db2/include/common_ext.h: Likewise.
8405 * db2/include/db.h.src: Likewise.
8406 * db2/include/db_cxx.h: Likewise.
8407 * db2/include/db_ext.h: Likewise.
8408 * db2/include/db_int.h.src: Likewise.
8409 * db2/include/lock.h: Likewise.
8410 * db2/include/log.h: Likewise.
8411 * db2/include/mp.h: Likewise.
8412 * db2/include/mp_ext.h: Likewise.
8413 * db2/include/os_ext.h: Likewise.
8414 * db2/include/os_func.h: Likewise.
8415 * db2/lock/lock.c: Likewise.
8416 * db2/lock/lock_deadlock.c: Likewise.
8417 * db2/log/log.c: Likewise.
8418 * db2/log/log_archive.c: Likewise.
8419 * db2/log/log_auto.c: Likewise.
8420 * db2/log/log_get.c: Likewise.
8421 * db2/log/log_put.c: Likewise.
8422 * db2/mp/mp_bh.c: Likewise.
8423 * db2/mp/mp_fget.c: Likewise.
8424 * db2/mp/mp_fopen.c: Likewise.
8425 * db2/mp/mp_fput.c: Likewise.
8426 * db2/mp/mp_fset.c: Likewise.
8427 * db2/mp/mp_open.c: Likewise.
8428 * db2/mp/mp_pr.c: Likewise.
8429 * db2/mp/mp_region.c: Likewise.
8430 * db2/mp/mp_sync.c: Likewise.
8431 * db2/mutex/README: Likewise.
8432 * db2/mutex/mutex.c: Likewise.
8433 * db2/os/os_open.c: Likewise.
8434 * db2/os/os_func.c: Removed.
8435 * db2/os/os_config.c: New file.
8436 * db2/os/os_spin.c: New file.
8437 * db2/txn/txn.c: Likewise.
8438 * db2/txn/txn_auto.c: Likewise.
8440 1997-11-30 06:01 Ulrich Drepper <drepper@cygnus.com>
8442 * posix/sys/wait.h (__WAIT_INT): Don't use complex version with
8443 __typeof for C++ since this fails for class members.
8444 Reported by Neal Becker <neal@ctd.comsat.com>.
8446 1997-11-28 11:21 Zack Weinberg <zack@rabi.phys.columbia.edu>
8448 * configure.in: Check for a working makeinfo (3.11 or better).
8449 * config.make.in: Add MAKEINFO to be substituted.
8450 * manual/Makefile: Don't update info if makeinfo is too old.
8452 1997-11-30 05:21 Ulrich Drepper <drepper@cygnus.com>
8454 * sysdeps/alpha/setjmp.S: Define _ASM and _SETJMP_H to get definitions.
8455 * sysdeps/alpha/__longjmp.S: Likewise.
8456 * sysdeps/unix/sysv/linux/alpha/kernel_termios.h: Include <termios.h>
8457 not <bits/termios.h>.
8459 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Define syscall as
8460 __llseek and make llseek and lseek64 weak aliases.
8461 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8462 Patches by a sun <asun@zoology.washington.edu>.
8464 1997-11-29 19:19 Zack Weinberg <zack@rabi.phys.columbia.edu>
8466 * misc/sys/syslog.h: Delete KERNEL preprocessor conditional.
8467 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8468 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8469 * misc/sys/syslog.h: Clean up BSD header.
8471 1997-11-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8473 * sysdeps/unix/sysv/linux/bits/in.h: Add changes from Linux 2.1.67.
8475 * sysdeps/libm-ieee754/s_ctan.c (__ctan): Raise invalid exception
8477 * sysdeps/libm-ieee754/s_ctanl.c (__ctanl): Likewise.
8478 * sysdeps/libm-ieee754/s_ctanf.c (__ctanf): Likewise.
8480 * math/libm-test.c (csqrt_test): Add tests for cabs, carg, ctan,
8481 csqrt (-1), ctanh(i*pi/4).
8483 1997-11-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8485 * sysdeps/generic/bits/confname.h: Fix comma in enumerator.
8487 1997-11-28 13:28 Philip Blundell <Philip.Blundell@pobox.com>
8489 * sysdeps/unix/sysv/linux/net/if_arp.h: Add more ARPHRD_ constants.
8491 1997-11-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8493 * wcsmbs/wcrtomb.c (__wcrtomb): Remove unused variable fake.
8495 1997-11-26 21:28 Ulrich Drepper <drepper@cygnus.com>
8497 * sysdeps/posix/getcwd.c (GETCWD_STORYGE_CLASS): Remove definition
8498 and use. Define GETCWD_RETURN_TYPE instead and use it.
8499 * sysdeps/unix/sysv/linux/getcwd.c: Define GETCWD_RETURN_TYPE instead
8500 of GETCWD_STORYGE_CLASS and put the return type and the
8501 `internal_function' in the right order for gcc 2.7.2.
8503 1997-11-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8505 * sysdeps/unix/sysv/linux/sys/module.h: Remove file. It's
8506 incompatible with Linux 2.1.x. Packages using modules
8507 (e.g. modutils) should/do provide their own version. Suggested by
8510 * sysdeps/unix/sysv/linux/Dist: Remove sys/module.h.
8512 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
8513 [$(subdir)=socket]: Remove sys/module.h.
8515 1997-11-26 04:28 Ulrich Drepper <drepper@cygnus.com>
8517 * eld/dl-profile.c (_dl_start_profile): Avoid FP calculation when
8518 computing s_scale. Patch by a sun <asun@zoology.washington.edu>.
8520 * iconv/gconv_close.c: Correct freeing of descriptor data.
8521 * iconv/gconv_simple.c: Return correct error values for illegal or
8522 incomplete characters.
8524 * Makefile (iconvdata/%): Special goal to simplify iconvdata
8526 * iconvdata/Makefile: New file.
8527 * iconvdata/configure: Likewise.
8528 * iconvdata/extra-module.mk: Likewise.
8529 * iconvdata/gconv-modules: Likewise.
8530 * iconvdata/iso6937.c: Likewise.
8531 * iconvdata/iso8859-1.c: Likewise.
8532 * iconvdata/iso8859-10.c: Likewise.
8533 * iconvdata/iso8859-10.h: Likewise.
8534 * iconvdata/iso8859-2.c: Likewise.
8535 * iconvdata/iso8859-2.h: Likewise.
8536 * iconvdata/iso8859-3.c: Likewise.
8537 * iconvdata/iso8859-3.h: Likewise.
8538 * iconvdata/iso8859-4.c: Likewise.
8539 * iconvdata/iso8859-4.h: Likewise.
8540 * iconvdata/iso8859-5.c: Likewise.
8541 * iconvdata/iso8859-5.h: Likewise.
8542 * iconvdata/iso8859-6.c: Likewise.
8543 * iconvdata/iso8859-6.h: Likewise.
8544 * iconvdata/iso8859-7.c: Likewise.
8545 * iconvdata/iso8859-7.h: Likewise.
8546 * iconvdata/iso8859-8.c: Likewise.
8547 * iconvdata/iso8859-8.h: Likewise.
8548 * iconvdata/iso8859-9.c: Likewise.
8549 * iconvdata/iso8859-9.h: Likewise.
8550 * iconvdata/iso8859-generic.c: Likewise.
8551 * iconvdata/t61.c: Likewise.
8553 * string/Makefile (routines): Add strcasestr.
8554 * string/string.h: Add prototype for strcasestr.
8555 * sysdeps/generic/strcasestr.c: New file.
8556 * wcsmbs/mbrtowc.c: Simplify special case a bit.
8557 * wcsmbs/wcrtomb.c: Likewise.
8558 * wcsmbs/mbsnrtowcs.c: Correctly handle incomplete characters.
8559 * wcsmbs/wcsnrtombs.c: Likewise.
8560 * wcsmbs/mbsrtowcs.c: Make sure SRC argument is correct when
8561 partial character is read.
8562 * wcsmbs/wcsrtombs.c: Likewise.
8563 * wcsmbs/wmemrtombs.c: Likewise.
8564 * wcsmbs/wmemrtowcs.c: Likewise.
8566 * io/ftw.h: Include <sys/stat.h> instead of <bits/stat.h>.
8567 * login/pty.h: Include <sys/ioctl.h> instead og <bits/ioctl-types.h>.
8568 * sysdeps/i386/__longjmp.S: Define _SETJMP_H.
8569 * sysdeps/i386/elf/setjmp.S: Likewise.
8570 * sysdeps/unix/sysv/linux/kernel_termios.h: Do include
8573 * sysdeps/posix/mk-stdiolim.c: Output file with comment.
8574 * sysdeps/unix/sysv/linux/stdio_lim.h.in: Add comment.
8576 * sysdeps/unix/sysv/linux/sys/mman.h: Pretty print.
8577 * sysvipc/sys/ipc.h: Likewise.
8578 * sysvipc/sys/msg.h: Likewise.
8579 * sysvipc/sys/sem.h: Likewise.
8580 * sysvipc/sys/shm.h: Likewise.
8582 * sysdeps/alpha/bits/endian.h: Issue error message if the header is
8584 * sysdeps/alpha/bits/setjmp.h: Likewise.
8585 * sysdeps/alpha/fpu/bits/fenv.h: Likewise.
8586 * sysdeps/arm/bits/endian.h: Likewise.
8587 * sysdeps/arm/bits/setjmp.h: Likewise.
8588 * sysdeps/generic/bits/byteswap.h: Likewise.
8589 * sysdeps/generic/bits/confname.h: Likewise.
8590 * sysdeps/generic/bits/dirent.h: Likewise.
8591 * sysdeps/generic/bits/dlfcn.h: Likewise.
8592 * sysdeps/generic/bits/endian.h: Likewise.
8593 * sysdeps/generic/bits/fenv.h: Likewise.
8594 * sysdeps/generic/bits/huge_val.h: Likewise.
8595 * sysdeps/generic/bits/in.h: Likewise.
8596 * sysdeps/generic/bits/ioctl-types.h: Likewise.
8597 * sysdeps/generic/bits/ioctls.h: Likewise.
8598 * sysdeps/generic/bits/ipc.h: Likewise.
8599 * sysdeps/generic/bits/msq.h: Likewise.
8600 * sysdeps/generic/bits/poll.h: Likewise.
8601 * sysdeps/generic/bits/resource.h: Likewise.
8602 * sysdeps/generic/bits/sched.h: Likewise.
8603 * sysdeps/generic/bits/sem.h: Likewise.
8604 * sysdeps/generic/bits/setjmp.h: Likewise.
8605 * sysdeps/generic/bits/shm.h: Likewise.
8606 * sysdeps/generic/bits/sigaction.h: Likewise.
8607 * sysdeps/generic/bits/sigcontext.h: Likewise.
8608 * sysdeps/generic/bits/socket.h: Likewise.
8609 * sysdeps/generic/bits/stat.h: Likewise.
8610 * sysdeps/generic/bits/statfs.h: Likewise.
8611 * sysdeps/generic/bits/stdio_lim.h: Likewise.
8612 * sysdeps/generic/bits/termios.h: Likewise.
8613 * sysdeps/generic/bits/time.h: Likewise.
8614 * sysdeps/generic/bits/uio.h: Likewise.
8615 * sysdeps/generic/bits/utmp.h: Likewise.
8616 * sysdeps/generic/bits/utmpx.h: Likewise.
8617 * sysdeps/generic/bits/utsname.h: Likewise.
8618 * sysdeps/generic/bits/waitflags.h: Likewise.
8619 * sysdeps/generic/bits/waitstatus.h: Likewise.
8620 * sysdeps/gnu/bits/utmp.h: Likewise.
8621 * sysdeps/gnu/bits/utmpx.h: Likewise.
8622 * sysdeps/i386/bits/byteswap.h: Likewise.
8623 * sysdeps/i386/bits/endian.h: Likewise.
8624 * sysdeps/i386/bits/huge_val.h: Likewise.
8625 * sysdeps/i386/bits/setjmp.h: Likewise.
8626 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
8627 * sysdeps/ieee754/bits/huge_val.h: Likewise.
8628 * sysdeps/m68k/bits/byteswap.h: Likewise.
8629 * sysdeps/m68k/bits/endian.h: Likewise.
8630 * sysdeps/m68k/bits/setjmp.h: Likewise.
8631 * sysdeps/m68k/fpu/bits/fenv.h: Likewise.
8632 * sysdeps/mach/hurd/alpha/bits/sigcontext.h: Likewise.
8633 * sysdeps/mach/hurd/bits/ioctls.h: Likewise.
8634 * sysdeps/mach/hurd/bits/stat.h: Likewise.
8635 * sysdeps/mach/hurd/hppa/bits/sigcontext.h: Likewise.
8636 * sysdeps/mach/hurd/i386/bits/sigcontext.h: Likewise.
8637 * sysdeps/mach/hurd/mips/bits/sigcontext.h: Likewise.
8638 * sysdeps/mips/bits/dlfcn.h: Likewise.
8639 * sysdeps/mips/bits/endian.h: Likewise.
8640 * sysdeps/mips/bits/setjmp.h: Likewise.
8641 * sysdeps/mips/dec/bits/endian.h: Likewise.
8642 * sysdeps/mips/mips64/bits/setjmp.h: Likewise.
8643 * sysdeps/mips/mipsel/bits/endian.h: Likewise.
8644 * sysdeps/mips/p40/bits/endian.h: Likewise.
8645 * sysdeps/powerpc/bits/endian.h: Likewise.
8646 * sysdeps/powerpc/bits/fenv.h: Likewise.
8647 * sysdeps/powerpc/bits/setjmp.h: Likewise.
8648 * sysdeps/sparc/sparc32/bits/endian.h: Likewise.
8649 * sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.
8650 * sysdeps/sparc/sparc32/fpu/bits/fenv.h: Likewise.
8651 * sysdeps/sparc/sparc64/bits/endian.h: Likewise.
8652 * sysdeps/sparc/sparc64/fpu/bits/fenv.h: Likewise.
8653 * sysdeps/unix/bsd/bits/dirent.h: Likewise.
8654 * sysdeps/unix/bsd/bits/stat.h: Likewise.
8655 * sysdeps/unix/bsd/bits/waitflags.h: Likewise.
8656 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Likewise.
8657 * sysdeps/unix/bsd/osf/alpha/bits/stat.h: Likewise.
8658 * sysdeps/unix/bsd/osf/bits/sigaction.h: Likewise.
8659 * sysdeps/unix/bsd/sun/m68k/bits/sigcontext.h: Likewise.
8660 * sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h: Likewise.
8661 * sysdeps/unix/bsd/sun/sunos4/bits/resource.h: Likewise.
8662 * sysdeps/unix/bsd/sun/sunos4/bits/termios.h: Likewise.
8663 * sysdeps/unix/bsd/sun/sunos4/bits/utsname.h: Likewise.
8664 * sysdeps/unix/bsd/ultrix4/bits/utsname.h: Likewise.
8665 * sysdeps/unix/bsd/ultrix4/mips/bits/sigcontext.h: Likewise.
8666 * sysdeps/unix/common/bits/dirent.h: Likewise.
8667 * sysdeps/unix/sysv/bits/dirent.h: Likewise.
8668 * sysdeps/unix/sysv/bits/stat.h: Likewise.
8669 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
8670 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
8671 * sysdeps/unix/sysv/irix4/bits/confname.h: Likewise.
8672 * sysdeps/unix/sysv/irix4/bits/stat.h: Likewise.
8673 * sysdeps/unix/sysv/linux/alpha/bits/ioctls.h: Likewise.
8674 * sysdeps/unix/sysv/linux/alpha/bits/ipc.h: Likewise.
8675 * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
8676 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
8677 * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Likewise.
8678 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
8679 * sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
8680 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
8681 * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
8682 * sysdeps/unix/sysv/linux/bits/ioctl-types.h: Likewise.
8683 * sysdeps/unix/sysv/linux/bits/ioctls.h: Likewise.
8684 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
8685 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
8686 * sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
8687 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
8688 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
8689 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
8690 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
8691 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
8692 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Likewise.
8693 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
8694 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
8695 * sysdeps/unix/sysv/linux/bits/statfs.h: Likewise.
8696 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
8697 * sysdeps/unix/sysv/linux/bits/time.h: Likewise.
8698 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
8699 * sysdeps/unix/sysv/linux/bits/utsname.h: Likewise.
8700 * sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
8701 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.
8702 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
8703 * sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
8704 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Likewise.
8705 * sysdeps/unix/sysv/linux/mips/bits/ioctl-types.h: Likewise.
8706 * sysdeps/unix/sysv/linux/mips/bits/ipc.h: Likewise.
8707 * sysdeps/unix/sysv/linux/mips/bits/mman.h: Likewise.
8708 * sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
8709 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
8710 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
8711 * sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
8712 * sysdeps/unix/sysv/linux/mips/bits/stat.h: Likewise.
8713 * sysdeps/unix/sysv/linux/mips/bits/statfs.h: Likewise.
8714 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
8715 * sysdeps/unix/sysv/linux/mips/bits/time.h: Likewise.
8716 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h: Likewise.
8717 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8718 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
8719 * sysdeps/unix/sysv/linux/sparc/bits/ioctls.h: Likewise.
8720 * sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
8721 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
8722 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
8723 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/mman.h: Likewise.
8724 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/mman.h: Likewise.
8725 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/setjmp.h: Likewise.
8726 * sysdeps/unix/sysv/minix/bits/sigaction.h: Likewise.
8727 * sysdeps/unix/sysv/sco3.2.4/bits/confname.h: Likewise.
8728 * sysdeps/unix/sysv/sco3.2.4/bits/sigaction.h: Likewise.
8729 * sysdeps/unix/sysv/sysv4/bits/sigaction.h: Likewise.
8730 * sysdeps/unix/sysv/sysv4/bits/utsname.h: Likewise.
8731 * sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
8732 * sysdeps/unix/sysv/sysv4/i386/bits/stat.h: Likewise.
8733 * sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Likewise.
8734 * sysdeps/unix/sysv/sysv4/solaris2/sparc/bits/sigcontext.h: Likewise.
8735 * sysdeps/vax/bits/huge_val.h: Likewise.
8736 * sysdeps/vax/bits/setjmp.h: Likewise.
8737 * sysdeps/wordsize-32/bits/elfclass.h: Likewise.
8738 * sysdeps/wordsize-64/bits/elfclass.h: Likewise.
8740 1997-11-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8742 * libio/stdio.h: Correct comment of sys_nerr/sys_errlist.
8744 1997-11-25 Paul Eggert <eggert@shade.twinsun.com>
8746 * strftime.c (strftime):
8747 No longer any need to undef or declare if emacs is defined.
8748 (my_strftime): When checking a -1 returned by mktime, don't blow up
8749 if localtime_r returns NULL.
8751 1997-11-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8753 * README.template: Fix spelling.
8755 1997-11-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8757 * configure.in: Enhance --enable-add-ons description a wee bit.
8759 1997-11-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8761 * glibcbug.in: Add more information of build environment and flags.
8763 1997-11-23 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8765 * sysdeps/posix/getcwd.c: Recognize EOF from readdir and translate
8768 1997-11-24 03:01 Ulrich Drepper <drepper@cygnus.com>
8770 * elf/dl-support.c: Call __libc_init_secure to make sure
8771 __libc_enable_secure is defined early.
8772 * sysdeps/generic/enbl-secure.c: Change function name to
8773 __libc_init_secure and make it global instead of a constructor.
8775 * iconv/gconv.c: Fix lots of bugs.
8776 * iconv/gconv.h: Likewise.
8777 * iconv/gconv_builtin.h: Likewise.
8778 * iconv/gconv_close.c: Likewise.
8779 * iconv/gconv_conf.c: Likewise.
8780 * iconv/gconv_db.c: Likewise.
8781 * iconv/gconv_dl.c: Likewise.
8782 * iconv/gconv_open.c: Likewise.
8783 * iconv/gconv_simple.c: Likewise.
8784 * iconv/iconv.c: Likewise.
8785 * iconv/iconv_close.c: Likewise.
8786 * iconv/iconv_open.c: Likewise.
8788 * wcsmbs/Makefile (routines): Add wmemrtowcs and wmemrtombs.
8789 * wcsmbs/wchar.h: Add prototypes for wmemrtowcs and wmemrtombs.
8790 * wcsmbs/wmemrtombs.c: New file.
8791 * wcsmbs/wmemrtowcs.c: New file.
8793 1997-11-22 19:28 Ulrich Drepper <drepper@cygnus.com>
8795 * iconv/gconv_simple.c: Fix lots of bugs.
8796 * iconv/iconv_open.c: Normalize names before passing them to
8799 * libio/iolibio.h: Add prototypes for _IO_{new,old}_fclose.
8801 * libio/iopopen.c: Check for correct mode argument and punt otherwise.
8802 * stdio-common/test-popen.c: Add test for above change.
8804 * math/libm-test.c: Print test results also using %a format,
8805 specified in PRINTF_XEXPR macro.
8806 * math/test-double.c: Define PRINTF_XEXPR.
8807 * math/test-float.c: Likewise.
8808 * math/test-ldouble.c: Likewise.
8809 * math/test-idouble.c: Likewise.
8810 * math/test-ifloat.c: Likewise.
8811 * math/test-ildoubl.c: Likewise.
8813 * stdio-common/vfscanf.c: Recognize a in format specifier only as
8814 modifier if used before s, S, or [. Otherwise it's the hexadecimal
8817 * stdlib/strtod.c: Little code cleanup.
8819 * sysdeps/i386/Makefile: Define __LIBC_INTERNAL_MATH_INLINES for
8820 compiling in math subdir.
8822 * sysdeps/m68k/fpu/e_acos.c: Define __LIBC_INTERNAL_MATH_INLINES
8823 instead of __LIBC_M81_MATH_INLINES.
8824 * sysdeps/m68k/fpu/e_atan2.c: Likewise.
8825 * sysdeps/m68k/fpu/e_fmod.c: Likewise.
8826 * sysdeps/m68k/fpu/e_pow.c: Likewise.
8827 * sysdeps/m68k/fpu/e_scalb.c: Likewise.
8828 * sysdeps/m68k/fpu/k_cos.c: Likewise.
8829 * sysdeps/m68k/fpu/k_sin.c: Likewise.
8830 * sysdeps/m68k/fpu/k_tan.c: Likewise.
8831 * sysdeps/m68k/fpu/s_atan.c: Likewise.
8832 * sysdeps/m68k/fpu/s_ccos.c: Likewise.
8833 * sysdeps/m68k/fpu/s_ccosh.c: Likewise.
8834 * sysdeps/m68k/fpu/s_cexp.c: Likewise.
8835 * sysdeps/m68k/fpu/s_csin.c: Likewise.
8836 * sysdeps/m68k/fpu/s_csinh.c: Likewise.
8837 * sysdeps/m68k/fpu/s_frexp.c: Likewise.
8838 * sysdeps/m68k/fpu/s_ilogb.c: Likewise.
8839 * sysdeps/m68k/fpu/s_isinf.c: Likewise.
8840 * sysdeps/m68k/fpu/s_llrint.c: Likewise.
8841 * sysdeps/m68k/fpu/s_llrintf.c: Likewise.
8842 * sysdeps/m68k/fpu/s_llrintl.c: Likewise.
8843 * sysdeps/m68k/fpu/s_lrint.c: Likewise.
8844 * sysdeps/m68k/fpu/s_modf.c: Likewise.
8845 * sysdeps/m68k/fpu/s_remquo.c: Likewise.
8846 * sysdeps/m68k/fpu/s_scalbn.c: Likewise.
8847 * sysdeps/m68k/fpu/s_sincos.c: Likewise.
8848 * sysdeps/m68k/fpu/bits/mathinline.h: Define optimizations if
8849 __LIBC_INTERNAL_MATH_INLINES is defined.
8851 * sysdeps/i386/fpu/bits/mathinline.h: Define special i686 versions
8852 of compare macros from ISO C 9X. Optimize generic versions a bit.
8853 Define __signbit inline functions and __ieee754_sqrt which can be
8854 used if the ompiler is fixed.
8856 * sysdeps/posix/sysv_signal.c: Define sysv_signal as weak alias.
8858 1997-11-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8860 * Makerules ($(common-objpfx)stub-$(subdir)): Look for
8861 sysdeps/generic in the whole dep file, not only in the first line.
8863 1997-11-20 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8865 * sysdeps/ieee754/bits/nan.h (__nan) [!__GNUC__]: Fix type.
8867 1997-11-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8869 * manual/arith.texi (Imaginary Unit): Move @end deftypevr to right
8872 1997-11-19 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8874 * elf/dl-error.c (_dl_signal_error): Only print colon if OBJNAME
8877 1997-11-20 16:51 Ulrich Drepper <drepper@cygnus.com>
8879 * malloc/malloc.c (malloc_update_mallinfo): Initialize struct for
8882 1997-11-19 21:36 Ulrich Drepper <drepper@cygnus.com>
8884 * sysdeps/unix/sysv/linux/getcwd.c: Free allocated buffer if
8885 readlink succeeds but the return value is too long.
8887 * stdio-common/printf_fphex.c: Determine sign of number correctly.
8889 1997-11-19 02:45 Ulrich Drepper <drepper@cygnus.com>
8891 * libc.map: Export __divl, __reml, __divq, __remq, __divqu and
8894 1997-11-18 23:08 Ulrich Drepper <drepper@cygnus.com>
8896 * sysdeps/generic/sys/ucontext.h: Stub context file.
8898 * libio/iofprintf.c: Removed. We use the stdio-common version.
8900 * manual/Makefile (distribute): Add stdio-fp.c.
8902 * sysdeps/powerpc/Dist: Add ppc-mcount.S.
8904 * db2/Makefile (distribute): Add include/os_func.h, README and
8907 * hesiod/Makefile (distribute): Add README.hesiod.
8909 1997-11-18 22:14 Ulrich Drepper <drepper@cygnus.com>
8911 * iconv/gconv.c: Correctly call transformation function.
8913 * manual/maint.texi: Document need of binutils 2.8.1.0.17.
8915 1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8917 * sysdeps/libm-ieee754/s_remquo.c (__remquo): Fix function (gave
8918 wrong results for e.g. remquo (3,2, &x)).
8919 * sysdeps/libm-ieee754/s_remquof.c (__remquof): Likewise.
8920 * sysdeps/libm-ieee754/s_remquol.c (__remquol): Likewise.
8922 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8924 * configure.in (ld --version-script): Test if the same symbol
8925 maybe defined in all versions (needed by recent changes to
8926 libc.map and supported with binutils 2.8.1.0.17) and issue warning
8927 if versioning is not supported/enabled.
8928 (bash test): Correct test case.
8930 * math/libm-test.c: Added counting/reporting of number of test cases.
8932 * elf/Makefile ($(objpfx)rtldtbl.h): gawk is not longer required,
8935 * sysdeps/unix/sysv/linux/net/if.h: Add __BEGIN_DECLS/__END_DECLS.
8937 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8939 * elf/dl-load.c (_dl_init_paths): Correct __mempcpy logic.
8941 1997-11-18 18:04 Ulrich Drepper <drepper@cygnus.com>
8943 * sysdeps/generic/pty.c: Define REVOKE to use revoke function.
8944 Replace revoke call by use of REVOKE.
8945 * sysdeps/unix/sysv/linux/pty.c: New file. Define REVOKE as
8946 empty and #include generic version.
8947 Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
8949 1997-11-18 16:02 Ulrich Drepper <drepper@cygnus.com>
8951 * libc.map: Add socket functions with __libc_* names.
8952 Reported by Andreas Jaeger.
8954 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8956 * libc.map: Tidy up (remove duplicates, sort entries).
8958 1997-11-18 Andreas Jaeger <aj@arthur.rhein-neckar.de>
8960 * iconv/gconv.h: Add __BEGIN_DECLS/__END_DECLS.
8962 1997-11-18 06:45 Ulrich Drepper <drepper@cygnus.com>
8964 * sysdeps/generic/pty.c: Make thread safe. Fix bug when calling
8965 again after successful call.
8966 Patch by Marc Lehmann <pcg@goof.com>.
8968 1997-11-17 Paul Eggert <eggert@twinsun.com>
8970 * time/mktime.c, time/strftime.c (_REENTRANT): #define,
8971 as some hosts need this to declare localtime_r properly.
8973 1997-11-18 06:08 Ulrich Drepper <drepper@cygnus.com>
8975 * libc.map: Add iconv_open, iconv, and iconv_close.
8977 1997-11-18 02:31 Ulrich Drepper <drepper@cygnus.com>
8979 * iconv/Makefile: New file.
8980 * iconv/gconv.c: New file.
8981 * iconv/gconv.h: New file.
8982 * iconv/gconv_builtin.c: New file.
8983 * iconv/gconv_builtin.h: New file.
8984 * iconv/gconv_close.c: New file.
8985 * iconv/gconv_conf.c: New file.
8986 * iconv/gconv_db.c: New file.
8987 * iconv/gconv_dl.c: New file.
8988 * iconv/gconv_open.c: New file.
8989 * iconv/gconv_simple.c: New file.
8990 * iconv/iconv.c: New file.
8991 * iconv/iconv.h: New file.
8992 * iconv/iconv_close.c: New file.
8993 * iconv/iconv_open.c: New file.
8994 * include/gconv.h: New file.
8996 * Makeconfig: Define gconvdir.
8997 * Makefile (subdirs): Add iconv.
8999 * string/bits/string2.h: Add optimization for strtok_r.
9001 * sysdeps/generic/_G_config.h: Define __need_NULL to get definition
9003 * sysdeps/unix/sysv/linux/_G_config.h: Likewise.
9004 Reported by H.J. Lu <hjl@gnu.ai.mit.edu>.
9006 * configure.in: Correct test for bash2.
9007 Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
9009 * locale/Makefile (CFLAGS-charmap.c): Add -Wno-char-subscripts.
9010 (CFLAGS-locfile.c): Likewise.
9011 Suggested by Zack Weinberg <zack@rabi.phys.columbia.edu>.
9013 * misc/hsearch_r.c (hsearch_r): Avoid undefinitely search for
9014 non-existing entry if the table is full.
9016 * posix/regex.h: Pretty print.
9018 * stdio-common/printf_fp.c: Don't define NDEBUG if already defined.
9020 * sysdeps/posix/ctermid.c: Simplify a bit.
9022 * sysdeps/unix/sysv/linux/net/if.h: Pretty print.
9024 1997-11-17 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9026 * sysdeps/unix/sysv/linux/sys/quota.h: Add include for
9027 <sys/types.h> instead of <asm/types.h>.
9029 1997-11-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9031 * math/libm-test.c (asin_test): Add epsilon for asin (0.5).
9033 1997-11-16 17:09 H.J. Lu <hjl@gnu.ai.mit.edu>
9035 * libc.map (_IO_stdin_, _IO_stdout_, _IO_stderr_, _IO_fopen,
9036 fopen, freopen, _IO_fclose, fclose): Added to GLIBC_2.0.
9037 (_IO_stdin_, _IO_stdout_, _IO_stderr_): Removed from GLIBC_2.1.
9038 (_IO_2_1_stdin_, _IO_2_1_stdout_, _IO_2_1_stderr_, _IO_fclose,
9039 fclose): Added to GLIBC_2.1.
9041 * libio/Makefile (routines, shared-only-routines): Add
9042 oldiofclose. Remove oldfreopen.
9044 * libio/freopen.c (freopen): When PIC is defined, call
9045 _IO_old_freopen () for old stdio.
9047 * libio/iofclose.c (_IO_new_fclose): Renamed from _IO_fclose.
9048 (_IO_fclose, fclose): Use _IO_new_fclose as default version
9051 * libio/iolibio.h (_IO_old_freopen): Use _IO_old_file_close_it
9052 instead of _IO_file_close_it.
9054 * libio/libio.h (_IO_stdin_, _IO_stdout_, _IO_stderr_): Changed
9056 (_IO_stdin, _IO_stdout, _IO_stderr): Declare as extern if _LIBC
9059 * libio/libioP.h (_IO_old_do_flush): New.
9061 * libio/oldfileops.c (_IO_old_file_close_it,
9062 _IO_old_file_finish, _IO_old_file_overflow, _IO_old_file_sync):
9063 Call _IO_old_do_flush () instead of _IO_do_flush ().
9064 (_IO_old_file_xsputn): Call _IO_old_do_write () instead of
9067 * libio/oldiofopen.c (_IO_old_fopen): Call _IO_old_file_init ()
9068 instead of _IO_file_init ().
9069 Bind old symbols to version GLIBC_2.0.
9071 * libio/oldstdfiles.c (DEF_STDFILE): Don't use symbol_version.
9072 (_IO_old_stdin_, _IO_old_stdout_, _IO_old_stderr_): Changed to
9074 (_IO_check_libio): New function in .init.
9076 * libio/oldiofclose.c: New file.
9078 * libio/stdfiles.c (_IO_new_stdin_, _IO_new_stdout_,
9079 _IO_new_stderr_): Changed to _IO_2_1_stdxxx_.
9080 (DEF_STDFILE): Don't use default_symbol_version.
9082 * libio/stdio.c (stdin, stdout, stderr): Set to
9084 (_IO_stdin, _IO_stdout, _IO_stderr): New, strong alias of
9087 * csu/Makefile (distribute): Add init.c.
9088 (extra-objs): Add init.o for ELF.
9089 (start-installed-name): Add $(objpfx)init.o.
9091 * csu/init.c: New file.
9093 1997-11-12 08:02 H.J. Lu <hjl@gnu.ai.mit.edu>
9095 * elf/dl-lookup.c (do_lookup): Don't use the hidden base
9096 definition as the default.
9098 1997-08-27 Klaus Espenlaub <kespenla@hydra.informatik.uni-ulm.de>
9100 * erand48_r.c (__erand48_r): Implement for 32 bit short int.
9102 1997-11-15 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9104 * elf/genrtldtbl.awk: Replace gensub for compatibility with gawk2
9107 1997-11-16 21:01 Philip Blundell <Philip.Blundell@pobox.com>
9109 * sysdeps/arm/sysdep.h: Use __APCS_32__ to decide whether or not
9110 to preserve condition codes on function call.
9112 1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9114 * sysdeps/generic/s_exp2l.c: Change exp2l to __ieee754_exp2l.
9116 1997-11-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9118 * math/libm-test.c (asin_test): Add epsilon for float.
9119 (tan_test): Add epsilon for float.
9120 (log1p_test): Add epsilon for float.
9121 (inverse_functions): Add epsilons.
9123 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers) [socket]: Add
9126 * sysdeps/unix/sysv/linux/Dist: Add net/if_packet.h.
9128 1997-11-10 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9130 * md5-crypt/Makefile (extra-objs): Make recursively expanded
9131 variable, since $(object-suffixes) is not defined yet.
9133 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9135 * db2/Makefile (distribute): db185/db185_int.src ->
9138 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9140 * misc/tst-fdset.c: Don't require the value of FD_ISSET to be
9143 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9145 * sysdeps/generic/e_acoshl.c: Fix stub_warning: use the user level
9147 * sysdeps/generic/e_acosl.c: Likewise.
9148 * sysdeps/generic/e_asinl.c: Likewise.
9149 * sysdeps/generic/e_atan2l.c: Likewise.
9150 * sysdeps/generic/e_expl.c: Likewise.
9151 * sysdeps/generic/e_fmodl.c: Likewise.
9152 * sysdeps/generic/e_j0l.c: Likewise.
9153 * sysdeps/generic/e_j1l.c: Likewise.
9154 * sysdeps/generic/e_jnl.c: Likewise.
9155 * sysdeps/generic/e_lgammal_r.c: Likewise.
9156 * sysdeps/generic/e_log10l.c: Likewise.
9157 * sysdeps/generic/e_logl.c: Likewise.
9158 * sysdeps/generic/e_powl.c: Likewise.
9159 * sysdeps/generic/e_sqrtl.c: Likewise.
9160 * sysdeps/generic/e_exp2l.c: Likewise.
9162 1997-11-11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9164 * Make-dist (+sysdep-names): Remove extra paren.
9165 * Makefile (distribute): Add stub-tag.h.
9166 * elf/Makefile (distribute): Add atomicity.h.
9167 * stdlib/Makefile (headers): Add ucontext.h and sys/ucontext.h.
9168 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers)
9169 [$(subdir)=socket]: Add net/if_packet.h.
9170 * sysdeps/alpha/Dist: Remove setjmp_aux.c.
9171 * sysdeps/unix/sysv/linux/Dist: Add s_pread64.c, s_pwrite64.c,
9172 net/if_packet.h, scsi/sg.h.
9174 1997-11-13 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9176 * Makefile (install): Quote $(CC) expansion.
9178 1997-11-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9180 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Added caching of
9181 working /proc cwd and no restrictions on path length. Following
9182 some ideas from Andi Kleen <ak@muc.de> (PR 350).
9184 1997-11-14 19:14 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
9186 * nis/nss_compat/compat-grp.c: Remove buggy assert call.
9187 * nis/nss_compat/compat-pwd.c: Likewise.
9188 * nis/nss_compat/compat-spwd.c: Likewise.
9190 1997-11-14 22:23 Ulrich Drepper <drepper@cygnus.com>
9192 * sysdeps/libm-i387/s_fdim.S: New file.
9193 * sysdeps/libm-i387/s_fdimf.S: New file.
9194 * sysdeps/libm-i387/s_fdiml.S: New file.
9195 * sysdeps/libm-i387/i686/s_fdim.S: New file.
9196 * sysdeps/libm-i387/i686/s_fdimf.S: New file.
9197 * sysdeps/libm-i387/i686/s_fdiml.S: New file.
9199 1997-11-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9201 * string/bits/string2.h (strstr): Avoid warning if HAYSTACK is a
9202 pointer to unsigned char.
9204 1997-11-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9206 * sysdeps/libm-ieee754/s_llrintf.c (__llrintf): Fix function.
9208 * sysdeps/libm-ieee754/s_lrintf.c (__lrintf): Fix function.
9210 * sysdeps/libm-ieee754/s_lrint.c (__lrint): Fix function.
9212 1997-11-12 Andreas Jaeger <aj@arthur.rhein-neckar.de>
9214 * sysdeps/libm-ieee754/s_ilogbf.c: Correct return values for
9216 * sysdeps/libm-ieee754/s_ilogbl.c: Likewise.
9217 * sysdeps/libm-ieee754/s_ilogb.c: Likewise.
9219 1997-11-14 05:44 Ulrich Drepper <drepper@cygnus.com>
9221 * sysdeps/libm-i387/s_fmin.S: New file.
9222 * sysdeps/libm-i387/s_fminf.S: New file.
9223 * sysdeps/libm-i387/s_fminl.S: New file.
9224 * sysdeps/libm-i387/s_fmax.S: New file.
9225 * sysdeps/libm-i387/s_fmaxf.S: New file.
9226 * sysdeps/libm-i387/s_fmaxl.S: New file.
9227 * sysdeps/libm-i387/i686/s_fmin.S: New file.
9228 * sysdeps/libm-i387/i686/s_fminf.S: New file.
9229 * sysdeps/libm-i387/i686/s_fminl.S: New file.
9230 * sysdeps/libm-i387/i686/s_fmax.S: New file.
9231 * sysdeps/libm-i387/i686/s_fmaxf.S: New file.
9232 * sysdeps/libm-i387/i686/s_fmaxl.S: New file.
9234 1997-11-14 03:06 Ulrich Drepper <drepper@cygnus.com>
9236 * sysdeps/unix/sysv/linux/accept.S: Add __libc_accept as alias.
9237 * sysdeps/unix/sysv/linux/send.S: Likewise.
9238 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
9239 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
9240 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
9241 * sysdeps/unix/sysv/linux/recv.S: Likewise.
9242 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
9243 * sysdeps/unix/sysv/linux/connect.S: Likewise.
9244 Reported by Christopher Wiles <wileyc@ai.cs.fujitsu.co.jp>.
9246 See ChangeLog.7 for earlier changes.