external/glibc.git
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.
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.

26 years agoUpdate.
Ulrich Drepper [Sun, 26 Apr 1998 18:47:24 +0000 (18:47 +0000)]
Update.

1998-04-26 18:44  Ulrich Drepper  <drepper@cygnus.com>

* iconvdata/Makefile: Correct rules to generate gap table.
* iconvdata/gap.pl: Simplify.

26 years agoUpdate.
Ulrich Drepper [Sun, 26 Apr 1998 14:03:20 +0000 (14:03 +0000)]
Update.

* iconvdata/Makefile: Add rules for ISO-2022-KR.
* iconvdata/iso-2022-kr.c: New file.

* iconvdata/gconv-modules: Add entry for ISO-2022-JP, ISO-2022-JP-2,
and ISO-2022-KR.

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

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

* iconvdata/gconv-modules: Add entry for ISO-2022-JP and
ISO-2022-JP-2.

26 years agoUpdate.
Ulrich Drepper [Sat, 25 Apr 1998 20:34:34 +0000 (20:34 +0000)]
Update.

1998-04-25 18:39  Ulrich Drepper  <drepper@cygnus.com>

* iconvdata/Makefile: Use gap method for iso8859-5, iso8859-7,
iso8859-8 and iso8859-10.
* iconvdata/iso8859-5.c: Change to use gap method.
* iconvdata/iso8859-7.c: Likewise.
* iconvdata/iso8859-8.c: Likewise.
* iconvdata/iso8859-10.c: Likewise.

* iconvdata/Makefile: Add rules for ISO-2022-JP module.
* iconv/skeleton.c: Allow END_LOOP do be defined and use it at the
end of the loop.
* iconvdata/iso-2022-jp.c: New file.

* iconvdata/ksc5601.c: Don't use uint16_t to represent byte sequence.
* iconvdata/ksc5601.h: Unify function interfaces.
* iconvdata/euckr.c: Adapt for changed ksc5601.h interface.
* iconvdata/uhc.c: Likewise.

* iconvdata/gb2312.h: Use correct types.

* iconvdata/iso646.c (gconv_open): Correctly initialize the character
size elements of data.

26 years agoUpdate.
Ulrich Drepper [Fri, 24 Apr 1998 17:37:16 +0000 (17:37 +0000)]
Update.

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

* string/tst-svc.expect: Adapt for change in .input.
* string/tst-svc.input: More tests.

26 years agoUpdate.
Ulrich Drepper [Fri, 24 Apr 1998 17:20:33 +0000 (17:20 +0000)]
Update.

1998-04-24 17:15  Ulrich Drepper  <drepper@cygnus.com>

* iconvdata/Makefile: Add rules for new modules.
* iconvdata/gconv-modules: Likewise.
* iconvdata/cp737.c: New file.
* iconvdata/cp737.h: New file.
* iconvdata/cp775.c: New file.
* iconvdata/cp775.h: New file.
* iconvdata/cp874.c: New file.
* iconvdata/cp874.h: New file.

26 years agoUpdate.
Ulrich Drepper [Fri, 24 Apr 1998 16:33:09 +0000 (16:33 +0000)]
Update.

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

* iconvdata/Makefile: Create target directory before generating
headers.

26 years agoUpdate.
Ulrich Drepper [Fri, 24 Apr 1998 16:02:42 +0000 (16:02 +0000)]
Update.

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

* misc/sys/cdefs.h (__REDIRECT): Handle systems with non-empty
__USER_LABEL_PREFIX__.
(__ASMNAME, __ASMNAME2): New macros.

26 years agoUpdate.
Ulrich Drepper [Fri, 24 Apr 1998 15:33:23 +0000 (15:33 +0000)]
Update.

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

* elf/dl-load.c: Include sys/param.h for MAX.

26 years agoUpdate.
Ulrich Drepper [Fri, 24 Apr 1998 15:31:26 +0000 (15:31 +0000)]
Update.

1998-04-24 21:44  Richard Henderson  <rth@cygnus.com>

* sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Make
__ftruncate the strong symbol, and add weak alias.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.

26 years ago(ftruncate): Make __ftruncate the strong symbol, and add weak alias.
Ulrich Drepper [Fri, 24 Apr 1998 15:29:55 +0000 (15:29 +0000)]
(ftruncate): Make __ftruncate the strong symbol, and add weak alias.

26 years agoDon't check against SP.
Richard Henderson [Fri, 24 Apr 1998 14:43:00 +0000 (14:43 +0000)]
Don't check against SP.

26 years agoUpdate.
Ulrich Drepper [Fri, 24 Apr 1998 14:31:03 +0000 (14:31 +0000)]
Update.

* termios/cfsetspeed.c: Make code cleaner and add missing const.
Patch by Joe Keane <jgk@jgk.org>.

26 years agoUpdate.
Ulrich Drepper [Fri, 24 Apr 1998 14:19:19 +0000 (14:19 +0000)]
Update.

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

* inet/rcmd.c (__ivaliduser): Check buf for being NULL before
free()ing.

26 years agoUpdate.
Ulrich Drepper [Fri, 24 Apr 1998 14:03:49 +0000 (14:03 +0000)]
Update.

1998-04-24 13:56  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/generic/bits/socket.h: Add #defines for enum values.
Patch by Thomas Bushnell, n/BSG.

26 years agoUpdate.
Ulrich Drepper [Fri, 24 Apr 1998 13:04:49 +0000 (13:04 +0000)]
Update.

* inet/rcmd.c (iruserok): Initialize hostf variable to NULL.

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

26 years agoUpdate.
Ulrich Drepper [Fri, 24 Apr 1998 07:57:34 +0000 (07:57 +0000)]
Update.

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

* iconvdata/Makefile: Put generated headers in build directory.

26 years agoUpdate.
Ulrich Drepper [Fri, 24 Apr 1998 07:08:27 +0000 (07:08 +0000)]
Update.

26 years agoUpdate.
Ulrich Drepper [Fri, 24 Apr 1998 07:07:59 +0000 (07:07 +0000)]
Update.

<<<<<<< ChangeLog
1998-04-23 22:43  Ulrich Drepper  <drepper@cygnus.com>

* elf/dl-load.c (fillin_rpath): Handle empty element returned by
strsep as current directory.

