jlayton/glibc.git
26 years agoUpdate.
Ulrich Drepper [Mon, 25 May 1998 10:01:47 +0000 (10:01 +0000)]
Update.

1998-05-25  Ulrich Drepper  <drepper@cygnus.com>

* malloc/thread-m.h: Use __mutex_init function in mutex_init macro
for Hurd.  Patch by Mark Kettenis.

1998-04-18  Gordon Matzigkeit  <gord@profitpress.com>

 * mach/Machrules (+preinit, +postinit): Define these variables to
 empty because libhurduser and libmachuser don't need startup
 files.

1998-04-22  Gordon Matzigkeit  <gord@profitpress.com>

 * sysdeps/mach/hurd/errlist.c (ERR_REMAP): Use err_get_code
 instead of a raw bitmask.

1998-05-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* Makeconfig (rpath-dirs): New variable.
(rpath-link): Use it.
(nssobjdir, nisobjdir, rtobjdir, resolvobjdir): Removed.
(db-objpfx): Removed.
* crypt/Makefile: Augment rpath-dirs instead of rpath-link.
* md5-crypt/Makefile: Likewise.
* sysdeps/mach/hurd/Makefile: Likewise.

* Makeconfig (move-if-change): New variable.
* iconvdata/Makefile (move-if-change): Removed.
* manual/Makefile (move-if-change): Set only if undefined, use
local script by default.
* sunrpc/Makefile (move-if-change): Removed.
* sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
$(move-if-change).

 * elf/Makefile: Remove all references to obsolete file
 $(objpfx)rtldtbl.h.
 ($(objpfx)trusted-dirs.h): Use stamp file.  Cleanup command.

1998-05-22  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* elf/dl-close.c (_dl_close): Add debugging message.

1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* csu/Makefile ($(objpfx)version-info.h): Correct sed expression
to get Linux version and not gcc version.
Reported by Alan Curry <pacman@cqc.com>.

1998-05-25  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* sysdeps/generic/_strerror.c (__strerror_r): Don't return NULL
pointers - return unknown error message instead.
Reported by Alan Curry <pacman@cqc.com>.

1998-05-24  Mark Kettenis  <kettenis@phys.uva.nl>

* iconvdata/Makefile (modules, sed-generated-headers,
perl-generated-headers): ibm424.h is perl generated.  Make
necessary modifications to compile without perl.

1998-05-24  Mark Kettenis  <kettenis@phys.uva.nl>

* hesiod/hesiod.c (read_config_file): Fix typo.

26 years agoUpdate. cvs/libc-ud-2_0_94
Ulrich Drepper [Sun, 24 May 1998 18:51:11 +0000 (18:51 +0000)]
Update.

1998-05-24  Ulrich Drepper  <drepper@cygnus.com>

* version.h: Bump VERSION.

* csu/Makefile (distribute): Add munch-tmpl.c.

26 years agoUpdate.
Ulrich Drepper [Sun, 24 May 1998 18:03:36 +0000 (18:03 +0000)]
Update.

1998-05-23  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

* nis/nis_defaults.c: Fix buffer problems and typos.

1998-05-23 08:42  Ulrich Drepper  <drepper@cygnus.com>

* intl/dcgettext.c: Don't use any alloca hacks if C_ALLOCA is defined.
Patch by Fred Fish.

26 years agoUpdate.
Ulrich Drepper [Fri, 22 May 1998 22:49:57 +0000 (22:49 +0000)]
Update.

* stdlib/random_r.c (__random_r): Rewrite last patch to fix buffer
overwriting bugs.

26 years agoUpdate.
Ulrich Drepper [Fri, 22 May 1998 17:17:46 +0000 (17:17 +0000)]
Update.

1998-05-22  Ulrich Drepper  <drepper@cygnus.com>

* libio/strops.c (_IO_str_underflow): Read newly available
character from buffer as unsigned.

26 years agoUpdate.
Ulrich Drepper [Fri, 22 May 1998 11:02:04 +0000 (11:02 +0000)]
Update.

1998-05-22 10:56  Ulrich Drepper  <drepper@cygnus.com>

* catgets/Makefile (distribute): Add xopen-msg.h.
(generated): Add de.msg and de.cat.
(tests): Add do-gencat-test.
(do-gencat-test): New goal.  Run gencat on a generated msg file.
* catgets/xopen-msg.h: New file.

26 years agoUpdate.
Ulrich Drepper [Fri, 22 May 1998 10:23:35 +0000 (10:23 +0000)]
Update.

1998-05-22  Ulrich Drepper  <drepper@cygnus.com>

* catgets/open_catalog.c (__open_catalog): Use byteswap.h
functions.  Optimize filename creation a bit.

1998-05-22 09:29  Ulrich Drepper  <drepper@cygnus.com>

* stdlib/random_r.c: Help gcc to optimize the code.
Patch by Joe Keane <jgk@jgk.org>.

26 years agoUpdate.
Ulrich Drepper [Thu, 21 May 1998 16:24:27 +0000 (16:24 +0000)]
Update.

1998-05-21  Ulrich Drepper  <drepper@cygnus.com>

* iconv/iconv_prog.c (print_known_names): Use strverscmp in all
tsearch calls.

26 years agoUpdate.
Ulrich Drepper [Thu, 21 May 1998 15:55:44 +0000 (15:55 +0000)]
Update.

1998-05-21  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* timezone/test-tz.c: The test with TZ=UTC0 seems to work - enable
it.

26 years agoUpdate.
Ulrich Drepper [Thu, 21 May 1998 15:40:14 +0000 (15:40 +0000)]
Update.

1998-05-21 15:27  Ulrich Drepper  <drepper@cygnus.com>

* wcsmbs/wcsnrtombs.c: Correct computation of result.
* wcsmbs/wcsrtombs.c: Likewise.

* wcsmbs/Makefile (tests): Add wcsmbs-tst1.c.
* wcsmbs/wcsmbs-tst1.c: New file.

* iconv/loop.c (COUNT_CONVERTED): Correct computation.

* locale/C-ctype.c (_nl_C_LC_CTYPE): Define MB_CUR_MAX for C locale
as 1.

* locale/setlocale.c: Don't make _nl_current_* and _nl_C_* references
weak.

1998-05-21  Philip Blundell  <philb@gnu.org>

* sysdeps/arm/fpu_control.h: Replace stub file with real
implementation.
* sysdeps/arm/fpu/bits/fenv.h: New file.
* sysdeps/arm/fpu/fesetround.c: Likewise.
* sysdeps/arm/fpu/fclrexcpt.c: Likewise.
* sysdeps/arm/fpu/fsetexcptflag.c: Likewise.
* sysdeps/arm/fpu/ftestexcpt.c: Likewise.
* sysdeps/arm/fpu/fraiseexcpt.c: Likewise.
* sysdeps/arm/fpu/fegetenv.c: Likewise.
* sysdeps/arm/fpu/fesetenv.c: Likewise.

1998-05-21 16:34  Richard Henderson  <rth@cygnus.com>

* elf/dl-load.c (_dl_map_object_from_fd): Get file header with
read instead of mmap.

26 years ago(_dl_map_object_from_fd): Get file header with read instead of mmap.
Ulrich Drepper [Thu, 21 May 1998 15:30:48 +0000 (15:30 +0000)]
(_dl_map_object_from_fd): Get file header with read instead of mmap.

26 years ago * sysdeps/unix/sysv/linux/alpha/glob.c: Include sysdeps/generic/glob.c ...
Richard Henderson [Thu, 21 May 1998 01:18:56 +0000 (01:18 +0000)]
    * sysdeps/unix/sysv/linux/alpha/glob.c: Include sysdeps/generic/glob.c         directly instead of include_next.  Add missing semicolons.         * sysdeps/unix/sysv/linux/alpha/oldglob.c: Include sys/types.h.         Add missing semicolons.

1998-05-21  8:16  Richard Henderson  <rth@cygnus.com>

* sysdeps/unix/sysv/linux/alpha/glob.c: Include sysdeps/generic/glob.c
directly instead of include_next.  Add missing semicolons.
* sysdeps/unix/sysv/linux/alpha/oldglob.c: Include sys/types.h.
Add missing semicolons.

26 years agoUpdate.
Ulrich Drepper [Thu, 21 May 1998 00:12:45 +0000 (00:12 +0000)]
Update.

1998-05-21  Ulrich Drepper  <drepper@cygnus.com>

* iconvdata/gconv-modules: Add more aliases to please java
environments.

26 years agoUpdate.
Ulrich Drepper [Wed, 20 May 1998 23:34:20 +0000 (23:34 +0000)]
Update.

* stdio-common/vfprintf.c (process_arg): Fix typo.

* iconvdata/Makefile ($(objpfx)iconv-test.out): Also depend on TESTS.
* math/libm-test.c (hypot_test): Fix a typo.

26 years agoUpdate
Ulrich Drepper [Wed, 20 May 1998 23:33:28 +0000 (23:33 +0000)]
Update

1998-05-20  Ulrich Drepper  <drepper@cygnus.com>

* iconvdata/TESTS: New tests for EUC-KR.

* iconvdata/Makefile ($(objpfx)iconv-test.out): Also depend on
TESTS.
* iconvdata/testdata/EUC-KR: New file.

26 years agoUpdate.
Ulrich Drepper [Wed, 20 May 1998 15:33:37 +0000 (15:33 +0000)]
Update.

1998-05-20 07:26  H.J. Lu  <hjl@gnu.org>

* math/libm-test.c (hypot_test): Fix a tyypo.

26 years agoUpdate.
Ulrich Drepper [Wed, 20 May 1998 14:50:12 +0000 (14:50 +0000)]
Update.

1998-05-20  Ulrich Drepper  <drepper@cygnus.com>

* stdio-common/vfprintf.c: When precision is specified for %ls or
%S handle it correctly.

26 years agoUpdate.
Ulrich Drepper [Wed, 20 May 1998 14:34:51 +0000 (14:34 +0000)]
Update.

* sysdeps/unix/bsd/vax/vfork.S: Missed double occurences of "the
the" in one line - fixed it.
* sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
* sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
* posix/unistd.h: Likewise

1998-05-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

26 years agoUpdate.
Ulrich Drepper [Wed, 20 May 1998 10:50:03 +0000 (10:50 +0000)]
Update.

1998-05-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* Makeconfig (rpath-link): Add resolvobjdir.
(resolvobjdir): New variable.
Reported by Peter Breitenlohner <peb@mppmu.mpg.de> [fixes PR libc/633].

1998-05-20 09:36  Ulrich Drepper  <drepper@cygnus.com>

* elf/dl-close.c: Call shared object terminators at the right time.
Patch by Philippe Troin <phil@fifi.org>.

1998-05-20  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* Make-dist (+tsrcs): Also add *.map for every member of
$(extra-libs).

* Makefile (distribute): Don't distribute scripts/printsources and
scripts/=__ify.  Distribute FAQ.in.
(rpm/%): Don't pass subdirs to sub-make.

* timezone/Makefile: Protect inclusion of z.* by $(avoid-generated)
instead of $(no_deps).

1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/generic/setenv.c: Protect against GNU C extension.
(KNOWN_VALUE, STORE_VALUE): Do it right.
(setenv): Remove unused variable.

1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* timezone/Makefile (tz-cflags): Define TM_GMTOFF and TM_ZONE.
(CFLAGS-zdump.c): Add $(tz-cflags).

* timezone/zdump.c (abbr): Use TM_ZONE if defined.  Add const to
return type.

1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* time/tzfile.c (__tzfile_compute): Undo last change.  Instead
take struct tm parameter and set tm_isdst, tm_zone and tm_offset
if use_localtime.
* time/tzset.c: Update prototype of __tzfile_compute.
(__tz_convert): Pass tp to __tzfile_compute.  Don't set tm_isdst,
tm_zone and tm_offset here if __use_tzfile.

1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* Makerules: Install libc.a even if there are no object file.

1998-05-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* Makerules (do-makelib): Don't force creating library from
scratch, to avoid wasting time and space and to get correct
behaviour if $(subdirs) is incomplete.

1998-05-19  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* Makerules (do-stamp): Make it work when building in source
directory.

26 years agoUpdate.
Ulrich Drepper [Wed, 20 May 1998 00:15:00 +0000 (00:15 +0000)]
Update.

1998-05-20 00:10  Ulrich Drepper  <drepper@cygnus.com>

* elf/dl-load.c: Rename option and variable from ignore-rpath to
inhibit-rpath.
* elf/dl-support.c: Likewise.
* elf/ldsodefs.h: Likewise.
* elf/rtld.c: Likewise.
* iconvdata/run-iconv-test.sh: Likewise.

26 years agoUpdate.
Ulrich Drepper [Tue, 19 May 1998 23:18:44 +0000 (23:18 +0000)]
Update.

1998-05-19 23:08  Ulrich Drepper  <drepper@cygnus.com>

* elf/rtld.c: Recognize --ignore-rpath argument and set _dl_ignore_path
variable using the value.
* elf/ldsodefs.h: Declare _dl_ignore_path.
* elf/dl-load.c (decompose_rpath): Compare name of handled shared
object against list in _dl_ignore_path and ignore RPATH if on the list.
* elf/dl-support.c: Define _dl_ignore_path for static binaries.
* iconvdata/run-iconv-test.sh: Call ld.so with --ignore-rpath parameter
to make sure we get the correct helper libraries loaded.