* iconv/gconv_builtin.h: Add aliases unicode and unicodebig for
Java.  Add definitions for unicodelittle implementation.
* iconv/gconv_int.h: Add declaration for unicodelittle functions.
* iconv/gconv_simple.c: Define unicodelittle functions.

* iconv/iconv_prog.c: Make program print information about position
of illegal character in input.

* iconv/skeleton.c: Use __strcasecmp instead of __strcasestr for
comparison of charset name.
* iconvdata/big5.c (CHARSET_NAME): Adapt for this.
* iconvdata/ebcdic-at-de-a.c: Likewise.
* iconvdata/ebcdic-at-de.c: Likewise.
* iconvdata/ebcdic-ca-fr.c: Likewise.
* iconvdata/euccn.c: Likewise.
* iconvdata/eucjp.c: Likewise.
* iconvdata/euckr.c: Likewise.
* iconvdata/euctw.c: Likewise.
* iconvdata/hp-roman8.c: Likewise.
* iconvdata/iso6937.c: Likewise.
* iconvdata/iso8859-1.c: Likewise.
* iconvdata/iso8859-10.c: Likewise.
* iconvdata/iso8859-2.c: Likewise.
* iconvdata/iso8859-3.c: Likewise.
* iconvdata/iso8859-4.c: Likewise.
* iconvdata/iso8859-5.c: Likewise.
* iconvdata/iso8859-6.c: Likewise.
* iconvdata/iso8859-7.c: Likewise.
* iconvdata/iso8859-8.c: Likewise.
* iconvdata/iso8859-9.c: Likewise.
* iconvdata/johab.c: Likewise.
* iconvdata/koi-8.c: Likewise.
* iconvdata/koi8-r.c: Likewise.
* iconvdata/latin-greek-1.c: Likewise.
* iconvdata/latin-greek.c: Likewise.
* iconvdata/sjis.c: Likewise.
* iconvdata/t61.c: Likewise.
* iconvdata/uhc.c: Likewise.

* iconvdata/iso646.c: Add support for more ISO 646 variants.
* iconvdata/TESTS: Add tests for ISO646 module.
* iconvdata/gconv-modules: Add new modules.
* iconvdata/testdate/CSA_Z243.4-1985-1: New tests for ISO646 module.
* iconvdata/testdate/CSA_Z243.4-1985-1..UCS2: Likewise.
* iconvdata/testdate/CSA_Z243.4-1985-2: Likewise.
* iconvdata/testdate/CSA_Z243.4-1985-2..UCS4: Likewise.
* iconvdata/testdate/DIN_66003: Likewise.
* iconvdata/testdate/DIN_66003..UTF8: Likewise.
* iconvdata/testdate/DS_2089: Likewise.
* iconvdata/testdate/DS_2089..UTF8: Likewise.
* iconvdata/testdate/ES: Likewise.
* iconvdata/testdate/ES..UTF8: Likewise.
* iconvdata/testdate/ES2: Likewise.
* iconvdata/testdate/ES2..UTF8: Likewise.
* iconvdata/testdate/GB_1988-80: Likewise.
* iconvdata/testdate/GB_1988-80..UTF8: Likewise.
* iconvdata/testdate/IT: Likewise.
* iconvdata/testdate/IT..UTF8: Likewise.
* iconvdata/testdate/JIS_C6220-1969-RO: Likewise.
* iconvdata/testdate/JIS_C6220-1969-RO..UTF8: Likewise.
* iconvdata/testdate/JIS_C6229-1984-B: Likewise.
* iconvdata/testdate/JIS_C6229-1984-B..UTF8: Likewise.
* iconvdata/testdate/JUS_I.B1.002: Likewise.
* iconvdata/testdate/JUS_I.B1.002..UTF8: Likewise.
* iconvdata/testdate/KSC5636: Likewise.
* iconvdata/testdate/KSC5636..UTF8: Likewise.
* iconvdata/testdate/MSZ_7795.3: Likewise.
* iconvdata/testdate/MSZ_7795.3..UTF8: Likewise.
* iconvdata/testdate/NC_NC00-10: Likewise.
* iconvdata/testdate/NC_NC00-10..UTF8: Likewise.
* iconvdata/testdate/NF_Z_62-010: Likewise.
* iconvdata/testdate/NF_Z_62-010..UTF8: Likewise.
* iconvdata/testdate/NF_Z_62-010_1973: Likewise.
* iconvdata/testdate/NF_Z_62-010_1973..UTF8: Likewise.
* iconvdata/testdate/NS_4551-1: Likewise.
* iconvdata/testdate/NS_4551-1..UTF8: Likewise.
* iconvdata/testdate/NS_4551-2: Likewise.
* iconvdata/testdate/NS_4551-2..UTF8: Likewise.
* iconvdata/testdate/PT: Likewise.
* iconvdata/testdate/PT..UTF8: Likewise.
* iconvdata/testdate/PT2: Likewise.
* iconvdata/testdate/PT2..UTF8: Likewise.
* iconvdata/testdate/SEN_850200_B: Likewise.
* iconvdata/testdate/SEN_850200_B..UTF8: Likewise.
* iconvdata/testdate/SEN_850200_C: Likewise.
* iconvdata/testdate/SEN_850200_C..UTF8: Likewise.

* iconvdata/cns11643.h: Use uint32_t instead of wchar_t.
* iconvdata/cns11643l1.h: Likewise.
* iconvdata/latin-greek-1.h: Likewise.
* iconvdata/latin-greek.h: Likewise.
* iconvdata/koi8-r.h: Likewise.
* iconvdata/jis0212.h: Likewise.
* iconvdata/gb2312.h: Likewise.
* iconvdata/ksc5601.h: Likewise.

* iconvdata/8bit-gap.c: Use 32 bit type for idx element of struct gap.