* elf/dl-load.c (decompose_rpath): Remove `room' parameter.  Use
"RPATH" string in call to fillin_rpath instead.
(_dl_init_paths): Remove this parameter from call to decompose_rpath.

26 years agoUpdate.
Ulrich Drepper [Tue, 19 May 1998 21:12:42 +0000 (21:12 +0000)]
Update.

1998-05-19  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/i386/i486/bits/string.h (__strstr_g): Initialize %edx
correctly.  Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.

26 years agoUpdate.
Ulrich Drepper [Tue, 19 May 1998 16:24:41 +0000 (16:24 +0000)]
Update.

1998-05-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* manual/terminal.texi (I/O Queues): Fix typo.

* manual/stdio.texi (Closing Streams): Fix grammar.

* manual/arith.texi (Absolute Value): Correct typo.
Patches by Oskar Liljeblad <osk@hem.passagen.se>. [PR libc/630]

26 years agoUpdate.
Ulrich Drepper [Tue, 19 May 1998 16:13:05 +0000 (16:13 +0000)]
Update.

1998-05-19 15:58  Ulrich Drepper  <drepper@cygnus.com>

* elf/rtld.c (process_envvars): Fix typo.  Don't handle
LD_PROFILE_OUTPUT in SUID binaries.
* intl/dcgettext.c: In SUID binaries don't let language part of
locale value contain path elements.
* intl/explodename.h: Define new function _nl_find_language.
* intl/loadinfo.h: Declare _nl_find_language.
* locale/findlocale.c (_nl_find_locale): Use _nl_find_locale to get
language part it drop the value is path element is contained.

* locale/setlocale.c: Fix typo.

1998-05-18  Philip Blundell  <Philip.Blundell@pobox.com>

* sysdeps/unix/sysv/linux/arm/socket.S: Correct handling of arguments.

* sysdeps/arm/strlen.S: Support both big and little endian processors.

* sysdeps/arm/sysdep.h (ALIGNARG): ELF .align directive uses a
log, not a byte-count.

* sysdeps/unix/arm/sysdep.S (syscall_error): Use C_SYMBOL_NAME for
a.out compatibility.

1998-05-19  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* sysdeps/unix/bsd/vax/vfork.S: Fix the "the the" problems.
* sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
* sysdeps/unix/bsd/hp/m68k/vfork.S: Likewise.
* posix/unistd.h: Likewise.
* math/math.h: Likewise.
* manual/users.texi (Manipulating the Database): Likewise.
* manual/signal.texi (Job Control Signals): Likewise.
* manual/message.texi (The gencat program): Likewise.
* manual/filesys.texi (Hard Links): Likewise.
* manual/math.texi (SVID Random): Likewise.
* manual/llio.texi (Waiting for I/O): Likewise.
* manual/io.texi (File Name Errors): Likewise.
* manual/conf.texi (String Parameters): Likewise.
* manual/arith.texi (Infinity): Likewise.
* malloc/malloc.c: Likewise.
* hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
* csu/Makefile: Likewise.

26 years agoUpdate.
Ulrich Drepper [Tue, 19 May 1998 12:21:04 +0000 (12:21 +0000)]
Update.

1998-05-19 12:16  Ulrich Drepper  <drepper@cygnus.com>

* manual/memory.texi: Add back accidently removed line.

26 years agoUpdate. cvs/libc-ud-980518
Ulrich Drepper [Mon, 18 May 1998 15:26:40 +0000 (15:26 +0000)]
Update.

1998-04-25  Mark Kettenis  <kettenis@phys.uva.nl>

* sysdeps/generic/utmp_file.c (TIMEOUT): New macro.
(timeout_handler): New function.
(LOCK_FILE, UNLOCK_FILE): New macros.
Implement file locking with timeout.
(getutent_r_file, internal_getut_r, getutline_r_file,
pututline_file, updwtmp_file): Use LOCK_FILE and UNLOCK_FILE for
locking.

26 years agoUpdate.
Ulrich Drepper [Mon, 18 May 1998 11:43:16 +0000 (11:43 +0000)]
Update.

1998-05-18 11:38  Ulrich Drepper  <drepper@cygnus.com>

* iconvdata/run-iconv-test.sh: Extend library-path by iconvdata
directory.

1998-05-16  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* rpm/Makefile: Delete inclusion of version.mk.

1998-05-17  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* libc.map: Add all libio functions needed libstdc++ with version
2.0, sort entries.

1998-05-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* iconvdata/Makefile (generated): Add *.stmp files.

1998-05-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* timezone/Makefile (testdata, build-testdata): New variables, use
them in rules for test data.
($(objpfx)tst-timezone.out): Depend on test data.
($(testdata)/Europe/Berlin, $(testdata)/Universal,
$(testdata)/Australia/Melbourne, $(testdata)/America/Sao_Paulo):
New rules to build test data.
(tst-timezone-ENV): Pass TZDIR to point to test data.

26 years agoUpdate.
Ulrich Drepper [Mon, 18 May 1998 09:53:46 +0000 (09:53 +0000)]
Update.

1998-05-18  Ulrich Drepper  <drepper@cygnus.com>

* iconvdata/TESTS: ISO-2022-KR has not really ASCII as a subset
(the designation sequence is disturbing).

26 years agoUpdate.
Ulrich Drepper [Sun, 17 May 1998 15:44:39 +0000 (15:44 +0000)]
Update.

1998-05-17  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

* sunrpc/svc_tcp.c: Add FreeBSD DoS patch.
* sunrpc/xdr_rec.c: Likewise.

26 years agoUpdate.
Ulrich Drepper [Sat, 16 May 1998 22:24:20 +0000 (22:24 +0000)]
Update.

* posix/Makefile (tests): Add runptests.
(distribute): Add PTESTS, PTESTS2C.sed, and ptestcases.h.
(before-compile): Add ptestcases.h.
(ptestscases.h): Add rule to generate from PTESTS.
* posix/runptests.c: New file.
* posix/PTESTS: New file.
* posix/PTESTS2C.sed: New file.

1998-05-15  Ulrich Drepper  <drepper@cygnus.com>

26 years agoUpdate.
Ulrich Drepper [Sat, 16 May 1998 00:03:15 +0000 (00:03 +0000)]
Update.

* iconv/loop.c: Let user add code to use and set paramaters.

* iconvdata/iso-2022-kr.c: Correct to-loop.

* iconvdata/ksc5601.h (ksc5601_to_ucs4): Use correct value to find
hanja.

* iconvdata/TESTS: Add ISO-2022-KR test.
* iconvdata/testdata/ISO-2022-KR: New file.

* wcsmbs/btowc.c: Likewise.
* wcsmbs/mbrtowcs.c: Likewise.
* wcsmbs/mbsnrtowcs.c: Likewise.
* wcsmbs/mbsrtowcs.c: Likewise.
* wcsmbs/wcrtomb.c: Likewise.
* wcsmbs/wcsnrtombs.c: Likewise.
* wcsmbs/wcsrtombs.c: Likewise.
* wcsmbs/wctob.c: Likewise.

26 years agoUpdate.
Ulrich Drepper [Fri, 15 May 1998 21:56:41 +0000 (21:56 +0000)]
Update.

1998-05-15  Ulrich Drepper  <drepper@cygnus.com>

* iconvdata/iso-2022-kr.c (PREPARE_LOOP): Use correct variable to
point to output buffer.

26 years agoUpdate.
Ulrich Drepper [Fri, 15 May 1998 21:17:11 +0000 (21:17 +0000)]
Update.

1998-05-15 21:07  Ulrich Drepper  <drepper@cygnus.com>

* iconv/gconv.h (gconv_step_data): Add new fields invocation_counter
and internal_use.
* iconv/gconv_open.c (__gconv_open): Initialize invocation_counter
and internal_use.
* iconv/skeleton.c: Increment invocation_counter.
* iconvdata/iso-2022-kr.c: When used in iconv() emit designator
sequence first.

* iconv/skeleton.c (FROM_DIRECTION): Completely embrace expression.
* iconvdata/iso-2022-jp.c: Likewise.
* iconvdata/iso646.c: Likewise.

* iconvdata/Makefile: Correct rpath definition for ISO-2022-KR.

26 years agoUpdate.
Ulrich Drepper [Fri, 15 May 1998 17:08:11 +0000 (17:08 +0000)]
Update.

* iconv/gconv_db.c (derivation_lookup): Use __tfind correctly.

26 years agoUpdate.
Ulrich Drepper [Fri, 15 May 1998 15:28:15 +0000 (15:28 +0000)]
Update.

1998-05-15  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/generic/setenv.c (setenv): Remove optimization for
overwriting existing values if it fits.

26 years agoUpdate.
Ulrich Drepper [Fri, 15 May 1998 14:46:36 +0000 (14:46 +0000)]
Update.

1998-05-15 14:36  Ulrich Drepper  <drepper@cygnus.com>

* posix/wordexp-test.c: Avoid duplicate messages.

* sysdeps/generic/setenv.c: Use __tfind and __tsearch, not tfind and
tsearch.  Correctly interpret values returned by those functions.
(unsetenv): Store pointer to string, not pointer to string pointer.

* time/tzfile.c (__tzfile_compute): Take new arguments.  Store
DST information and offset in them.
* time/tzset.c (__tz_convert): Pass extra parameters to
__tzfile_compute.  Compute equivalent values for use of tz_rules.

1998-05-15 00:49:11  Zack Weinberg  <zack@rabi.phys.columbia.edu>

* iconvdata/Makefile (gen-8bit-table): Use move-if-change and
stamp files to avoid unnecessary recompilation.
(gen-8bit-gap-table): Likewise.
(move-if-change): New variable.
(all generated .h rules): Change to be .stmp rules.
(%.h): New rule; depend on %.stmp; no commands.
(distribute): Add gen-8bit.sh, gen-8bit-gap.sh,
gen-8bit-gap-1.sh.

1998-05-15 01:09  Zack Weinberg  <zack@rabi.phys.columbia.edu>

* Makerules (libc-map): Deleted.
(load-map-file): Set to the appropriate compiler switch, not
just the file name.  If libfoo-map is not set, look for a
libfoo.map in the current directory and $(..).
(map-file): New variable, contains just the mapfile name.
(build-shlib): Adjust for new value of load-map-file.
(libc.so): Correct dependencies.

* extra-lib.mk: Correct shlib dependencies since libfoo-map
may not be set anymore.

* elf/Makefile: Set ld-map to $(..)libc.map, not $(libc-map).
Delete libdl-map.  Tweak ld.so link rule to work with changed
variable settings in Makerules.
* iconvdata/Makefile: Tweak build-module to work with changed
variable settings in Makerules.

* db/Makefile: Delete libdb-map.
* hesiod/Makefile: Delete libnss_hesiod-map.
* linuxthreads/Makefile: Delete libpthread-map.
* locale/Makefile: Delete libBrokenLocale-map.
* login/Makefile: Delete libutil-map.
* math/Makefile: Delete libm-map.
* md5-crypt/Makefile: Delete libcrypt-map.
* nis/Makefile: Delete libnsl-map, libnss_nis-map,
libnss_nisplus-map, and libnss_compat-map.
* nss/Makefile: Delete libnss_files-map, libnss_db-map, and
libnss_ldap-map.
* resolv/Makefile: Delete libresolv-map and libnss_dns-map.
* rt/Makefile: Delete librt-map.

1998-05-15 01:06  Zack Weinberg  <zack@rabi.phys.columbia.edu>

* configure.in: Instead of substituting `yes' or `no' for whether
--no-whole-archive is available, set @no_whole_archive@ to the
appropriate gcc switch or the empty string.  Likewise for
-fno-exceptions.
* config.make.in: Replace have-no-whole-archive with
no-whole-archive and have-no-exceptions with no-exceptions.
* Makerules: Delete stanzas setting no-whole-archive and
no-exceptions.