* iconvdata/Makefile: Add rules for lots of more modules.
* iconvdata/cp1250.c: New file.
* iconvdata/cp1251.c: New file.
* iconvdata/cp1252.c: New file.
* iconvdata/cp1253.c: New file.
* iconvdata/cp1254.c: New file.
* iconvdata/cp1255.c: New file.
* iconvdata/cp1256.c: New file.
* iconvdata/cp1257.c: New file.
* iconvdata/ebcdic-dk-no-a.c: New file.
* iconvdata/ebcdic-dk-no.c: New file.
* iconvdata/ebcdic-es-a.c: New file.
* iconvdata/ebcdic-es-s.c: New file.
* iconvdata/ebcdic-es.c: New file.
* iconvdata/ebcdic-fi-se-a.c: New file.
* iconvdata/ebcdic-fi-se.c: New file.
* iconvdata/ebcdic-fr.c: New file.
* iconvdata/ebcdic-is-friss.c: New file.
* iconvdata/ebcdic-it.c: New file.
* iconvdata/ebcdic-pt.c: New file.
* iconvdata/ebcdic-uk.c: New file.
* iconvdata/ebcdic-us.c: New file.
* iconvdata/ibm037.c: New file.
* iconvdata/ibm038.c: New file.
* iconvdata/ibm1004.c: New file.
* iconvdata/ibm1026.c: New file.
* iconvdata/ibm1047.c: New file.
* iconvdata/ibm256.c: New file.
* iconvdata/ibm273.c: New file.
* iconvdata/ibm274.c: New file.
* iconvdata/ibm275.c: New file.
* iconvdata/ibm277.c: New file.
* iconvdata/ibm278.c: New file.
* iconvdata/ibm280.c: New file.
* iconvdata/ibm281.c: New file.
* iconvdata/ibm284.c: New file.
* iconvdata/ibm285.c: New file.
* iconvdata/ibm290.c: New file.
* iconvdata/ibm297.c: New file.
* iconvdata/ibm420.c: New file.
* iconvdata/ibm423.c: New file.
* iconvdata/ibm424.c: New file.
* iconvdata/ibm437.c: New file.
* iconvdata/ibm500.c: New file.
* iconvdata/ibm850.c: New file.
* iconvdata/ibm851.c: New file.
* iconvdata/ibm852.c: New file.
* iconvdata/ibm855.c: New file.
* iconvdata/ibm857.c: New file.
* iconvdata/ibm860.c: New file.
* iconvdata/ibm861.c: New file.
* iconvdata/ibm862.c: New file.
* iconvdata/ibm863.c: New file.
* iconvdata/ibm864.c: New file.
* iconvdata/ibm865.c: New file.
* iconvdata/ibm868.c: New file.
* iconvdata/ibm869.c: New file.
* iconvdata/ibm870.c: New file.
* iconvdata/ibm871.c: New file.
* iconvdata/ibm875.c: New file.
* iconvdata/ibm880.c: New file.
* iconvdata/ibm891.c: New file.
* iconvdata/ibm903.c: New file.
* iconvdata/ibm904.c: New file.
* iconvdata/ibm905.c: New file.
* iconvdata/ibm918.c: New file.

* locale/iso-4217.def: Update.
* localedata/locales/pt_BR: Correct.  Patches by Andreas Jaeger.

* stdio-common/vfscanf.h: Recognize nan and inf in floating-point
formats.

1998-04-22  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* elf/dl-load.c (_dl_init_paths): ';' is also a terminal for
LD_LIBRARY_PATH.

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

* Makerules: Change occurances of `cd dir; cmd' to `cd dir && cmd'.
* Makefile: Likewise.
* posix/Makefile: Likewise.
* sysdeps/mach/hurd/Makefile: Likewise.

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

* sysdeps/mach/hurd/bits/dirent.h: New file.
* sysdeps/mach/hurd/readdir64.c: New file.
* sysdeps/mach/hurd/readdir64_r.c: New file.

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

* stdio/stdio.h (vasprintf, __asprintf, asprintf, vdprintf,
dprintf): Synchronize declarations with libio/stdio.h.

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

* elf/dlerror.c (dlerror): Don't assume that
__libc_internal_tsd_get is defined.  __libc_getspecific is already
well-protected, so just use it directly.

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

* io/ftw.h (ftw): Fix typo.

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

* sysdeps/gnu/utmp_file.c: Fix typo.

1998-04-22 11:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* iconvdata/run-iconv-test.sh: Fix more portability bugs.  When
one part of a test fails move on to the next test.

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

* sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Compare addresses
as pointers, not signed integers.

1998-04-22 11:06  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

26 years agoAdd aliases unicode and unicodebig for Java. Add definitions for unicodelittle imple...
Ulrich Drepper [Thu, 23 Apr 1998 22:46:48 +0000 (22:46 +0000)]
Add aliases unicode and unicodebig for Java.  Add definitions for unicodelittle implementation.

26 years ago(_JMPBUF_UNWINDS): Added.
Richard Henderson [Thu, 23 Apr 1998 22:46:39 +0000 (22:46 +0000)]
(_JMPBUF_UNWINDS): Added.

1998-04-24  5:45  Richard Henderson  <rth@cygnus.com>

* sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Added.

26 years ago(dlerror): Don't assume that __libc_internal_tsd_get is defined. __libc_getspecific...
Ulrich Drepper [Thu, 23 Apr 1998 22:45:20 +0000 (22:45 +0000)]
(dlerror): Don't assume that __libc_internal_tsd_get is defined. __libc_getspecific is already well-protected, so just use it directly.

26 years ago(_JMPBUF_UNWINDS): Compare addresses as pointers, not signed integers.
Ulrich Drepper [Wed, 22 Apr 1998 09:27:22 +0000 (09:27 +0000)]
(_JMPBUF_UNWINDS): Compare addresses as pointers, not signed integers.

26 years ago* sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Added.
Andreas Schwab [Wed, 22 Apr 1998 02:07:41 +0000 (02:07 +0000)]
* sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Added.

Wed Apr 22 11:06:09 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Added.

26 years agoUpdate.
Ulrich Drepper [Tue, 21 Apr 1998 22:58:23 +0000 (22:58 +0000)]
Update.

1998-04-21 21:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>

* misc/sys/cdefs.h: New macro __REDIRECT to support changing the
asm symbol name of functions.
* include/features.h: Kill redundant test.

* dirent/dirent.h: Use new macros to implement __USE_FILE_OFFSET64.
* io/ftw.h: Likewise.
* io/sys/stat.h: Likewise.
* io/sys/statfs.h: Likewise.
* io/sys/statvfs.h: Likewise.
* libio/stdio.h: Likewise.
* resource/sys/resource.h: Likewise.
* rt/aio.h: Likewise.

* posix/unistd.h: Use new macros for __USE_FILE_OFFSET64 and
 __FAVOR_BSD.
* signal/signal.h: Use new macros for BSD vs. SysV signal().

* misc/Makefile: Drop bsd-compat.c.  Make libbsd-compat.a
a dummy library.
* misc/bsd-compat.c: Removed.

26 years agoUpdate.
Ulrich Drepper [Tue, 21 Apr 1998 20:37:08 +0000 (20:37 +0000)]
Update.

1998-04-21 20:32  Ulrich Drepper  <drepper@cygnus.com>

* iconv/loop.c: Allow EXTRA_LOOP_DECLS be defined and use it in
function declaration.
* iconv/skeleton.c: Allow PREPARE_LOOP and EXTRA_LOOP_ARGS be defined
and use them in conversion function.
* iconvdata/Makefile (modules): Re-add ISO6446.
* iconvdata/TEST: Add tests for ASCII variants.
* iconvdata/iso646.c: Rewrite to use loop.c and skeleton.c.
* iconvdata/testdata/ANSI_X3.4-1968: New file.
* iconvdata/testdata/BS_4730: New file.
* iconvdata/testdata/BS_4730..UTF8: New file.

26 years agoUpdate.
Ulrich Drepper [Tue, 21 Apr 1998 19:09:49 +0000 (19:09 +0000)]
Update.

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

* iconv/gconv.h (struct gconv_step): Add element stateful.
* iconv/gconv_builtin.c (__gconv_builtin_trans): Initialize stateful
to zero for all internal conversions.
* iconv/skeleton.c: Initialize stateful depending on whether or not
RESET_STATE is defined to one or zero respectively.
* stdlib/mblen.c: Use stateful element of currently selected
converter for result if S is NULL.
* stdlib/mbtowc.c: Likewise.
* stdlib/wctomb.c: Likewise.

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

1998-04-21 18:00  Ulrich Drepper  <drepper@cygnus.com>

* iconv/gconv.c (__gconv): Remove bogus input buffer size computation.

* iconv/gconv_open.c (__gconv_open): Initialize outbufend element.

* iconv/gconv_simple.c (__gconv_transform_internal_ascii): Don't use
character in comparison with uint32_t.
(__gconv_transform_internal_utf8): Specify MAX_NEEDED_TO.
(__gconv_transform_utf8_internal): Specify MAX_NEEDED_FROM.
Optimize BODY a bit.

* iconv/loop.c: Require MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT to
be defined.

* iconv/skeleton.c: Also reset converted counter in case of an error.
Call reset function using correct value for output buffer start.

* iconvdata/Makefile: Re-enable tests.

* iconvdata/iso8859-1.c: Swap MIN_NEEDED_INPUT and MIN_NEEDED_OUTPUT
value for to-conversion.

* iconvdata/TESTS: Add new third column.
* iconvdata/run-iconv-test.sh: Add support for charsets which are
not ASCII based.
* iconvdata/testdata/suntzus: New file.

* elf/dl-minimal.c (__strtol_internal): Increment pointer to string
while reading.  Correctly used base.  Little optimization.
(__strtoul_internal): Likewise.

* elf/rtld.c (dl_main): Test to avoid duplicate call of _dl_init_paths
was wrong.  Use explicit variable.

1998-04-20 23:49  Zack Weinberg  <zack@rabi.phys.columbia.edu>

* configure.in: Check for awk.
* config.make.in: Add AWK to be substituted.

* manual/xtract-typefun.awk: Rewrite to eliminate gawk extensions.
* manual/users.texi: Fix typo exposed by above rewrite.

* Makefile: Invoke awk using AWK variable.
* csu/Makefile: Likewise.
* elf/Makefile: Likewise.
* mach/Makefile: Likewise.
* manual/Makefile: Likewise.
* sysdeps/gnu/Makefile: Likewise.
* sysdeps/mach/hurd/Makefile: Likewise.
* sysdeps/unix/Makefile: Likewise.
* timezone/Makefile: Likewise.

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

* sysdeps/gnu/errlist.awk (ERR_REMAP): Implement error code to
array index translation.
(SYS_ERRLIST_ALIAS, SYS_NERR_ALIAS): Make weak aliases only if
these are defined.

* sysdeps/mach/hurd/Dist: Add errlist.c to distribution.

* sysdeps/mach/hurd/errlist.c: New file.
(ERR_TRANSLATE): Map Hurd error codes into errlist indices.
(_hurd_errlist): The Hurd error list doesn't have Unix sys_errlist
semantics, so rename it.

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

* iconvdata/run-iconv-test.sh: Make portable.  Always test all
conversions.

1998-04-21 12:30  H.J. Lu  <hjl@gnu.org>

* wcsmbs/wcsrtombs.c (__wcsrtombs): Initialize result to 0.
* wcsmbs/wcsnrtombs.c: Likewise.

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

* sysdeps/generic/dl-sysdep.c: Handle _dl_hwcap correctly.

* wcsmbs/btowc.c (__btowc): Declare inptr as const char *.

* time/strftime.c (my_strftime): Initialize pad variable in
declaration.

* iconvdata/big5.c: Don't use character constants in comparisons
with unsigned value.

* sysdeps/generic/setutxent.c: New file.
* sysdeps/generic/getutxent.c: New file.
* sysdeps/generic/endutxent.c: New file.
* sysdeps/generic/getutxid.c: New file.
* sysdeps/generic/getutxline.c: New file.
* sysdeps/generic/pututxline.c: New file.
* sysdeps/generic/utmpxname.c: New file.
* sysdeps/generic/updwtmpx.c: New file.

26 years agoFix typo.
Ulrich Drepper [Tue, 21 Apr 1998 09:43:23 +0000 (09:43 +0000)]
Fix typo.

* ptlongjmp.c: Add prototypes for __libc_siglongjmp and

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

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

* ptlongjmp.c: Add prorotypes for __libc_siglongjmp and
__libc_longjmp.

26 years agoUpdate.
Ulrich Drepper [Mon, 20 Apr 1998 18:41:05 +0000 (18:41 +0000)]
Update.

1998-04-20 18:00  Ulrich Drepper  <drepper@cygnus.com>

* libc.map: Add __dgettext to GLIBC_2.0 and __libc_longjmp, and
__libc_siglongjmp to GLIBC_2.1.