* sunrpc/Makefile: Use move-if-change to update generated .h
and .c files.

1998-05-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* wcsmbs/wcsmbsload.c (extract_charset_name): Use strcspn instead
of strchr loop.

1998-05-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* time/tzfile.c (__tzfile_read): Remove unused variable info.
(__tzfile_compute): Likewise.

1998-05-15  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* sysdeps/unix/sysv/linux/bits/socket.h (AF_SNA,PF_SNA): Add new
defines from Linux 2.1.102.

26 years agoUpdate.
Ulrich Drepper [Thu, 14 May 1998 23:17:30 +0000 (23:17 +0000)]
Update.

1998-05-14 23:14  Ulrich Drepper  <drepper@cygnus.com>

* locale/programs/ld-ctype.c: Write correct mb_cur_max value.

26 years agoUpdate.
Ulrich Drepper [Thu, 14 May 1998 19:14:48 +0000 (19:14 +0000)]
Update.

1998-05-14 13:25  Ulrich Drepper  <drepper@cygnus.com>

* inet/netinet/in.h: Add defines for multicast.
Reported by Jeremy Hall <jhall@UU.NET>.

* stdlib/stdlib.h: Add prototypes for __setenv and __unsetenv.
* sysdeps/generic/putenv.c: Use __setenv and __unsetenv, not setenv
and unsetenv.  Optimize _LIBC case.
* sysdeps/generic/setenv.c: Prevent unnecessary memory leaks.
Define functions with leading __.

* time/tzfile.c: Correct handling of global variables daylight,
timezone, and tzname.
* time/tzset.c: Likewise.
* timezone/Makefile (tests): Add tst-timezone.
* timezone/tst-timezone.c: New file.

1998-05-14 10:35  Ulrich Drepper  <drepper@cygnus.com>

* timezone/asia: Update from tzdata1998d.
* timezone/australasia: Likewise.
* timezone/europe: Likewise.

26 years agoUpdate.
Ulrich Drepper [Wed, 13 May 1998 17:15:27 +0000 (17:15 +0000)]
Update.

* string/string.h: Don't use the optimized versions for the string
functions if optimizing for space.

26 years agoUpdate.
Ulrich Drepper [Wed, 13 May 1998 16:25:59 +0000 (16:25 +0000)]
Update.

* stdlib/tst-strtod.c: Add test for -0.0.

26 years agoUpdate.
Ulrich Drepper [Wed, 13 May 1998 16:12:38 +0000 (16:12 +0000)]
Update.

* io/ftwtest-sh: Prevent tests from being run by root.

26 years agoUpdate.
Ulrich Drepper [Wed, 13 May 1998 16:05:28 +0000 (16:05 +0000)]
Update.

1998-05-13  Ulrich Drepper  <drepper@cygnus.com>

* wcsmbs/wcsmbsload.c (extract_charset_name): Fix silly bugs in
last addition.  Patch by wkpark@chem.skku.ac.kr.

26 years agoUpdate.
Ulrich Drepper [Wed, 13 May 1998 12:10:50 +0000 (12:10 +0000)]
Update.

1998-05-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* iconvdata/8bit-gap.c (BODY): Don't fall off the end of the gap
table.

1998-05-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* iconvdata/gen-8bit.sh: New file.
* iconvdata/gen-8bit-gap.sh: New file.
* iconvdata/gen-8bit-gap-1.sh: New file.
* iconvdata/Makefile (generate-8bit-table): Use shell script
instead of writing the commands directly.
(generate-8bit-gap-table): Likewise.
($(objpfx)iso8859-7jp.h): Likewise.
(generated headers): Depend on shell script instead of Makefile.
(before-compile): Add $(perl-generated-headers) only if perl is
available.
(headers): Depend on $(perl-generated-headers) only if perl is
available.
(sed-generated-headers): Remove iso8859-7jp.h.

1998-05-11  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* csu/Makefile ($(objpfx)abi-tag.h): Double $ in command.  Clean up.
(/): Removed.

26 years agoUpdate.
Ulrich Drepper [Wed, 13 May 1998 10:00:07 +0000 (10:00 +0000)]
Update.

1998-05-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* locales/ru_SU: Add repertoiremap.

26 years agoUpdate.
Ulrich Drepper [Tue, 12 May 1998 22:42:08 +0000 (22:42 +0000)]
Update.

1998-05-12  Ulrich Drepper  <drepper@cygnus.com>

* wcsmbs/wcsmbsload.c (extract_charset_name): Pass correctly
formed charset names to getfct.  Let user override charset
selection by mention charset in locale name.

26 years agoUpdate.
Ulrich Drepper [Tue, 12 May 1998 12:22:17 +0000 (12:22 +0000)]
Update.

1998-05-12 12:15  Ulrich Drepper  <drepper@cygnus.com>

* posix/glob.c: Move to ...
* sysdeps/generic/glob.c: ...here.
* posix/glob.h (glob_t): Use correct types for gl_pathc and gl_offs
elements.
* sysdeps/unix/sysv/linux/alpha/glob.c: New file.
* sysdeps/unix/sysv/linux/alpha/oldglob.c: New file.
* sysdeps/unix/sysv/linux/alpha/Dist: Add oldglob.c.
* sysdeps/unix/sysv/linux/alpha/Makefile: Compile oldglob in posix
subdir.
* libc.map [GLIBC_2.1]: Add glob and globfree.

1998-05-12  Ulrich Drepper  <drepper@cygnus.com>

* sunrpc/Makefile (generated): Restore old list.

1998-05-11  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* rt/Makefile (tests): Define only if we have a thread library.

* nis/ypclnt.c: Add: #include <errno.h>.

1998-05-10 15:39  Zack Weinberg  <zack@rabi.phys.columbia.edu>