* elf/dl-minimal.c (__assert_perror_fail): Don't use strerror, use
__strerror_r.

* iconv/Makefile: Don't run tests now.

* iconv/iconv_prog.c (process_block): If loop is repeated, call iconv
with correct output buffer.

Major rewrite of the low-level gconv functionality.
* iconv/gconv.c: Rewritten.
* iconv/gconv.h: Likewise.
* iconv/gconv_builtin.c: Likewise.
* iconv/gconv_builtin.h: Likewise.
* iconv/gconv_conf.c: Likewise.
* iconv/gconv_int.h: Likewise.
* iconv/gconv_open.c: Likewise.
* iconv/gconv_simple.c: Likewise.
* iconv/iconv.c: Likewise.
* iconvdata/8bit-gap.c: Likewise.
* iconvdata/8bit-generic.c: Likewise.
* iconvdata/Makefile: Likewise.
* iconvdata/big5.c: Likewise.
* iconvdata/cns11643.c: Likewise.
* iconvdata/cns11643.h: Likewise.
* iconvdata/cns11643l1.c: Likewise.
* iconvdata/cns11643l1.h: Likewise.
* iconvdata/ebcdic-at-de-a.c: Likewise.
* iconvdata/ebcdic-at-de.c: Likewise.
* iconvdata/ebcdic-ca-fr.c: Likewise.
* iconvdata/euccn.c: Likewise.
* iconvdata/eucjp.c: Likewise.
* iconvdata/euckr.c: Likewise.
* iconvdata/euctw.c: Likewise.
* iconvdata/gb2312.c: Likewise.
* iconvdata/gb2312.h: Likewise.
* iconvdata/hp-roman8.c: Likewise.
* iconvdata/iso646.c: Likewise.
* iconvdata/iso6937.c: Likewise.
* iconvdata/iso8859-1.c: Likewise.
* iconvdata/iso8859-10.c: Likewise.
* iconvdata/iso8859-2.c: Likewise.
* iconvdata/iso8859-3.c: Likewise.
* iconvdata/iso8859-4.c: Likewise.
* iconvdata/iso8859-5.c: Likewise.
* iconvdata/iso8859-6.c: Likewise.
* iconvdata/iso8859-7.c: Likewise.
* iconvdata/iso8859-8.c: Likewise.
* iconvdata/iso8859-9.c: Likewise.
* iconvdata/jis0201.c: Likewise.
* iconvdata/jis0201.h: Likewise.
* iconvdata/jis0208.c: Likewise.
* iconvdata/jis0208.h: Likewise.
* iconvdata/jis0212.c: Likewise.
* iconvdata/jis0212.h: Likewise.
* iconvdata/johab.c: Likewise.
* iconvdata/koi-8.c: Likewise.
* iconvdata/koi8-r.c: Likewise.
* iconvdata/ksc5601.c: Likewise.
* iconvdata/ksc5601.h: Likewise.
* iconvdata/latin-greek-1.c: Likewise.
* iconvdata/latin-greek.c: Likewise.
* iconvdata/run-iconv-test.sh: Likewise.
* iconvdata/sjis.c: Likewise.
* iconvdata/t61.c: Likewise.
* iconvdata/uhc.c: Likewise.
* wcsmbs/btowc.c: Likewise.
* wcsmbs/mbrtowc.c: Likewise.
* wcsmbs/mbsnrtowcs.c: Likewise.
* wcsmbs/mbsrtowcs.c: Likewise.
* wcsmbs/wcrtomb.c: Likewise.
* wcsmbs/wcsmbsload.c: Likewise.
* wcsmbs/wcsnrtombs.c: Likewise.
* wcsmbs/wcsrtombs.c: Likewise.
* wcsmbs/wctob.c: Likewise.
* iconv/loop.c: New file.
* iconv/skeleton.c: New file.

* stdlib/mblen.c: Handle empty input string correctly.
* stdlib/mbtowc.c: Likewise.

* posix/getopt.c: Various cleanups.

* sysdeps/arm/bits/setjmp.h: Add copyright text.
* sysdeps/i386/bits/setjmp.h: Likewise.
* sysdeps/m68k/bits/setjmp.h: Likewise.
* sysdeps/powerpc/bits/setjmp.h: Likewise.
* sysdeps/sparc/sparc32/bits/setjmp.h: Likewise.

* sysdeps/generic/longjmp.c: Rename function to __libc_siglongjmp
and make longjmp weak alias.

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

* iconv/Makefile (routines): Only include gconv_dl if building for
an ELF system - dynamic linking is not available on a.out.
(CFLAGS-gconv_conf.c): Define STATIC_GCONV if omitting gconv_dl
due to above check.
* iconv/gconv_db.c: If STATIC_GCONV defined, don't try to call
routines from gconv_dl.

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

* csu/init.c (_IO_stdin_used): Protect with USE_IN_LIBIO so that
we can compile without libio.

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

* sysdeps/mach/hurd/Subdirs: Remove login.

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

* db2/compat.h: Include <errno.h>, to make sure we get the
definition of EFTYPE before we define it ourselves.

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

* sysdeps/generic/bits/socket.h: Protect against multiple inclusion.
* sysdeps/mach/hurd/bits/ioctls.h: Likewise.
Fix typo to allow inclusion from sys/ioctl.h again.

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