* configure.in: Define and substitute RELEASE as well as
VERSION.
* config.make.in: Add RELEASE and VERSION to be substituted.
* Makeconfig: Delete all references to version.mk.
* Make-dist: Likewise.
* MakeTAGS: Likewise.
* elf/Makefile: Likewise.

1998-05-10  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

* nis/ypclnt.c: Move "(none)" domainname check from __yp_check to
yp_get_default_domain.

1998-05-12  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/posix/profil.c (__profil): Don't define act and timer
variables as static.  Patch by Joe Keane <jgk@jgk.org>.

1998-05-12  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>

* malloc/malloc.c: Fix for NO_THREADS case.

Remove statfs and fstatfs.
and pwrite as EXTRA.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.

26 years ago(__profil): Don't define act and timer variables as static.
Ulrich Drepper [Tue, 12 May 1998 09:33:31 +0000 (09:33 +0000)]
(__profil): Don't define act and timer variables as static.

26 years agoUpdate.
Richard Henderson [Mon, 11 May 1998 11:05:56 +0000 (11:05 +0000)]
Update.

1998-05-11 18:02  Richard Henderson  <rth@cygnus.com>

* sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines):
Remove statfs and fstatfs.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Don't mark pread
and pwrite as EXTRA.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.

26 years ago(sysdep_routines): Remove statfs and fstatfs.
Richard Henderson [Mon, 11 May 1998 11:04:27 +0000 (11:04 +0000)]
(sysdep_routines): Remove statfs and fstatfs.

26 years agoUpdate.
Ulrich Drepper [Sat, 9 May 1998 08:43:22 +0000 (08:43 +0000)]
Update.

1998-05-09  Ulrich Drepper  <drepper@cygnus.com>

* libc.map: Add capget and capset.

26 years agoUpdate.
Ulrich Drepper [Sat, 9 May 1998 00:01:32 +0000 (00:01 +0000)]
Update.

* scripts: New directory.
* =__ify: Moved to scripts.
* Rules: Unconfuse syntax highlighting with a fake comment.

26 years agoUpdate.
Ulrich Drepper [Fri, 8 May 1998 23:57:12 +0000 (23:57 +0000)]
Update.

1998-05-08  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
(DL_FIND_ARG_COMPONENTS): Find correct alignment for auxiliary
vector.  Patch by Mark Hatle <fray@kernel.crashing.org>
and Matt McLean <keys@brio.yikes.com>.

26 years agoUpdate.
Ulrich Drepper [Fri, 8 May 1998 23:54:11 +0000 (23:54 +0000)]
Update.

1998-05-08 23:49  Ulrich Drepper  <drepper@cygnus.com>

* misc/Makefile (tests): Add tst-mntent.
* misc/tst-mntent.c: New file.

26 years agoUpdate.
Ulrich Drepper [Fri, 8 May 1998 20:56:30 +0000 (20:56 +0000)]
Update.

1998-05-08 21:56  Zack Weinberg  <zack@rabi.phys.columbia.edu>

* autolock.sh: Removed.
* manual/move-if-change: Removed.

* scripts: new directory.
* =__ify: moved to scripts.
* config.guess: Likewise.
* config.sub: Likewise.
* gen-FAQ.pl: Likewise.
* install-sh: Likewise.
* mkinstalldirs: Likewise.
* move-if-change: Likewise.
* printsources: Likewise.
* rellns.sh: Likewise.
* test-installation.pl: Likewise.

* configure.in: Look in scripts for config.guess, config.sub,
install-sh.
* Makefile: Distribute all above files in their
new home.  Find gen-FAQ.pl and test-installation.pl in scripts.
* manual/Makefile: Find mkinstalldirs and move-if-change in
$(..)scripts.  Drop them from distribute.  Minor cleanups.
* Makerules: Find mkinstalldirs and rellns-sh in scripts.
* sysdeps/mach/hurd/Makefile: Find move-if-change in scripts.
* timezone/Makefile: Find rellns-sh in scripts.

26 years agoUpdate.
Ulrich Drepper [Fri, 8 May 1998 20:42:23 +0000 (20:42 +0000)]
Update.

* intl/locale.alias: Change italian to it_IT.ISO-8859-1.
Reported by Ottavio G. Rizzo <otto@mast.queensu.ca>.

1998-05-08 19:24  Zack Weinberg  <zack@rabi.phys.columbia.edu>

* Makefile (+subdir-inits): Delete variable.
(+init_subdirs): Likewise.
(aux): Likewise.
(before-compile): Likewise.
(libc-init): Delete stanza.
(version-info.h): Delete rule and associated variable.
(distribute): Don't distribute moved files.
* Makerules (interp-obj): It lives in elf now.  Only use it
if $(elf) is set.  Delete rule to build it.
* csu/Makefile: Build set-init.o and/or munch-init.o.  Build
version.o and version-info.h.  Minor cleanups.
(routines): Add libc-init, sysdep, version.
(generated): Add version-info.h.
* elf/Makefile: Build interp.os.

* interp.c: Moved to elf.
* set-init.c: Moved to csu.
* munch-init.c: Likewise.
* munch.awk: Likewise.
* version.c: Likewise.

* Makeconfig: Add emacs mode marker.
* Makerules: Likewise.
* Rules: Likewise, and also unconfuse syntax highlighting with
a fake comment.

1998-05-08  Ulrich Drepper  <drepper@cygnus.com>

26 years agoUpdate.
Ulrich Drepper [Fri, 8 May 1998 17:08:01 +0000 (17:08 +0000)]
Update.

1998-05-08  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/syscalls.list: Add capset and capget
syscalls.

26 years agoUpdate.
Ulrich Drepper [Fri, 8 May 1998 15:16:22 +0000 (15:16 +0000)]
Update.

1998-05-08 16:36  Zack Weinberg  <zack@rabi.phys.columbia.edu>