* iconvdata/*.[ch]: Clean up namespace.  Optimize character lookup.

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

* libc.map: Export __strerror_r.  Remove _strerror_internal.

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

* sysdeps/generic/strcasestr.c: Undefine strcasestr, not strstr.
Also undefine __strcasestr.

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

* posix/regex.c: Rename __re_max_failures back to re_max_failures,
aliases do not work with global variables due to copy relocations.

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

* manual/creature.texi: Fix type.  Patch by Andreas Schwab.

1998-04-20 13:47  Ulrich Drepper  <drepper@cygnus.com>

* signal/sighold.c: Include stddef.h for NULL definition.
* signal/sigrelse.c: Likewise.
* sysdeps/posix/sigignore.c: Likewise.
* sysdeps/posix/sigset.c: Likewise.
* sysdeps/posix/waitid.c: Likewise.
* sysdeps/unix/sysv/linux/rt_sigsuspend.c: Likewise.
* sysdeps/unix/sysv/linux/rt_sigtimedwait.c: Likewise.
* sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
* wcsmbs/mbsrtowcs.c: Include stdlib.h for MB_CUR_MAX.
Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.

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

* login/Makefile (headers): Remove utmpx.h and bits/utmpx.h.
* login/getutent.c (getutxent): Remove alias.
* login/getutent_r.c (setutxent, pututxline, endutxent):
Remove aliases.
* login/getutid.c (getutxid): Remove alias.
* login/getutline.c (getutxline): Remove alias.
* login/utmp.h: Add prototypes for __updwtmp, __getutent,
__getutid, __getutline and __pututline.
* login/utmpx.h: Moved to ...
* sysdeps/gnu/utmpx.h: ... here.  [__USE_GNU]: Define UTMPX_FILE,
UTMPX_FILENAME, WTMPX_FILE and WTMPX_FILENAME, declare utmpxname
and updwtmpx.
* login/updwtmp.c: Moved to ...
* sysdeps/generic/updwtmp.c: ... here.  (updwtmp): Generalized by
allowing file name transformation.
* sysdeps/gnu/updwtmp.c: New file.  Use generic implementation with
additional file name transformation.
* sysdeps/unix/sysv/linux/updwtmp.c: Likewise.
* login/utmp_file.c: Moved to ...
* sysdeps/generic/utmp_file.c: ... here.  (setutent_file):
Generalized by allowing file name transformation.  Do not
print error message.  Library functions should not print them.
Reported by Jim Meyering.
* sysdeps/gnu/utmp_file.c: New file.  Use generic implementation
with additional file name transformation.
* sysdeps/unix/sysv/linux/utmp_file.c: Likewise.
* sysdeps/gnu/Makefile [$(subdir)=login] (sysdep_routines): Add
setutxent, getutxent, endutxent, getutxid, getutxid, getutxline,
pututxline, utmpxname and updwtmpx.  (sysdep_headers): Add utmpx.h
and bits/utmpx.h.
* sysdeps/gnu/bits/utmpx.h [__USE_GNU] Include paths.h.
(_PATH_UTMPX): Define to _PATH_UTMP.  (_PATH_WTMPX): Define to
_PATH_WTMPX.  (RUN_LVL): Define only if __USE_GNU.  (ACCOUNTING):
Define if __USE_GNU.
* sysdeps/gnu/setutxent.c: New file.
* sysdeps/gnu/getutxent.c: New file.
* sysdeps/gnu/endutxent.c: New file.
* sysdeps/gnu/getutxid.c: New file.
* sysdeps/gnu/getutxline.c: New file.
* sysdeps/gnu/pututxline.c: New file.
* sysdeps/gnu/utmpxname.c: New file.
* sysdeps/gnu/updwtmpx.c: New file.
* sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP_DB): Remove.
* sysdeps/generic/bits/utmpx.h: Remove.

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

* posix/wordexp-test.c (main): Initialize ifs element of ts for
~root test.

1998-04-17 07:53  H.J. Lu  <hjl@gnu.org>

* sysdeps/unix/sysv/linux/i386/s_pread64.S: Fix a typo.

1998-04-17 11:32  Ulrich Drepper  <drepper@cygnus.com>

* libio/oldfileops.c (_IO_old_file_seekoff): Define temporary st
variable using _G_stat64.
* libio/fileops.c: Remove macro definition of fstat, it is in the
global header.
Reported by Thorsten Kukuk <kukuk@weber.uni-paderborn.de>.

1998-04-17  Philip Blundell  <pb@nexus.co.uk>

* sysdeps/arm/strlen.S: New file, based on code by Matthew Wilcox
<willy@odie.barnet.ac.uk>.

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

* inet/netinet/in.h (IN6_IS_ADDR_MC_NODELOCAL): New macro,
required by IPv6 Basic API.
(IN6_IS_ADDR_MC_LINKLOCAL): Likewise.
(IN6_IS_ADDR_MC_SITELOCAL): Likewise.
(IN6_IS_ADDR_MC_ORGLOCAL): Likewise.
(IN6_IS_ADDR_MC_GLOBAL): Likewise.

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

1998-04-15 16:41  Ulrich Drepper  <drepper@cygnus.com>

Don't name internal representation since it might be different from
the external form (namely on little endian machines).
* iconv/gconv_builtin.h: Add UCS4 support.  Change references to
UCS4 into references to INTERNAL.
* iconv/gconv_simple.c: Implement UCS4<->INTERNAL converters.
Add endianess support to UCS functions.  Change references to
UCS4 into references to INTERNAL.
* iconv/gconv_int.h: Change references to UCS4 into references to
INTERNAL.
* iconv/iconv_prog.c: Don't mention INTERNAL in --list output.
* iconvdata/gconv-modules: Change accordingly.
* wcsmbs/wcsmbsload.c: Change names to use INTERNAL.

* iconv/gconv_simple.c: Adjust input buffer pointer for output buffer
overflow.
* iconvdata/8bit-gap.c: Likewise.
* iconvdata/8bit-generic.c: Likewise.
* iconvdata/big5.c: Likewise.
* iconvdata/euccn.c: Likewise.
* iconvdata/eucjp.c: Likewise.
* iconvdata/euckr.c: Likewise.
* iconvdata/euctw.c: Likewise.
* iconvdata/iso646.c: Likewise.
* iconvdata/iso6937.c: Likewise.
* iconvdata/iso8859-1.c: Likewise.
* iconvdata/johab.c: Likewise.
* iconvdata/sjis.c: Likewise.
* iconvdata/t61.c: Likewise.
* iconvdata/uhc.c: Likewise.

* iconvdata/8bit-gap.c: Correct access to to_ucs4 array.
* iconvdata/8bit-generic.c: Likewise.

* iconvdata/TESTS: Add more tests.

* sysdeps/i386/bits/byteswap.h: Change to use "=r" when ror is used.

1998-04-15 11:47  Ulrich Drepper  <drepper@cygnus.com>

* iconvdata/Makefile: Better rules to run tests.

* iconvdata/testdata/ISO-8859-1..UTF8: New file.
* iconvdata/testdata/ISO-8859-10: Likewise.
* iconvdata/testdata/ISO-8859-10..UCS2: Likewise.
* iconvdata/testdata/ISO-8859-2: Likewise.
* iconvdata/testdata/ISO-8859-2..UCS4: Likewise.
* iconvdata/testdata/ISO-8859-2..UTF8: Likewise.
* iconvdata/testdata/ISO-8859-3: Likewise.
* iconvdata/testdata/ISO-8859-4: Likewise.
* iconvdata/testdata/ISO-8859-5: Likewise.
* iconvdata/testdata/ISO-8859-6: Likewise.
* iconvdata/testdata/ISO-8859-7: Likewise.
* iconvdata/testdata/ISO-8859-8: Likewise.
* iconvdata/testdata/ISO-8859-9: Likewise.

* iconvdata/run-iconv-test.sh: Handle $from..$t file to compare
intermediate result (if available).

* iconvdata/Makefile: Add rules to run run-iconv-test.sh.
(distribute): Add run-iconv-test.sh and testdata/*.

* stdlib/testmb.c (main): Simplify mbc array handling.

* iconvdata/testdata/ISO-8859-1: New file.

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

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

* iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Fix typo in
last change.

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

* elf/dl-minimal.c (__strtol_internal): Correct range check.  Fix
return value on overflow.

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

* sysdeps/posix/mkstemp.c (mkstemp): Change value and v to 64
bits.

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

* malloc/mtrace.c (mtrace): Use standard function setvbuf instead
of non-standard function setbuffer.

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

* stdio-common/perror.c: Include <string.h> for __strerror_r.

26 years agoUpdate.
Ulrich Drepper [Wed, 15 Apr 1998 00:02:59 +0000 (00:02 +0000)]
Update.

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

* iconvdata/Makefile: Add rules to run tests.
* iconvdata/TESTS: New file.
* iconvdata/run-iconv-test.sh: New file.

* iconv/iconv_prog.c (main): Call process_block with OUTPUT stream,
not stdout.

26 years agoUpdate.
Ulrich Drepper [Tue, 14 Apr 1998 20:21:59 +0000 (20:21 +0000)]
Update.

1998-04-14 18:22  Ulrich Drepper  <drepper@cygnus.com>

* iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
counter element of step.

* iconv/gconv_dl.c: Don't mark get_sym as internal function.

* iconv/gconv_simple.c (__gconv_transform_ucs4_ascii): Correct loop
termination test.
(__gconv_transform_ucs4_utf8): Likewise.  Remove unnecessary variable
ACTUALLY.
(__gconv_transform_utf8_ucs4): Correct test for empty input.

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

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

* Makefile: Include makeconfig before defining rule to regenerate
configure files.

* configure.in: Remove restriction on compiling without static
libs.

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

1998-04-14 16:34  Ulrich Drepper  <drepper@cygnus.com>

* test-skeleton.c: Provide hook for initializing code before the fork.
* rt/tst-aio.c: Use PREPARE hook to make suer temp files are always
removed.

* libio/fcloseall.c (__fcloseall): Return return value of _IO_cleanup.
* libio/genops.c (_IO_cleanup): Return return value of _IO_flush_all.
* libio/libioP.h: Adopt _IO_cleanup prototype.

* stdlib/Makefile (tests): Add test-canon2.
* stdlib/test-canon2.c: New file.
* stdlib/canonicalize.c (canonicalize): Allow RESOLVED parameter to
be NULL.  Use __lxstat, not __lstat.  Correctly recognize long
symlink sequences.
(__realpath): Make real function which checks RESOLVED parameter for
not being NULL.

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

* catgets/open_catalog.c (__open_catalog): Fix problems with
reading non-files.  Always close file.
Reported by Cristian Gafton <gafton@redhat.com>.

* elf/dl-minimal.c (__strtol_internal): Prevent overflow warnings.

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

* libc.map: Add various low-level I/O functions.

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

* string/Makefile (routines): Remove strerror_r.
* string/strerror_r.c: Removed.
* string/strerror.c: Call __strerror_r for doing the real work.
* sysdeps/generic/_strerror.c: Rename function to __strerror_r and
add weak alias strerror_r.
* sysdeps/mach/_strerror.c: Likewise.
* assert/assert-perr.c: Use __strerror_r instead of _strerror_internal.
* elf/dl-error.c (_dl_signal_error): Likewise.
* elf/dl-profile.c (_dl_start_profile): Likewise.
* gmon/gmon.c (write_gmon): Likewise.
* stdio-common/perror.c: Likewise.
* stdio-common/vfprintf.c: Likewise.

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

* sysdeps/unix/sysv/linux/Makefile [$(subdir)=inet]
(sysdep_headers): Add netatalk/at.h.

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

* manual/socket.texi, manual/creature.texi, manual/time.texi:
Formatting fixes.

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

* posix/regex.c: Rename __re_syntax_options back to
re_syntax_options, aliases do not work with global variables due
to copy relocations.
(regex_compile): Use syntax parameter instead of
re_syntax_options.

1998-04-14  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* configure.in: Document that enable-force-install is default.

26 years agoUpdate.
Ulrich Drepper [Mon, 13 Apr 1998 22:59:33 +0000 (22:59 +0000)]
Update.

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

* sysdeps/posix/mktemp.c: Increment `value' in a way which touches
all needed 36 bits.
* sysdeps/posix/mkstemp.c: Likewise.

26 years agoUpdate.
Ulrich Drepper [Mon, 13 Apr 1998 17:54:00 +0000 (17:54 +0000)]
Update.

1998-04-13 17:40  Ulrich Drepper  <drepper@cygnus.com>

* iconvdata/8bit-gap.c: Simplify step data handling.
* iconvdata/8bit-generic.c: Likewise.
* iconvdata/big5.c: Likewise.
* iconvdata/euccn.c: Likewise.
* iconvdata/eucjp.c: Likewise.
* iconvdata/euckr.c: Likewise.
* iconvdata/euctw.c: Likewise.
* iconvdata/iso6937.c: Likewise.
* iconvdata/iso8859-1.c: Likewise.
* iconvdata/jis0208.h: Likewise.
* iconvdata/jis0212.c: Likewise.
* iconvdata/jis0212.h: Likewise.
* iconvdata/johab.c: Likewise.
* iconvdata/ksc5601.h: Likewise.
* iconvdata/sjis.c: Likewise.
* iconvdata/t61.c: Likewise.
* iconvdata/uhc.c: Likewise.

26 years agoUpdate.
Ulrich Drepper [Mon, 13 Apr 1998 16:41:10 +0000 (16:41 +0000)]
Update.

1998-04-13 16:36  Ulrich Drepper  <drepper@cygnus.com>

* manual/texinfo.texi: Updated from last version.

26 years agoUpdate.
Ulrich Drepper [Mon, 13 Apr 1998 15:01:09 +0000 (15:01 +0000)]
Update.

1998-04-13 14:52  Ulrich Drepper  <drepper@cygnus.com>

* iconvdata/cns11643.c: New file.
* iconvdata/cns11643.h: New file.
* iconvdata/cns11643l1.c: New file.
* iconvdata/cns11643l1.h: New file.
* iconvdata/euctw.c: New file.
* iconvdata/Makefile: Add rules for EUC-TW and CNS.
* iconvdata/gconv-modules: Likewise.

* iconvdata/eucjp.c: Several bug fixes and improvements.
* iconvdata/gb2312.h: Likewise.
* iconvdata/jis0201.h: Likewise.
* iconvdata/jis0208.h: Likewise.
* iconvdata/jis0212.h: Likewise.

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

1998-04-13 09:11  Ulrich Drepper  <drepper@cygnus.com>

* iconvdata/eucjp.c: New file.
* iconvdata/euccn.c: New file.
* iconvdata/gb2312.h: New file.
* iconvdata/gb2312.c: New file.
* iconvdata/Makefile: Add rules for EUC-JP and EUC-CN.
* iconvdata/gconv-modules: Likewise.

* iconvdata/euckr.c: Use stdint.h instead of inttypes.h.

26 years agoUpdate.
Ulrich Drepper [Sun, 12 Apr 1998 17:10:48 +0000 (17:10 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
(DL_FIND_ARG_COMPONENTS): Always initialize auxv.
Patch by Mark Hatle <fray@kernel.crashing.org>.

26 years agoUpdate.
Ulrich Drepper [Sun, 12 Apr 1998 17:02:55 +0000 (17:02 +0000)]
Update.

1998-04-12 22:47  Philip Blundell  <Philip.Blundell@pobox.com>

* sysdeps/unix/sysv/linux/bits/socket.h (PF_APPLETALK): Correct
comment.
(PF_AAL5, AF_AAL5): Rename to *_ATMPVC.
(PF_ATMSVC, PF_ECONET, AF_ATMSVC, AF_ECONET): Added.

26 years agoUpdate.
Ulrich Drepper [Sun, 12 Apr 1998 16:28:35 +0000 (16:28 +0000)]
Update.

* iconvdata/sjis.c (gconv): Remove superfluous varaible declarations.

* iconvdata/Makefile: Add rules for big5 conversion.
* iconvdata/gconv-modules: Likewise.
* iconvdata/big5.c: New file.

26 years agoUpdate.
Ulrich Drepper [Sun, 12 Apr 1998 09:16:02 +0000 (09:16 +0000)]
Update.

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

* time/mktime.c (TYPE_MAXIMUM): Add missing cast.
Patch by Jim Meyering.

26 years agoUpdate.
Ulrich Drepper [Sat, 11 Apr 1998 20:19:13 +0000 (20:19 +0000)]
Update.

* rt/tst-aio.c: Add test for aio_read and lio_listio.

* rt/lio_listio.c: Correct total counter handling.

* rt/aio_misc.c (handle_fildes_io): Correctly dequeue elements
from request queue.

* test-skeleton.c (main): Make stdout unbuffered.  Improve message
of signal on exit even more.

26 years agoUpdate.
Ulrich Drepper [Sat, 11 Apr 1998 11:51:23 +0000 (11:51 +0000)]
Update.

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

* rt/aio_suspend.c (aio_suspend): Use PTHREAD_COND_INITIALIZER
instead of call to pthread_cond_init.
* rt/lio_listio.c (lio_listio): Likewise.
* rt/lio_listio64.c (lio_listio64): Likewise.

* nis/nis_findserv.c: Include sys/socket.h.

26 years agoUpdate.
Ulrich Drepper [Sat, 11 Apr 1998 09:51:01 +0000 (09:51 +0000)]
Update.

1998-04-11 09:33  Ulrich Drepper  <drepper@cygnus.com>

* Makeconfig (rtobjdir): New variable.
(rpath-link): Add rtobjdir and thread directory, if available.

* test-skeleton.c: Add support to remove temporary files.
Always define test_dir.  Improve message about expected signal.

* rt/Makefile (tests): Add tst-aio.
Add rules for tst-aio to be linked with librt and thread library.
* rt/aio_misc.c: Correct fundamental bugs.
* rt/aio_suspend.c: Correct bug in test for available request.
Initialize conditional variable.
* rt/lio_listio.c: Initialize conditional variable.
* rt/lio_listio64.c: Likewise.
* rt/tst-aio.c: New file.

* sysdeps/libm-ieee754/s_signgam.c: Undo last change.
* sysdeps/libm-ieee754/w_gamma.c: Likewise.  Adopt for ISO C 9x.
* sysdeps/libm-ieee754/w_gammaf.c: Likewise.
* sysdeps/libm-ieee754/w_gammal.c: Likewise.
* sysdeps/libm-ieee754/w_lgamma.c: Likewise.
* sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
* sysdeps/libm-ieee754/w_lgammal.c: Likewise.

1998-04-11 14:49  Mark Kettenis  <kettenis@landau.phys.uva.nl>

* posix/regex.c [_LIBC] (__re_syntax_options): Initialize to 0.

* elf/dl-load.c (open_path): Use correct name for test whether
directory in load path exists.

* sysdeps/libm-ieee754/s_expm1.c: Remove variable one.
* sysdeps/libm-ieee754/e_pow.c: Fix typo.
Patches by Tom Rini <trini@kernel.crashing.org>.

* wcsmbs/wcstof_l.c: Declare ____wcstoull_l_internal.
* wcsmbs/wcstod_l.c: Likewise.
* wcsmbs/wcstold_l.c: Likewise.

26 years agoUpdate.
Ulrich Drepper [Fri, 10 Apr 1998 10:52:25 +0000 (10:52 +0000)]
Update.

* include/byteswap.h: New file.

* malloc/mtrace.c (mtrace): Use smaller output buffer to reduce
.bss segment size.  Patch by Joe Keane <jgk@jgk.org>.