* iconvdata/Makefile (generated): Set to *-generated-headers
plus gconv-modules.
(tests): Set to iconv-test.
* localedata/Makefile (generated-dirs): Add ld-test-names to list.
* posix/Makefile (generated): Set to wordexp-test-result*.
* sunrpc/Makefile (generated): Remove rpcsvc/*.
(generated-dirs): Add rpcsvc.
* libio/Makefile: Clean up.

1998-05-08 14:55  Ulrich Drepper  <drepper@cygnus.com>

* Make-dist (+tsrcs): Also use tests-statc where tests is used.
* Makerules: Likewise.
(+depfiles): Also add sysdep-others.
* Rules: Likewise.
* iconv/Makefile (distribute): Add loop.s and skeleton.c.
* iconvdata/Makefile (distribute): Add TESTS.
* localedata/Makefile (repertoires): Rename to repertoiremaps.
* sysdeps/gnu/Dist: Add utmpx.h and bits/utmpx.h.
* sysdeps/unix/sysv/linux/Dist: Add ldd-rewrite.sed.
* sysdeps/unix/sysv/linux/i386/Makefile [subdir=elf]: Define
sysdep-others, not others.
* sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
* sysdeps/unix/sysv/linux/sparc/Dist: Add sys/kernel_termios.h.

26 years agoUpdate.
Ulrich Drepper [Fri, 8 May 1998 12:32:47 +0000 (12:32 +0000)]
Update.

1998-05-08 12:26  Ulrich Drepper  <drepper@cygnus.com>

* iconv/gconv_int.h (struct gconv_module): Remove cost field and add
cost_hi and cost_lo.
* iconv/gconv_conf.c (builtin_modules): Initialize cost_hi from
Cost parameter and set cost_lo to INT_MAX.
(add_module): Take new parameter and use it to initialize cost_lo.
(read_conf_file): Count modules being loaded and use counter for
new parameter to add_module.
* iconv/gconv_db.c (find_derivation): When look for cost examine
cost_hi and cost_lo.

1998-05-08 10:52  Ulrich Drepper  <drepper@cygnus.com>

* string/bits/string2.h: Don't use unsigned char * unless really
necessary since this disturbs C++.
* sysdeps/i386/i486/bits/string.h: Likewise.
Patch by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.

1998-05-08 13:53  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* malloc/malloc.c (top_check): Fix last change.

26 years agoUpdate.
Ulrich Drepper [Thu, 7 May 1998 21:24:52 +0000 (21:24 +0000)]
Update.

1998-05-07  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Define.
Patch by Matt McLean <keys@brio.yikes.com>.

26 years agoUpdate.
Ulrich Drepper [Thu, 7 May 1998 13:10:33 +0000 (13:10 +0000)]
Update.

1997-05-07 13:26  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* Makerules (lib): Put back dependency on lib-noranlib.
($(subdirs-stamps)): Remove dependency on stamp.* again.

1998-05-07  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/i386/fpu/bits/mathinline.h: Use long long int also for
test in __pow2 implementation.

1998-05-07  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* malloc/malloc.c (top_check): Add void as parameter to silent gcc.

26 years agoUpdate.
Ulrich Drepper [Wed, 6 May 1998 14:43:15 +0000 (14:43 +0000)]
Update.

1998-04-16 07:42  Geoff Keating  <geoffk@ozemail.com.au>

* Makeconfig [!build-static]: Link `static' binaries with libc_pic.a.
Still need *FLAGS-.o because we still sometimes build .o files.
* db2/Makefile: Don't build libndbm.a if !build-static.

1998-04-16 07:42  Geoff Keating  <geoffk@ozemail.com.au>

* configure.in: New test for broken gcc on PowerPC.
* sysdeps/powerpc/atomicity.h: Use result of test.
* linuxthreads/sysdeps/powerpc/pt-machine.h: Use result of test.

* math/libm-test.c: Update many of the epsilon to match actual
performance.

* sysdeps/libm-ieee754/e_exp.c: Reduce the number of branches.
* sysdeps/libm-ieee754/e_expf.c: Likewise.
* sysdeps/libm-ieee754/s_exp2.c: Likewise.
* sysdeps/libm-ieee754/s_exp2f.c: Likewise.

* sysdeps/libm-ieee754/e_pow.c: Correct typo.

* sysdeps/powerpc/elf/libc-start.c: New file.
* sysdeps/powerpc/elf/start.S: New file, use libc-start.
* sysdeps/powerpc/elf/start.c: Delete.

* sysdeps/unix/sysv/linux/powerpc/Dist: Remove syscall.h
* sysdeps/unix/sysv/linux/powerpc/syscall.h: Delete.  It was unused.

* sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Correct previous
few patches.

26 years agoUpdate.
Ulrich Drepper [Wed, 6 May 1998 12:54:05 +0000 (12:54 +0000)]
Update.

1998-05-06 12:51  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/i386/fpu/bits/mathinline.h (pow): Use long long int for
test for integer.

* sysdeps/libm-i387/e_pow.S: Correctly shift double word.
* sysdeps/libm-i387/e_powl.S: Likewise.

1998-03-31  Wolfram Gloger  <wmglo@dent.med.uni-muenchen.de>

* malloc/malloc.c (chunk2mem_check, top_check): New functions.
(malloc_check, free_check, realloc_check, memalign_check): Use
them to improve overrun checking.  Overruns of a single byte and
corruption of the top chunk are now detected much more reliably.

1998-05-06  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* math/libm-test.c (pow_test): Add test for special value from PR
libc/590.

26 years agoUpdate.
Ulrich Drepper [Wed, 6 May 1998 10:22:20 +0000 (10:22 +0000)]
Update.

1998-05-06  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/bits/errno.h: Undefine EILSEQ before
including linux/errno.h.

* sysdeps/unix/sysv/sysv4/solaris2/bits/errno.h: New file.

26 years agoUpdate.
Ulrich Drepper [Wed, 6 May 1998 09:52:22 +0000 (09:52 +0000)]
Update.

1998-05-06 09:49  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/sysv4/solaris2/bits/stat.h: Add LFS support.
Use correct types.
* sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: New file.

1998-05-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* Makerules (elide-routines.*): Fix assignments.
(do-makelib): Fix typo.
($(subdirs-stamps)): Depend on $(objpfx)stamp.* if in parent
makefile.

1998-05-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* Makefile (sysdep-subdirs, subdirs, $(common-objpfx)sysd-dirs,
$(objpfx)sysd-dirs): Move them...
* Makeconfig: ... here.
* Makerules (subdirs-stamps, subdirs-stamp-o): Always define.
(stubs): Fix circular depedency.
(do-makelib): Clean up.
(lib): Don't depend on lib-noranlib.
($(objpfx)stamp.oS): Remove special case for empty
static-only-routines.
(elide-routines.o): Add $(static-only-routines).
(elide-routines$o): Define this instead of elide-routines.$o.
* manual/Makefile (stubs): Fix circular dependency.

1998-05-05  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* libio/Makefile (routines): Remove duplicate oldiofclose.

26 years agoUpdate.
Ulrich Drepper [Tue, 5 May 1998 20:21:09 +0000 (20:21 +0000)]
Update.

* string/strcoll.c: Use uint32_t instead of u_int32_t.

1998-05-05  Ulrich Drepper  <drepper@cygnus.com>

26 years agoUpdate.
Ulrich Drepper [Tue, 5 May 1998 11:39:46 +0000 (11:39 +0000)]
Update.

1998-05-05  Ulrich Drepper  <drepper@cygnus.com>

* libio/stdio.h: Fix typo in __REDIRECT.
* io/sys/stat.h: Likewise.
Reported by Myles Uyema <myles@uyema.nws.net>.

26 years agoUpdate.
Ulrich Drepper [Tue, 5 May 1998 11:24:07 +0000 (11:24 +0000)]
Update.

1998-05-04  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* locale/programs/localedef.c (options): Fix help message.

26 years agoUpdate.
Ulrich Drepper [Mon, 4 May 1998 14:12:10 +0000 (14:12 +0000)]
Update.

1998-05-04  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Avoid nasty
relocations.  Patch by Joe Keane <jgk@jgk.org>.

26 years agoUpdate.
Ulrich Drepper [Mon, 4 May 1998 13:19:20 +0000 (13:19 +0000)]
Update.

1998-05-04 12:40  Ulrich Drepper  <drepper@cygnus.com>

* malloc/malloc.c (ptmalloc_init_all): New function.  Similar to
ptmalloc_unlock_all, but re-initializes the mutexes instead.
(ptmalloc_init): Use new function in thread_at_fork call.
(thread_atfork_static): Likewise.
Suggested by Wolfram Gloger and Xavier Leroy.

26 years agoUpdate.
Ulrich Drepper [Mon, 4 May 1998 11:38:48 +0000 (11:38 +0000)]
Update.

1998-05-04  Ulrich Drepper  <drepper@cygnus.com>

* signal/signal.h: Move definitions of struct sigstack and
struct sigaltstack into separate file and include it.
* sysdeps/generic/bits/sigstack.h: New file.
* sysdeps/unix/sysv/linux/bits/sigstack.h: New file.
* signal/Makefile (headers): Add bits/sigstack.h.

1998-05-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* elf/rtld.c (dl_main): Fix check for number of references to
interpreter object.

1998-05-03  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* elf/rtld.c (dl_main): Check has_interp after executing platform
specific code.

1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* iconvdata/run-iconv-test.sh: Fix typo.

1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* Makerules (+depfiles): Add depfiles for $(tests-static).
Simplified.

1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* manual/terminal.texi (Special Characters): Fix description of
c_cc indexes.

1998-05-01  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysv/linux/tcsetattr.c: Use memcpy to copy the c_cc
array.
* sysdeps/unix/sysv/linux/tcgetattr.c: Likewise.  Initialize rest
of c_cc array.

26 years agoUpdate.
Ulrich Drepper [Fri, 1 May 1998 22:04:20 +0000 (22:04 +0000)]
Update.

1998-04-30 14:15  Zack Weinberg  <zack@rabi.phys.columbia.edu>

* sysdeps/unix/sysv/linux/netrose/rose.h: Don't include kernel headers.

26 years agoUpdate.
Ulrich Drepper [Fri, 1 May 1998 21:51:03 +0000 (21:51 +0000)]
Update.

* intl/locale.alias: Update russian entry.

1998-05-01 21:54  Zack Weinberg  <zack@rabi.phys.columbia.edu>

* Makerules (static-only-routines): Reimplement in terms of
elide-routines.os.
(shared-only-routines): Reimplement in terms of
elide-routines.X [where X is all object-suffixes except .os].

(stubs): Create stubs file inside the subdir.
(common-mostlyclean): Remove stubs file from inside the subdir.
* Makefile (subdir-stubs): Look for stubs files inside the
subdirs.
* manual/Makefile (stubs): Create dummy stubs file inside the
subdir.

1998-05-01 21:01  Zack Weinberg  <zack@rabi.phys.columbia.edu>

Build speed improvement: make ar less of a bottleneck.

* Makerules (stamp$o): Just record the object list for later
use.
(libc_foo.a): New rule, depends on subdir stamp files; builds
and ranlibs the library from the lists saved in those files.

(subdirs-stamps): Define also if subdir == elf (FIXME: kludge).
(subdirs-stamp-o): Likewise.

(ar-symtab-name): Delete variable.
(lib%.a): Delete target.
(libc_foo.a(bar.%)): Delete target.
(libc_foo.a($(ar-symtab-name))): Delete target.

(objects objs): Just depend on libobjs and extra-objs.
(libobjs): Depend on the stamp files, not the objects.
(extra-objs): New target, just depends on the extra-objs list.

(CREATE_ARFLAGS): Kill the `ar S' hack.

* config.make.in (have-ar-S): Deleted.
* configure.in: Delete test for `ar S'.  Add test to determine
whether ranlib does anything useful.

1998-05-01  Ulrich Drepper  <drepper@cygnus.com>

26 years agoUpdate.
Ulrich Drepper [Fri, 1 May 1998 14:14:28 +0000 (14:14 +0000)]
Update.

1998-05-01  Ulrich Drepper  <drepper@cygnus.com>

* manager.c (pthread_free): Unmap guard before the stack.
Patch by Matthias Urlichs.

26 years agoUpdate.
Ulrich Drepper [Fri, 1 May 1998 10:39:47 +0000 (10:39 +0000)]
Update.

1998-05-01  Ulrich Drepper  <drepper@cygnus.com>

* inet/tst-ether_aton.c: Include <stdio.h>.

26 years agoUpdate.
Ulrich Drepper [Thu, 30 Apr 1998 18:52:38 +0000 (18:52 +0000)]
Update.

* locale/programs/locfile.c: Interpret I18NPATH value as base of
path, extended with "/locales/".

26 years agoUpdate.
Ulrich Drepper [Thu, 30 Apr 1998 16:57:48 +0000 (16:57 +0000)]
Update.

1998-04-30 16:45  Ulrich Drepper  <drepper@cygnus.com>

* inet/ether_aton.c: Including netinet/if_ether.h is not necessary.

* locale/Makefile (distribute): Add programs/repertoire.h.
(localedef-modules): Add repertoire.
(CPPFLAGS): Define REPERTOIREMAP_PATH.
* locale/programs/repertoire.c: New file.
* locale/programs/repertoire.h: New file.
* locale/programs/charmap.c: Starting fixing character set handling
to handle multi-byte encodings.
* locale/programs/charset.c: Likewise.
* locale/programs/charset.h: Likewise.
* locale/programs/ld-collate.c: Likewise.
* locale/programs/ld-ctype.c: Likewise.
* locale/programs/linereader.c: Likewise.
* locale/programs/localedef.c: Likewise.
* locale/programs/locfile-kw.gperf: Likewise.
* locale/programs/locfile-kw.h: Likewise.
* locale/programs/locfile-token.h: Likewise.
* locale/programs/locfile.h: Likewise.
* locale/programs/stringtrans.c: Likewise.

1998-04-18  Philip Blundell  <Philip.Blundell@pobox.com>

* sysdeps/arm/memset.S: Fix off by one error.

* sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): On error, call
__syscall_error rather than syscall_error directly.

1998-04-17  Philip Blundell  <Philip.Blundell@pobox.com>

* sysdeps/unix/sysv/linux/arm/mmap.S: New file; implementation of
mmap() syscall for ARM.

* sysdeps/unix/arm/start.c: New file; startup code for ARM a.out
binaries.

26 years agoUpdate.
Ulrich Drepper [Thu, 30 Apr 1998 10:14:00 +0000 (10:14 +0000)]
Update.

1998-04-30  Ulrich Drepper  <drepper@cygnus.com>

* manager.c (pthread_free): Detect already free child.
Patch by Xavier Leroy, reported by Matthias Urlichs.

26 years agoUpdate.
Ulrich Drepper [Thu, 30 Apr 1998 00:32:43 +0000 (00:32 +0000)]
Update.

1998-04-30  Ulrich Drepper  <drepper@cygnus.com>

* locale/programs/localedef.c: Recognize repertoire-map option.

1998-04-29  Ulrich Drepper  <drepper@cygnus.com>

* locale/programs/linereader.c (get_toplvl_escape): Fix typo in
converting non-hex numbers.
Patch by Won Kyu Park <bird@bird.kitel.co.kr>.

26 years agoUpdate.
Ulrich Drepper [Wed, 29 Apr 1998 23:02:41 +0000 (23:02 +0000)]
Update.

1998-04-29  Ulrich Drepper  <drepper@cygnus.com>

* tst-locale.sh: Add comment for when multi-byte charsets in
locales work.
* tests/test5.cm: New file.
* tests/test5.def: New file.
* Makefile (ld-test-names): Add test5.

26 years agoUpdate.
Ulrich Drepper [Wed, 29 Apr 1998 17:14:29 +0000 (17:14 +0000)]
Update.

1998-04-23 07:31  H.J. Lu  <hjl@gnu.org>

* resolv/inet_addr.c (inet_aton): Use __strtoul_internal to
check overflow.
* resolv/Makefile (tests): New, add tst-aton.
* resolv/tst-aton.c: New file.

1998-04-29  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/sparc/sparc32/dl-machine.h (WEAKADDR): Add missing
semicolon.

* sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add SIGCLD definition.

26 years agoUpdate.
Ulrich Drepper [Wed, 29 Apr 1998 13:05:07 +0000 (13:05 +0000)]
Update.

* wcsmbs/mbsrtowcs.c: Optimize a bit more.
* wcsmbs/wcsrtombs.c: Likewise.

26 years agoUpdate.
Ulrich Drepper [Wed, 29 Apr 1998 12:15:49 +0000 (12:15 +0000)]
Update.

1998-04-29 12:11  Ulrich Drepper  <drepper@cygnus.com>

* wcsmbs/mbsnrtowcs.c: Remove variable to pass to conversion function
by letting the later modify the variable computing the total directly.
* wcsmbs/mbsrtowcs.c: Likewise.
* wcsmbs/wcsnrtombs.c: Likewise.
* wcsmbs/wcsrtombs.c: Likewise.

* wcsmbs/btowc.c (converted): Rename variable to dummy to make clear
it is not used.
* wcsmbs/wctoc.c: Likewise.

26 years agoUpdate.
Ulrich Drepper [Wed, 29 Apr 1998 10:33:09 +0000 (10:33 +0000)]
Update.

* iconv/skeleton.c: Correct counting of actually converted
characters.

26 years agoUpdate.
Ulrich Drepper [Wed, 29 Apr 1998 10:16:38 +0000 (10:16 +0000)]
Update.

* intl/localealias.c (read_alias_file): Use unsigned char for
local variables.  Remove unused variable tp.
* intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
for type of codeset.  For loosing Solaris systems.
* intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
* intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
len if not needed.
Patches by Jim Meyering.

26 years agoUpdate.
Ulrich Drepper [Wed, 29 Apr 1998 09:12:43 +0000 (09:12 +0000)]
Update.

1998-04-29  Ulrich Drepper  <drepper@cygnus.com>

* stdio-common/vfprintf.c [%S]: Don't clear mbstate twice;
wcsrtombs must put it into initial state.

26 years agoUpdate.
Ulrich Drepper [Wed, 29 Apr 1998 07:48:04 +0000 (07:48 +0000)]
Update.

1998-04-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* iconv/gconv_simple.c: Fix endian bug.  Don't put side effects in
argument of bswap_XX macro.

1998-04-28  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* iconvdata/Makefile (EBCDIC-DK-NO-A-routines): Fix typo in
variable name.

26 years agoUpdate.
Ulrich Drepper [Tue, 28 Apr 1998 22:51:34 +0000 (22:51 +0000)]
Update.

* sysdeps/unix/sysv/linux/semctl.c (semctl): Define own union
semun and use stdarg macros to get the value.
* sysdeps/generic/semctl.c: Don't use union semun.

26 years agoUpdate.
Ulrich Drepper [Tue, 28 Apr 1998 22:41:57 +0000 (22:41 +0000)]
Update.

* sysvipc/sys/sem.h: Don't use union semun in semctl prototype.

26 years agoUpdate.
Ulrich Drepper [Tue, 28 Apr 1998 19:41:51 +0000 (19:41 +0000)]
Update.

* string/basename.c [!_LIBC]: Define function as gnu_basename.

* posix/getopt.c [!__GNU_LIBRARY__]: Include string.h or
strings.h.

26 years agoUpdate.
Ulrich Drepper [Tue, 28 Apr 1998 17:18:24 +0000 (17:18 +0000)]
Update.

* stdlib/grouping.h: Accept ungrouped numbers even if locale
defines grouping.

26 years agoUpdate.
Ulrich Drepper [Tue, 28 Apr 1998 16:51:21 +0000 (16:51 +0000)]
Update.

* intl/hash-string.h: Don't include values.h.

26 years agoUpdate.
Ulrich Drepper [Tue, 28 Apr 1998 15:58:57 +0000 (15:58 +0000)]
Update.

* inet/Makefile (tests): Add tst-ether_aton.
* inet/tst-ether_aton.c: New file.

26 years agoUpdate.
Ulrich Drepper [Tue, 28 Apr 1998 14:22:07 +0000 (14:22 +0000)]
Update.

* inet/ether_aton_r.c (ether_aton_r): Preserve high-nibble value
in hex conversion.
* inet/ether_aton.c (ether_aton): Declare result variable static.
Reported by ahyung@unixg.ubc.ca.

26 years agoUpdate.
Ulrich Drepper [Tue, 28 Apr 1998 14:15:46 +0000 (14:15 +0000)]
Update.

Reported by Dirk Laessig <d.laessig@tu-bs.de>.

* stdio-common/tst-wc-printf.c: New file.  Test for %S and %C format.
* stdio-common/Makefile (tests): Add tst-wc-printf.

26 years agoUpdate.
Ulrich Drepper [Tue, 28 Apr 1998 14:12:52 +0000 (14:12 +0000)]
Update.

1998-04-28  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/bits/sem.h: Don't define union semun.
Define macro _SEM_SEMUN_UNDEFINED instead.

26 years agoUpdate.
Ulrich Drepper [Tue, 28 Apr 1998 09:58:11 +0000 (09:58 +0000)]
Update.

1998-04-28 16:32  Philip Blundell  <philb@gnu.org>

* manual/stdio.texi (Variable Arguments Output): Correct variable
name.  Patch from Ewan Mellor <em@nexus.co.uk>

1998-04-27  Ulrich Drepper  <drepper@cygnus.com>

* intl/dcgettext.c: Remove unneeded definition of
internal_function.

26 years agoUpdate.
Ulrich Drepper [Tue, 28 Apr 1998 09:57:10 +0000 (09:57 +0000)]
Update.

1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* iconvdata/Makefile ($(objpfx)iconv-test.out): Use this as target
instead of do-iconv-test.
($(objpfx)gconv-modules): Define rule only if objpfx is not
empty.

1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* string/string.h: Fix feature test.

1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* iconvdata/iso646.c (BODY): Don't use character constants that
depend on signedness of char.

26 years agoUpdate. cvs/libc-ud-980427
Ulrich Drepper [Mon, 27 Apr 1998 11:51:53 +0000 (11:51 +0000)]
Update.

1998-04-27  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/i386/Makefile [$(subdirs)=misc]
(sysdep_routines): Add s_pread64 and s_pwrite64.

1998-04-27 09:54  Ulrich Drepper  <drepper@cygnus.com>

* iconvdata/Makefile (distribute): Remove generated .h files.
* iconvdata/koi8-r.h: Removed.
* iconvdata/latin-greek-1.h: Removed.
* iconvdata/latin-greek.h: Removed.

* iconvdata/testdata/CP1258..UTF8: New iconv test source.
* iconvdata/KOI-8: Likewise.
* iconvdata/KOI-8..UTF8: Likewise.
* iconvdata/KOI8-R: Likewise.
* iconvdata/KOI8-R..UTF8: Likewise.

26 years agoUpdate.
Ulrich Drepper [Mon, 27 Apr 1998 09:43:55 +0000 (09:43 +0000)]
Update.

1998-04-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* streams/Makefile (headers): Add sys/stropts.h.
* streams/sys/stropts.h: New file.

1998-04-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysv/linux/ttyname.c,
sysdeps/unix/sysv/linux/ttyname_r.c: New files, like
sysdeps/posix/ttyname*.c, but look in /dev/pts first.

1998-04-25  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysv/linux/ptsname.c: Fix off-by-one bug in second
argument of _itoa_word.

1998-04-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysv/linux/syscalls.list (s_getcwd, s_getdents,
s_pread64, s_pwrite64, s_reboot, s_sigpending, s_sigprocmask): Set
caller to getcwd, getdents, pread64, pwrite64, reboot, sigpending,
sigprocmask, resp., instead of EXTRA.

* sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
s_pread64 and s_pwrite64.

26 years agoUpdate.
Ulrich Drepper [Mon, 27 Apr 1998 07:31:26 +0000 (07:31 +0000)]
Update.

* iconvdata/TESTS: Name new tests.
* iconvdata/testdata/CP1250: New file.
* iconvdata/testdata/CP1250..UTF8: New file.
* iconvdata/testdata/CP1251: New file.
* iconvdata/testdata/CP1251..UTF8: New file.
* iconvdata/testdata/CP1252: New file.
* iconvdata/testdata/CP1252..UTF8: New file.
* iconvdata/testdata/CP1253: New file.
* iconvdata/testdata/CP1253..UTF8: New file.
* iconvdata/testdata/CP1254: New file.
* iconvdata/testdata/CP1254..UTF8: New file.
* iconvdata/testdata/CP1255: New file.
* iconvdata/testdata/CP1255..UTF8: New file.
* iconvdata/testdata/CP1256: New file.
* iconvdata/testdata/CP1256..UTF8: New file.
* iconvdata/testdata/CP1257: New file.
* iconvdata/testdata/CP1257..UTF8: New file.