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

26 years agoUpdate.
Ulrich Drepper [Fri, 10 Apr 1998 09:48:20 +0000 (09:48 +0000)]
Update.

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

* inet/getnameinfo.c (getnameinfo): Change parameter to match
declaration.  Patch by Richard Henderson.

26 years agoUpdate.
Ulrich Drepper [Fri, 10 Apr 1998 09:46:04 +0000 (09:46 +0000)]
Update.

1998-04-10 12:40  Zack Weinberg  <zack@rabi.phys.columbia.edu>

* manual/process.texi (SIGCHLD example): Save errno.

Patch by Christian Gafton.

26 years agoUpdate.
Ulrich Drepper [Thu, 9 Apr 1998 21:53:07 +0000 (21:53 +0000)]
Update.

* posix/regex.c: Define regerror really as __regerror.
* posix/regex.h: Add __ protected prototypes for regcomp, regexec,
regerror and regfree.

26 years agoUpdate.
Ulrich Drepper [Thu, 9 Apr 1998 21:07:26 +0000 (21:07 +0000)]
Update.

* stdlib/strtof_l.c: Declare ____strtoull_l_internal.
* stdlib/strtod_l.c: Likewise.
* stdlib/strtold_l.c: Likewise.

* intl/gettextP.h [_LIBC] (SWAP): Use byteswap.h macros.

26 years agoUpdate.
Ulrich Drepper [Thu, 9 Apr 1998 20:41:47 +0000 (20:41 +0000)]
Update.

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

* sysdeps/i386/i486/bits/string.h: Remove unused variables.

* misc/syslog.c (closelog_internal): Set LogTag to NULL.

26 years agoUpdate.
Ulrich Drepper [Thu, 9 Apr 1998 14:31:07 +0000 (14:31 +0000)]
Update.

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

* manual/socket.texi (Interface Naming): Correct @deftypefun line
for if_indextoname.

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

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

* sysdeps/unix/sysv/linux/bits/sockunion.h: Fix error message.

* manual/socket.texi (Interface Naming): Fix typo.

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

* manual/examples/filesrv.c (main): Remove filename first.

* manual/socket.texi (Address Formats): Change ?F_LOCAL, ?F_FILE,
?F_UNIX.

* manual/examples/mkfsock.c (make_named_socket): Use PF_LOCAL
instead of PF_UNIX.

* manual/examples/filecli.c (main): Use AF_LOCAL
instead of AF_UNIX.

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

* sysdeps/libm-ieee754/s_signgam.c: Define __signgam and make
signgam weak alias.
* sysdeps/libm-ieee754/w_lgamma.c: Use __signgam not signgam.
* sysdeps/libm-ieee754/w_lgammaf.c: Likewise.
* sysdeps/libm-ieee754/w_lgammal.c: Likewise.
* sysdeps/libm-ieee754/w_gamma.c: Likewise.
* sysdeps/libm-ieee754/w_gammaf.c: Likewise.
* sysdeps/libm-ieee754/w_gammal.c: Likewise.

* login/utmp_daemon.c (open_socket): Use __connect not connect.

* sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (SA_LEN): New macro.
* Makerules: Re-add missing rule for $(objpfx)stamp.oS.

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

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

* configure.in: Add new option --enable-force-install.  Substitute
force_install.
* config.make.in (force-install): Set from configure.
* Makerules (force-install): New phony target.
* Makeconfig (+force): New variable.
* Makefile: Use it in dependency list of installation targets.
* db/Makefile: Likewise.
* db2/Makefile: Likewise.
* elf/Makefile: Likewise.
* hurd/Makefile: Likewise.
* iconv/Makefile: Likewise.
* iconvdata/Makefile: Likewise.
* intl/Makefile: Likewise.
* localedata/Makefile: Likewise.
* login/Makefile: Likewise.
* po/Makefile: Likewise.
* sunrpc/Makefile: Likewise.
* sysdeps/mach/hurd/Makefile: Likewise.
* sysdeps/standalone/i386/force_cpu386/Makefile: Likewise.
* sysdeps/unix/sysv/linux/Makefile: Likewise.
* timezone/Makefile: Likewise.

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

* sysdeps/unix/sysv/linux/getcwd.c: Use PATH_MAX as default
alloc_size.  Pass return value of getcwd syscall to realloc.

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

* manual/socket.texi: Spelling fixes.

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

* elf/dl-load.c (print_search_path): Remove unused variable.

26 years agoUpdate.
Ulrich Drepper [Wed, 8 Apr 1998 23:35:13 +0000 (23:35 +0000)]
Update.

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

* login/utmp_file.c: use __ftruncate not ftruncate.
* sysdeps/unix/common/syscalls.list: Add __ftruncate as real name
for system call and make ftruncate weak alias.
* posix/unistd.h: Add prototype for __ftruncate.
* login/utmp_daemon.c (open_socket): Use __socket not socket.
* nscd/nscd_getpw_r.c (__nscd_getpw_r): use __snprintf and __readv
instead of snprintf and readv.
* nscd/nscd_getgr_r.c (__nscd_getgr_r): Use __snprintf not
snprintf.
* stdlib/strtod.c: Call strtoull/wcstoull's internal functions
directly.

26 years agoUpdate.
Ulrich Drepper [Wed, 8 Apr 1998 20:27:31 +0000 (20:27 +0000)]
Update.

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

* iconv/gconv_conf.c (__gconv_read_conf): Use __realpath not realpath.
* iconv/gconv_db.c: Use __ protected regex functions.
* iconv/gconv_simple.c: Use __mbsinit not mbsinit.
* posix/getopt_init.c: Use __getpid not getpid.
* posix/regex.c: Rename all global functions to start with __ and
make old names weak aliases.
* posix/regex.h: Adopt prototypes for this.
* stdlib/canonicalize.c: Define __realpath, make canonicalize_file_name
a weak alias and use __getcwd instead of getcwd.
* stdlib/stdlib.h: Declare __realpath and __canonicalize_file_name.
* stdlib/strtod.c: Use __btowc instead of btowc.
* stdlib/strtol.c: Likewise.
* sysdeps/libm-ieee754/s_matherr.c: Weaken definition of matherr.
* sysdeps/unix/sysv/linux/errlist.c: Make sure definitions of sys_nerr
and sys_errlist are weak.
* wcsmbs/btowc.c: Define function as __btowc and make btowc weak alias.
* wcsmbs/mbrtowc.c: Use __mbsinit not mbsinit.
* wcsmbs/mbsnrtowcs.c: Likewise.
* wcsmbs/mbsrtowcs.c: Likewise.
* wcsmbs/wcsnrtombs.c: Likewise.
* wcsmbs/wcsrtombs.c: Likewise.
* wcsmbs/mbsinit.c: Define function as __mbsinit and make mbsinit
weak alias.
* wcsmbs/wchar.h: Declare __btowc and __mbsinit.
* wctype/wctype.c: Define function as __wctype and make wctype
weak alias.
* wctype/wctype.h: Declare __wctype.

26 years agoUpdate.
Ulrich Drepper [Wed, 8 Apr 1998 08:04:37 +0000 (08:04 +0000)]
Update.

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

* stdio-common/vfscanf.c: Perform test in %l[ handling correctly.

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

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

* sysdeps/unix/sysv/linux/_G_config.h (_G_stat64): Define to
stat64.
(_G_OPEN64, _G_LSEEK64, _G_FSTAT64): Use namespace clean
functions.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Add __lseek64 alias
for __llseek.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/llseek.c: Likewise.
* sysdeps/generic/lseek64.c (lseek64): Rename to __lseek64, and
make it a weak alias.
* posix/unistd.h: Declare __lseek64.

* libio/fileops.c (fstat) [_LIBC]: Use namespace clean function.
(_IO_file_stat): Fix typo.
(_IO_file_xsgetn): Update fd->_offset.  Read a multiple of the
block size from the file.  Use __mempcpy if _LIBC.

26 years agoUpdate.
Ulrich Drepper [Tue, 7 Apr 1998 20:39:52 +0000 (20:39 +0000)]
Update.

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

* wcsmbs/btowc.c: Fix dozends of bugs in untested code.
* wcsmbs/mbrtowc.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.

* iconv/gconv-simple.c (__gconv_transform_ascii_ucs4): Compute
position of next output character correctly.
(__gconv_transform_ucs4_ascii): Count used input bytes correctly.

* stdio-common/vfprintf.c (vfprintf): Clear state before used.

* stdlib/strtod.c: Don't use mbtowc.

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

* libio/fileops.c (_IO_file_xsgetn): Call __underflow () when
what we want is smaller than a buffer.

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

* elf/dl-support.c (_dl_important_hwcaps): Define dummy version of
this function.

26 years agoUpdate.
Ulrich Drepper [Tue, 7 Apr 1998 18:05:52 +0000 (18:05 +0000)]
Update.

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

* configure.in: Recognize --with-headers flag and determine
commandline options to be used in compilation.
* Makeconfig (+includes): Use $(sysincludes).
* config.make.in (sysincludes): Define from SYSINCLUDES.
* glibcbug.in: Use SYSINCLUDES information.
Patches by Zack Weinberg.

* sysdeps/sparc/sparc32/elf/start.S: Rewrite for __libc_start_main.
* sysdeps/sparc/sparc64/elf/start.S: Likewise.

26 years agoUpdate.
Ulrich Drepper [Tue, 7 Apr 1998 16:31:05 +0000 (16:31 +0000)]
Update.

1998-04-07 19:03  Zack Weinberg  <zack@rabi.phys.columbia.edu>

* glibcbug.in: On linux, report version of kernel headers seen
by compiler.

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

1998-04-07 16:18  Ulrich Drepper  <drepper@cygnus.com>

* libc.map: Add __asprintf to GLIBC_2.1.
* elf/dlerror.c: Use __asprintf, not asprintf.
* libio/stdio.h: Declare __asprintf.
* stdio-common/asprintf.c: Define as __asprintf and make asprintf
a weak alias.

* elf/dl-minimal.c: Add definition of strtol and strtoul (und friends)
to avoid inclusion from libc_pic.a.

* elf/dl-runtime.c: Undo last patch.

* stdlib/strtod.c: Don't use mbtowc, use btowc.

* sysdeps/i386/dl-machine.h (dl_platform_init): Don't use "i386"
as default, use NULL.

26 years agoUpdate.
Ulrich Drepper [Tue, 7 Apr 1998 16:19:36 +0000 (16:19 +0000)]
Update.

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

* resolv/Makefile: Include ../Makeconfig - needed for building
static NSS module.

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

* hesiod/Makefile (libnss_hesiod-inhibit-o): Remove condition for
static-nss since we don't want hesiod in the static NSS.

* nss/Makefile: Build only nss_files as static.

* nss/function.def: Remove support for service db.

1998-04-04 09:44  H.J. Lu  <hjl@gnu.org>

* Makeconfig (CPPFLAGS-.oS): Add -DPIC.

1998-04-04 18:29  Tim Waugh  <tim@cyberelk.demon.co.uk>

* posix/wordexp-test.c: Make IFS per test-case.

26 years agoUpdate.
Ulrich Drepper [Tue, 7 Apr 1998 15:41:36 +0000 (15:41 +0000)]
Update.

1998-04-07 17:50  Zack Weinberg  <zack@rabi.phys.columbia.edu>

* glibcbug.in: Report version of gcc in use.  Remove unused variable
ENVIRONMENT.

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

* aclocal.m4 (LIBC_PROG_BINUTILS): Use `-print-prog-name', not
`-print-file-name' to find as and ld.

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

* sysdeps/posix/mkstemp.c (mkstemp): Correct return value in case
template is wrong.  Remove unused varaible `ignored'.

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

* libc.map: Export __libc_sa_len.

* iconv/gconv_conf.c (MAXPATHLEN): Define correctly.

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

1998-04-07 08:51  Ulrich Drepper  <drepper@cygnus.com>

* iconv/gconv.c: Take care for NULL arguments.
* iconv/gconv_dl.c: Make find_func function global.
* iconv/gconv_int.h: Add prototype for __gconv_find_func.
Add prototypes for ASCII conversion functions.
* iconv/gconv_simple.c: Add ASCII conversion functions.
* locale/C-ctype.c: Correct charset name.

* wcsmbs/Makefile (distribute): Add wcsmbsload.h.
(routines): Remove wmemrtowcs and wmemrtombs, add wcsnlen and
wcsmbsload.
* wcsmbs/btowc.c: Rewrite to use iconv functionality.
* wcsmbs/mbrtowc.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.
* wcsmbs/wchar.h: Add prototype for __wcslen, wcsnlen.  Remove
prototypes for wmemr*.
* wcsmbs/wcslen.c: Rename to __wcslen and make wcslen weak alias.
* wcsmbs/wcsnlen.c: New file.
* wcsmbs/wcsmbsload.c: New file.
* wcsmbs/wcsmbsload.h: New file.

* manual/filesys.texi: Mention risks of tmpnam and mktemp.

* manual/install.texi: Describe some more critical points.

* string/string.h: Add prototype for __strnlen.
* string/strnlen.c: Rename to __strnlen and make strnlen weak alias.

* sysdeps/posix/mktemp.c: Rewrite to allow many more files and
much less predictable names.
* sysdeps/posix/mkstemp.c: Likewise.

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

* manual/libc.texinfo (Top): Change "file namespace" to "local
namespace".

* manual/socket.texi: Change file namespace to local namespace.
(Out-of-Band Data): Remove unneeded variable link.
(Host Address Functions): Use uint32_t consequently and add a
number of clarifications for IPv4/IPv6, classless addresses.
(Internet Namespace): Added some paragraphs about IPv6.
Based on suggestions by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.

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

Update for draft-ietf-ipngwg-bsd-api-new-01.txt:

* resolv/netdb.h (getnameinfo): Use `socklen_t' not `size_t'.
(NI_NUMERICHOST, et al.): Tidy up and add comments.
(AI_NUMERICHOST): Define.
(getnodebyname): New prototype.
(AI_V4MAPPED, et al.): New constants.

* sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h (SA_LEN): New macro.<
* sysdeps/generic/bits/sockaddr.h (SA_LEN): Likewise.
* sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add sa_len
for socket.
* sysdeps/unix/sysv/linux/sa_len.c: New file.
* sysdeps/unix/sysv/linux/Dist: Add sa_len.c.

* sysdeps/unix/sysv/linux/bits/socket.h: Make multiple #inclusion safe.

* sysdeps/generic/bits/sockunion.h: New file, defining sockaddr_union.
* sysdeps/unix/sysv/linux/bits/sockunion.h: Likewise.
* socket/Makefile (headers): Add bits/sockunion.h.
* socket/sys/socket.h: Include <bits/sockunion.h>
* inet/netinet/in.h: Include <bits/sockaddr.h> rather than
<sys/socket.h>, to avoid getting sockaddr_union defined.
* sysdeps/generic/bits/socket.h: Allow inclusion from netinet.in.h.
* sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.

* sysdeps/unix/sysv/linux/if_index.c: Remove use of SIOCGIFCOUNT
(2.2.x kernels won't have it).

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

* sysdeps/mach/hurd/bits/ioctls.h: Allow inclusion from hurd/ioctl.h.
* sysdeps/mach/hurd/dl-sysdep.c: Use __ptr_t not caddr_t.
* iconv/gconv_conf.c: Define MAXPATHLEN if not available before.
Patches by UCHIYAMA Yasushi <uch@nop.or.jp>.

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

* manual/socket.texi (Socket Addresses): Fix a typo.
(Interface Naming): New section.

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

* configure.in: Check for CC using $ac_tool_prefix, to handle
cross-compilation.  Use AC_CHECK_TOOL to find MiG.
* config.make.in: Add MIG to be substituted.
* mach/Machrules: Don't define MIG variable.

Patch by Gordon Matzigkeit <gord@profitpress.com>.

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

* elf/dl-load.c (decompose_rpath): Use local_strdup instead of
strdupa to copy rpath.

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

* configure.in: Fix gcc version check.

* aclocal.m4 (AC_PROG_CHECK_VER): Rewritten to make less confusing.

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

* configure.in: Fix gcc version check.

* aclocal.m4 (AC_PROG_CHECK_VER): Rewritten to make less
confusing.

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

* configure.in: Fix gcc version check.

* aclocal.m4 (AC_PROG_CHECK_VER): Rewritten to make less
confusing.

1998-03-31  Mark Kettenis  <kettenis@phys.uva.nl>

* sysdeps/unix/bsd/unlockpt.c (unlockpt): Call __ptsname_r instead
of ptsname_r.

* stdlib/stdlib.h: Change prototype of ptsname_r to make it more
like ttyname_r.
* sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Likewise.
* sysdeps/generic/ptsname.c (__ptsname_r): Likewise.
* sysdeps/unix/grantpt.c (grantpt): Change check of return value
of __ptsname_r accordingly.
* login/openpty.c (openpty): Likewise.

1998-06-04 18:47  H.J. Lu  <hjl@gnu.org>

* libio/fileops.c (_IO_file_xsgetn): Adjust pointers.

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

* Makeconfig (libtypes): Redo H.J. Lu's change of 1998-03-27.

* Makerules: Readd missing rule for $(objpfx)stamp.oS.

1998-04-06  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

* nis/ypclnt.c: Don't give YPERR_RPC back, use the do_ypcall
return value for better error checking.

26 years ago(libtypes): Redo H.J. Lu's change of 1998-03-27.
Ulrich Drepper [Tue, 7 Apr 1998 08:51:51 +0000 (08:51 +0000)]
(libtypes): Redo H.J. Lu's change of 1998-03-27.

26 years ago * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: New file. Sparc...
Richard Henderson [Mon, 6 Apr 1998 19:37:45 +0000 (19:37 +0000)]
    * sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: New file.         Sparc needs a custom value of __KERNEL_NCCS.

* sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: New file.
Sparc needs a custom value of __KERNEL_NCCS.

26 years ago * elf/dl-runtime.c (fixup, profile_fixup): The final arg to _dl_looku...
Richard Henderson [Mon, 6 Apr 1998 19:08:46 +0000 (19:08 +0000)]
    * elf/dl-runtime.c (fixup, profile_fixup): The final arg to         _dl_lookup_*symbol is DL_LOOKUP_NOPLT not ELF_MACHINE_JMP_SLOT.         * elf/elf.h (EM_SPARC64): Remove.         (EM_SPARC32PLUS, EM_SPARCV9): Add.         (HWCAP_SPARC_V9): Add.         * elf/ldsodefs.h (_dl_hwcap): Declare.         * sysdeps/sparc/sparc32/dl-machine.h (_dl_hwcap, _dl_hwcap_mask):         Weaken so dlopen from static progies works.         (WEAKADDR): New macro.         (elf_machine_matches_host): Accept EM_SPARC32PLUS on a v9 cpu.         (LD_SO_PRELOAD): New macro.         (elf_machine_fixup_plt): Cope with weak _dl_hwcap.         (elf_machine_rela): Weaken _dl_rtld_map.         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Rename __libc_clone         to __clone, and remove the later's alias.         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Copy to/from         the kernel's structure.

1998-04-06  Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>

* elf/dl-runtime.c (fixup, profile_fixup): The final arg to
_dl_lookup_*symbol is DL_LOOKUP_NOPLT not ELF_MACHINE_JMP_SLOT.

* elf/elf.h (EM_SPARC64): Remove.
(EM_SPARC32PLUS, EM_SPARCV9): Add.
(HWCAP_SPARC_V9): Add.

* elf/ldsodefs.h (_dl_hwcap): Declare.
* sysdeps/sparc/sparc32/dl-machine.h (_dl_hwcap, _dl_hwcap_mask):
Weaken so dlopen from static progies works.
(WEAKADDR): New macro.
(elf_machine_matches_host): Accept EM_SPARC32PLUS on a v9 cpu.
(LD_SO_PRELOAD): New macro.
(elf_machine_fixup_plt): Cope with weak _dl_hwcap.
(elf_machine_rela): Weaken _dl_rtld_map.

* sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Rename __libc_clone
to __clone, and remove the later's alias.
* sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.

* sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Copy to/from
the kernel's structure.

* sysdeps/generic/libc-start.c: Allow init and fini to be null.

26 years ago* sysdeps/sparc/sparc32/elf.S: Rewrite for __libc_start_main. * sysdeps/sparc/sparc64...
Richard Henderson [Mon, 6 Apr 1998 17:40:58 +0000 (17:40 +0000)]
* sysdeps/sparc/sparc32/elf.S: Rewrite for __libc_start_main. * sysdeps/sparc/sparc64/elf.S: Likewise.

* sysdeps/sparc/sparc32/elf.S: Rewrite for __libc_start_main.
* sysdeps/sparc/sparc64/elf.S: Likewise.

1998-04-06  Richard Henderson  <rth@cygnus.com>

26 years ago * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Revert 03-01 change, ...
Richard Henderson [Mon, 6 Apr 1998 17:18:52 +0000 (17:18 +0000)]
    * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Revert 03-01 change,         as the buffer is not properly aligned.         Reported by Juan Cespedes <cespedes@debian.org>.

1998-04-06  Richard Henderson  <rth@cygnus.com>

* sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Revert 03-01 change,
as the buffer is not properly aligned.
Reported by Juan Cespedes <cespedes@debian.org>.

26 years agoUpdate.
Ulrich Drepper [Sun, 5 Apr 1998 12:06:27 +0000 (12:06 +0000)]
Update.

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

* manual/examples/mkfsock.c (make_named_socket): Use AF_LOCAL
instead of AF_FILE.

26 years agoUpdate.
Ulrich Drepper [Sun, 5 Apr 1998 11:23:12 +0000 (11:23 +0000)]
Update.

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

* iconv/gconv_simple.c: Rewrite to not make use of the mb*towc*
and wc*tomb* functions.

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

* sysdeps/unix/start.c: Fix typo.

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

* iconv/gconv_db.c (__gconv_find_transform): Fix typo.

26 years agoUpdate.
Ulrich Drepper [Sat, 4 Apr 1998 07:46:55 +0000 (07:46 +0000)]
Update.

1998-04-03 23:38  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/libm-ieee754/e_acos.c: Optimize by splitting large
expressions and using array variables.
* sysdeps/libm-ieee754/e_asin.c: Likewise.
* sysdeps/libm-ieee754/e_j0.c: Likewise.
* sysdeps/libm-ieee754/e_j1.c: Likewise.
* sysdeps/libm-ieee754/e_log.c: Likewise.
* sysdeps/libm-ieee754/e_pow.c: Likewise.
* sysdeps/libm-ieee754/k_cos.c: Likewise.
* sysdeps/libm-ieee754/k_sin.c: Likewise.
* sysdeps/libm-ieee754/k_tan.c: Likewise.
* sysdeps/libm-ieee754/s_atan.c: Likewise.
* sysdeps/libm-ieee754/s_erf.c: Likewise.
* sysdeps/libm-ieee754/s_expm1.c: Likewise.
* sysdeps/libm-ieee754/s_log1p.c: Likewise.
Patch by Naohiko Shimizu <nshimizu@et.u-tokai.ac.jp>.

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

1998-04-03 23:17  Ulrich Drepper  <drepper@cygnus.com>

* iconv/gconv.c: Rewrite of the low-level of gconv.
* iconv/gconv.h: Likewise.
* iconv/gconv_builtin.h: Likewise.
* iconv/gconv_close.c: Likewise.
* iconv/gconv_db.: Likewise.
* iconv/gconv_dl.c: Likewise.
* iconv/gconv_int.h: Likewise.
* iconv/gconv_open.c: Likewise.
* iconv/gconv_simple.c: Likewise.
* iconvdata/8bit-gap.c: Adapt for rewrite.
* iconvdata/8bit-generic.c: Likewise.
* iconvdata/euckr.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.

26 years agoUpdate.
Ulrich Drepper [Fri, 3 Apr 1998 15:46:53 +0000 (15:46 +0000)]
Update.

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

* iconv/gconv_int.h: New file.  Internal header.
* iconv/Makefile (distribute): Add gconv_int.h.
* iconv/gconv.h: Remove definition which are now in gconv_int.h.
* iconv/gconv_builtin.c: Adopt for gconv_int.h introduction.
* iconv/gconv_close.c: Likewise.
* iconv/gconv_conf.c: Likewise.
* iconv/gconv_db.c: Likewise.
* iconv/gconv_dl.c: Likewise.
* iconv/gconv_int.h: Likewise.
* iconv/gconv_open.c: Likewise.
* iconv/iconv.c: Likewise.
* iconv/iconv_close.c: Likewise.
* iconv/iconv_open.c: Likewise.
* iconv/iconv_prog.c: Likewise.

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

* iconvdata/ksc5601.c: Correct Perl scripts and make them omit the
missing braces.

26 years agoUpdate.
Ulrich Drepper [Fri, 3 Apr 1998 12:19:27 +0000 (12:19 +0000)]
Update.

1998-04-03  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

* nis/nis_table.c (nis_list): Fix FOLLOW_PATH and ALL_RESULTS flags.

26 years agoUpdate.
Ulrich Drepper [Fri, 3 Apr 1998 12:07:01 +0000 (12:07 +0000)]
Update.

1998-04-03 16:29  Philip Blundell  <pb@nexus.co.uk>

Based on patch from Pat Beirne:
* sysdeps/unix/sysv/linux/arm/sysdep.S (__syscall_error): Same for
PIC and non-PIC now.  Correctly negate error number.
(errno): Use `%' not `@' in .type directives.

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

* sysdeps/i386/strtok.S: Change to use single exit point.
* sysdeps/i386/i686/strtok.S: Likewise.

26 years agoUpdate.
Ulrich Drepper [Fri, 3 Apr 1998 11:18:13 +0000 (11:18 +0000)]
Update.

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

* sysdeps/generic/dl-procinfo.h (_dl_hwcap_string): Provide
default.

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

* Makerules (installed-libcs): Fix typo.

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

* iconvdata/Makefile ($(objpfx)UHC.so): Link against libKSC.
(UHC-routines): Remove ksc5601.

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

1998-04-03 16:29  Philip Blundell  <pb@nexus.co.uk>

* sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Fix typo
introduced in last change.

26 years agoUpdate.
Ulrich Drepper [Fri, 3 Apr 1998 06:25:38 +0000 (06:25 +0000)]
Update.

1998-04-03 06:22  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/getcwd.c: Make compilable with kernels
before 2.1.92.

26 years agoUpdate.
Ulrich Drepper [Thu, 2 Apr 1998 17:59:27 +0000 (17:59 +0000)]
Update.

* sysdeps/unix/sysv/linux/syscalls.list: Add s_getcwd entry.

26 years agoUpdate.
Ulrich Drepper [Thu, 2 Apr 1998 17:42:53 +0000 (17:42 +0000)]
Update.

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

* stdlib/isomac.c: Use -isystem instead of -I for system include
dir.

1998-03-30 08:05  H.J. Lu  <hjl@gnu.org>

* resolv/res_comp.c (underscorechar): New.
(middlechar): Allow '_'.

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

* intl/explodename.c (stdlib.h): Include that file only if
STDC_HEADERS or _LIBC.
(string.h): Include that file only if HAVE_STRING_H or _LIBC.
Patch by Philippe De Muyter <phdm@macqel.be>.

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

* aclocal.m4 (AC_PROG_CC_LOCAL): Remove superfluous tests.
(AC_PROG_CHECK_VER): New macro.
* configure.in: Use AC_PROG_CHECK_VER to check versions of
gcc, gmake, msgfmt, makeinfo.  Remove superfluous tests.

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

* sysdeps/unix/sysv/linux/i386/i686/sysdep.h: New file.
* sysdeps/i386/i686/strtok.S: New file
* sysdeps/i386/i686/strtok_r.S: New file

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

* posix/unistd.h: [__USE_FILE_OFFSET64] (lseek): Change return
type to __off64_t.
* libio/stdio.h [__USE_FILE_OFFSET64] (fseeko): Declare offset
parameter as __off64_t instead of __off_t.
(ftello): Make alias for ftello64 instead of ftello.  Change
return type to __off64_t.

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

* sysdeps/i386/bits/string.h: Fix various typos.
Patch by Horst von Brand <vonbrand@sleipnir.valparaiso.cl>.

* sysdeps/unix/sysv/linux/getcwd.c: Use getcwd syscall in Linux 2.1.92.

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

* sysdeps/unix/sysv/linux/i386/chown.c: Handle old kernels without
lchown syscall correctly.  [PR libc/541].

26 years agoUpdate.
Ulrich Drepper [Thu, 2 Apr 1998 13:11:24 +0000 (13:11 +0000)]
Update.

* intl/finddomain.c: Likewise.
* intl/gettextP.h: Likewise.
* intl/loadmsgcat.c: Likewise.

26 years agoUpdate.
Ulrich Drepper [Thu, 2 Apr 1998 12:44:17 +0000 (12:44 +0000)]
Update.

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

* localedata/Makefile: Correct testsuite rules.

* iconvdata/gconv-modules: Set cost of ISO646 module to 2.
* iconvdata/iso646.c: Fix conversion from UCS4.

* elf/ldsodefs.h: Mark internal function with internal_function.
* elf/dl-addr.c: Likewise.
* elf/dl-close.c: Likewise.
* elf/dl-debug.c: Likewise.
* elf/dl-deps.c: Likewise.
* elf/dl-error.c: Likewise.
* elf/dl-fini.c: Likewise.
* elf/dl-init.c: Likewise.
* elf/dl-load.c: Likewise.
* elf/dl-lookup.c: Likewise.
* elf/dl-object.c: Likewise.
* elf/dl-open.c: Likewise.
* elf/dl-profile.c: Likewise.
* elf/dl-reloc.c: Likewise.
* elf/dl-runtime.c: Likewise.
* elf/dl-symbol.c: Likewise.
* elf/dl-version.c: Likewise.
* elf/dlerror.c: Likewise.
* sysdeps/generic/dl-sysdep.c: Likewise.
* sysdeps/i386/dl-machine.h: Likewise.

* iconv/gconv_simple.c: New builtins for UCS en/decoding.
* iconv/gconv_builtin.c (builtin_map): Define BUILTIN_ALIAS as an

26 years agoUpdate.
Ulrich Drepper [Wed, 1 Apr 1998 17:44:34 +0000 (17:44 +0000)]
Update.

1998-04-01 17:38  Ulrich Drepper  <drepper@cygnus.com>

* iconv/gconv?simple.c: New builtins for UCS en/decoding.
* iconv/gconv_builtin.h: Add definitions for new builtins.
* iconv/gconv.h: Add prototypes for new builtins.

* iconvdata/Makefile (modules): Add ISO646.
Add rules for ISO646 module.
(distribute): Add iso646.c.
* iconvdata/gconv-modules: Add module and alias definition for
ISO646 charsets.
* iconvdata/iso646.c: New file.

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

1998-04-01 16:10  Ulrich Drepper  <drepper@cygnus.com>

* libc.map: Add __gconv_alias_db, __gconv_nmodules, __gconv_modules_db.
* iconv/iconv_prog.c: Implement --list option to print available
coded character sets.

1998-04-01 18:10  Zack Weinberg  <zack@rabi.phys.columbia.edu>

Make fread() read large blocks straight to the user buffer.

* libio/fileops.c (_IO_file_xsgetn): New function.
(_IO_file_jumps): Use it.
* libio/libioP.h: Prototype it.

26 years agoUpdate.
Ulrich Drepper [Wed, 1 Apr 1998 13:19:51 +0000 (13:19 +0000)]
Update.

* iconv/gconv_conf.c (builtin_aliases): New variable.
(__gconv_read_conf): Add builtin aliases.
* iconv/gconv_builtin.c (builtin_map): Define BUILTIN?ALIAS as an
noop macro before including gconv_builtin.h.
* iconv/gconv_builtin.h: Add alias names.

26 years agoUpdate.
Ulrich Drepper [Wed, 1 Apr 1998 12:27:00 +0000 (12:27 +0000)]
Update.

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

* iconv/gconv_simple.c (__gconv_transform_ucs4_utf8): Compute
number of converted bytes correctly.

26 years agoUpdate.
Ulrich Drepper [Wed, 1 Apr 1998 12:01:19 +0000 (12:01 +0000)]
Update.

1998-04-01  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

* sunrpc/clnt_udp.c (clntudp_call): Don't check the xid if
we only wait for a replay.

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

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

* iconvdata/Makefile: Finally fix dependencies for JOHAB and
EUC-KR modules.

26 years agoUpdate.
Ulrich Drepper [Wed, 1 Apr 1998 09:15:07 +0000 (09:15 +0000)]
Update.

1998-04-1 16:52  Philip Blundell  <pb@nexus.co.uk>

* sysdeps/unix/sysv/linux/arm/socket.S: Correct test for error and
use PLTJMP() rather than explicit (PLT).

* sysdeps/arm/elf/start.S: Leave most of the initialisation for
__libc_start_main().

Based on patch from Pat Beirne:
* sysdeps/unix/sysv/linux/arm/sysdep.h (SYSCALL_ERROR_HANDLER):
Always define, not only #ifndef PIC.
(DO_CALL): Pass fifth argument correctly in R4.
(PSEUDO): Correct test for error, call syscall_error through PLT
if PIC.

1998-03-31 10:51  Philip Blundell  <pb@nexus.co.uk>

* sysdeps/unix/sysv/linux/netash/ash.h: Fix typos and add new
definitions.

26 years agoUpdate.
Ulrich Drepper [Wed, 1 Apr 1998 08:11:45 +0000 (08:11 +0000)]
Update.

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

* iconvdata/Makefile: Remove extra dependencies for EUC-KR.so and
JOHAB.so.

26 years agoUpdate.
Ulrich Drepper [Wed, 1 Apr 1998 07:11:57 +0000 (07:11 +0000)]
Update.

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

* io/Makefile (static-only-routines): Add stat64, fstat64 and
lstat64.

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

* manual/Makefile: Use object-suffixes-for-libc instead of
object-suffixes.
* rpm/Makefile (install-lib): Likewise.

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

* sysdeps/unix/sysv/linux/lddlibc4.c: Fix OB1 bug.

* sysdeps/unix/sysv/linux/configure.in: Match $machine against
`m68*', not only `m68k'.

1998-04-01 10:50  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

26 years agoMatch $machine against `m68*', not only `m68k'.
Ulrich Drepper [Wed, 1 Apr 1998 06:45:43 +0000 (06:45 +0000)]
Match $machine against `m68*', not only `m68k'.

26 years ago* sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file.
Andreas Schwab [Wed, 1 Apr 1998 00:53:13 +0000 (00:53 +0000)]
* sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file.

* sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir)=elf]: Build and
install lddlibc4.
Wed Apr  1 10:50:23 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* sysdeps/unix/sysv/linux/m68k/dl-librecon.h: New file.

* sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir)=elf]: Build and
install lddlibc4.

26 years agoUpdate.
Ulrich Drepper [Tue, 31 Mar 1998 23:45:03 +0000 (23:45 +0000)]
Update.

* iconvdata/Makefile: Use libKSC shared object in JOHAB and
EUC-KR.

* sysdeps/unix/sysv/linux/bits/socket.h (PF_FILE): Correct
comment.

1998-03-30 08:43  H.J. Lu  <hjl@gnu.org>

* sysdeps/alpha/elf/start.S: Let __libc_start_main do most of
the init stuff.

1998-03-31  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/alpha/syscalls.list: Wrapper for
adjtimex syscall.
* sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
adjtimex.
Patches by Dominik Kubla <kubla@sundiver.zdv.uni-mainz.de>.

1998-03-31  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* Makerules (install): Change comment for libc.so following the
libc_nonshared changes.

1998-03-31  Ulrich Drepper  <drepper@cygnus.com>

26 years agoUpdate.
Ulrich Drepper [Tue, 31 Mar 1998 22:46:26 +0000 (22:46 +0000)]
Update.

* sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix typo.

* iconvdata/gap.pl: Avoid using %#06x.

1998-03-31 19:55  Zack Weinberg  <zack@rabi.phys.columbia.edu>

* Makerules: Use $? instead of S^ when invoking ar.

1998-03-31  Ulrich Drepper  <drepper@cygnus.com>

26 years agoUpdate.
Ulrich Drepper [Tue, 31 Mar 1998 22:04:32 +0000 (22:04 +0000)]
Update.

* db2/compat.h: Allow EFTYPE being defined.
* sysdeps/unix/bsd/bits/signum.h: Add definition for SIG_HOLD.
* sysdeps/unix/bsd/ulimit.c: Include <ulimit.h>.
* sysdeps/mach/hurd/bits/fcntl.h: Add O_LARGEFILE.
* sysdeps/mach/bits/libc-lock.h: Fix typo.
(__libc_once): Correctly unlock semaphore.
* sysdeps/mach/hurd/dl-sysdep.c: Include <elf/ldsodefs.h>.
* sysdeps/unix/bsd/getpt.c: Fix typo.
Patches by UCHIYAMA Yasushi <uch@ddd.scei.sony.co.jp>.

1998-03-31  Ulrich Drepper  <drepper@cygnus.com>

26 years agoUpdate.
Ulrich Drepper [Tue, 31 Mar 1998 21:20:32 +0000 (21:20 +0000)]
Update.

1998-03-31  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/bits/socket.h (MSG_*): Also define as
macros.

26 years agoUpdate.
Ulrich Drepper [Tue, 31 Mar 1998 18:24:48 +0000 (18:24 +0000)]
Update.

1998-03-31 18:11  Ulrich Drepper  <drepper@cygnus.com>

* include/mntent.h: New file.

* elf/Makefile (trusted-dirs.h): Append slash to filename.
* elf/dl-load.c: Rewrite search path handling.
* elf/ldsodefs.h (struct r_search_path_elem): Change for rewrite.
* elf/rtld.c (process_envvars): Recognize LD_HWCAP_MASK.
* sysdeps/generic/dl-sysdep.h (_dl_important_hwcap): New function.
* elf/ldsodefs.h: Add prototype.

26 years agoUpdate.
Ulrich Drepper [Tue, 31 Mar 1998 08:36:05 +0000 (08:36 +0000)]
Update.

* nss/nsswitch.c (__nss_lookup): Adjust comment.

26 years agoUpdate.
Ulrich Drepper [Mon, 30 Mar 1998 22:44:00 +0000 (22:44 +0000)]
Update.

26 years agoUpdate.
Ulrich Drepper [Mon, 30 Mar 1998 18:45:41 +0000 (18:45 +0000)]
Update.

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

* sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): New
function.

* sysdeps/generic/dl-procinfo.h (HWCAP_IMPORTANT): New definition.

* sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_hwcap_string):
New function.
(HWCAP_IMPORTANT): New definition.

1998-03-30 17:26  H.J. Lu  <hjl@gnu.org>

* elf/dl-open.c (_dl_open): Fix a typo.
(_dl_global_scope_alloc): Make it static.

* nss/getXXent_r.c (REENTRANT_GETNAME): Avoid endless loop.

26 years agoUpdate.
Ulrich Drepper [Mon, 30 Mar 1998 17:26:52 +0000 (17:26 +0000)]
Update.

1998-03-30 17:20  Ulrich Drepper  <drepper@cygnus.com>

* Makerules: Remove duplicate rules to handle stamp.oS.

1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* manual/examples/inetsrv.c (main): Change prototype of
make_socket following change in mkisock.c.

* manual/examples/inetcli.c (SERVERHOST): Use mescaline.gnu.org as
example host.
(main): Change prototype of init_sockaddr following change in
isockadd.c.

* manual/examples/mkisock.c (make_socket): Use uint16_t for port.
* manual/examples/isockad.c (init_sockaddr): Likewise.

* manual/examples/mkfsock.c (make_named_socket): Removed blank
lines for clarification.
(make_named_socket): Use strncpy instead of strcpy.
Reported by Francesco Potorti` <F.Potorti@cnuce.cnr.it>.

26 years agoUpdate.
Ulrich Drepper [Mon, 30 Mar 1998 17:24:28 +0000 (17:24 +0000)]
Update.

1998-03-30 17:20  Ulrich Drepper  <drepper@cygnus.com>

* Makerules: Remove duplicate rules to handle stamp.oS.

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

* Makefile: Fix test rules from last patch.

26 years agoUpdate.
Ulrich Drepper [Mon, 30 Mar 1998 13:32:03 +0000 (13:32 +0000)]
Update.

1998-03-30 13:28  Ulrich Drepper  <drepper@cygnus.com>

* Makefile (parent-mostlyclean): Use object-suffixes-for-libc for
determining libs to remove.
(postclean): Add soversions.mk.
* Makerules (common-mostlyclean): Add tests-static and generated
files.

26 years agoUpdate.
Ulrich Drepper [Mon, 30 Mar 1998 13:01:46 +0000 (13:01 +0000)]
Update.

1998-03-30 12:53  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/i386/i486/bits/string.h (__strcat_c) [__i686__]: Correct
scanning for \0.
(__strncat_g): Add i686 specific code.

1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* manual/install.texi (Reporting Bugs): Ask to include section
names in reports.

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

* sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Emit
guard against direct inclusion.

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

Rework support for libc_nonshared.a:
* Makeconfig (object-suffixes-for-libc): New variable.
* Rules: Remove handling of static-only and shared-only routines.
* Makerules: Handle them here instead.  Use
object-suffixes-for-libc instead of object-suffixes when dealing
with libc objects.
(object-suffixes-for-rules): Remove variable.
(elide-routines.oS): Elide all routines except static-only
routines.
($(objpfx)stamp.oS): Special rule for when static-only-routines is
empty.
(installed-libcs): Remove special case for .oS.
(rmobjs): Likewise.

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

* Makefile (do-collate-test, do-xfrm-test, do-tst-fmon,
do-tst-rpmatch): New targets.
(test): Use them.
(install-locales): Ignore comment lines.

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

* elf/Makefile ($(objpfx)ld.so): Depend on version script.
($(objpfx)trusted-dirs.h): Depend also on $(..)Makeconfig.
($(objpfx)rtldtbl.h): Likewise.
(CPPFLAGS-dl-load.c): Fix reference to object directory.

1998-03-30 09:36  Ulrich Drepper  <drepper@cygnus.com>

* manual/string.texi (Finding Tokens in a String): Extend strsep
description and correct example.

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

* manual/socket.texi: Remove misguided explicit line breaks and
fix the formatting problem instead by reformulating the
paragraphs.
* manual/filesys.texi: Likewise.
* manual/conf.texi: Likewise.  Don't typeset table with index
fonts, that looks worse than a minimally overfull line.

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

* nscd/Makefile (nscd-modules): Move definition outside of
conditional.

* pwd/Makefile: Use have-thread-library to test for thread
library.

1998-03-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* nss/getXXent_r.c (INTERNAL): Remove unused variable current_nip.

* iconvdata/uhc.c (gconv): Remove unused variable idx.

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

* sysdeps/unix/sysv/linux/Dist: Add lddlibc4.c.

26 years agoUpdate.
Ulrich Drepper [Sun, 29 Mar 1998 22:56:22 +0000 (22:56 +0000)]
Update.

* nss/getXXent_r.c: Correctly handle failing setXXent function.

26 years agoUpdate.
Ulrich Drepper [Sun, 29 Mar 1998 21:51:33 +0000 (21:51 +0000)]
Update.

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

* inet/netinet/in.h: Use cast to uint32_t in IPv4 macros.
Reported by Andreas Jaeger.

26 years agoUpdate.
Ulrich Drepper [Sun, 29 Mar 1998 21:30:17 +0000 (21:30 +0000)]
Update.

(distribute): Add dl-librecon.h.

26 years agoUpdate.
Ulrich Drepper [Sun, 29 Mar 1998 21:14:40 +0000 (21:14 +0000)]
Update.

1998-03-29 20:59  Ulrich Drepper  <drepper@cygnus.com>

* elf/Makefile: Fix typo.
* elf/ldd.bash.in: Collect output of ldd --verify in verify_out.
* elf/ldd.sh.in: Likewise.
* elf/ldsodefs.h: Declare _dl_correct_cache_id.
* elf/rtld.c (dl_main): In --verify mode allow platform specifc action.
Use strsep correctly.
(process_envvars): Allow platform specific variables.
* sysdeps/generic/dl-cache.c (_dl_correct_cache_id): New variable.
(_dl_load_cache_lookup): Test cache IDs found against
_dl_correct_cache_id.
* sysdeps/generic/dl-librecon.h: New file.
* sysdeps/unix/sysv/linux/dl-librecon.h: New file.

* sysdeps/unix/sysv/linux/lddlibc4.c: Include error.h.

* sysdeps/unix/sysv/linux/ldd-rewrite.sed: New file.

26 years agoUpdate.
Ulrich Drepper [Sun, 29 Mar 1998 17:03:23 +0000 (17:03 +0000)]
Update.

1998-03-29 16:50  Ulrich Drepper  <drepper@cygnus.com>

* config.make.in (ldd-rewrite-script): New variable.
* configure.in: Substitute ldd-rewrite-script.
* elf/Makefile: Rewrite rules to generate ldd script.
* elf/ldd.bash.in: Allow handling of non-ELF binaries.
* elf/ldd.sh.in: Likewise.
* sysdeps/unix/sysv/linux/Makefile: Remove rule to install lddlibc4.
* sysdeps/unix/sysv/linux/configure.in: Define ldd_rewrite_script to
point to sed script for libc4 handling insertion for ix86, m68, SPARC.
* sysdeps/unix/sysv/linux/i386/Makefile: Add rule to install lddlibc4.

1998-03-26 15:20  Zack Weinberg  <zack@rabi.phys.columbia.edu>

* inet/rcmd.c (iruserok): Remain setuid to the local user
while .rhosts is actually read, to make .rhosts-over-NFS work
(PR libc/524).  Use iruserfopen() for security checks on both
hosts.equiv and .rhosts.  General cleanup.
(iruserfopen): New function, performs careful checking on
hosts.equiv/.rhosts files.  Disallows all the old forbidden
stuff plus hard links to files.

1998-03-29 09:26  Ulrich Drepper  <drepper@cygnus.com>

* setjmp/tst-setjmp.c: Don't test __setjmp, test _setjmp instead.

1998-03-29 02:02  H.J. Lu  <hjl@gnu.org>

* sysdeps/i386/i486/bits/string.h: Fix typos.

* nss/nsswitch.c (__nss_lookup): Fix the bogus checking for
"adjusted for next function".

1998-03-28 00:13  H.J. Lu  <hjl@gnu.org>

* sysdeps/unix/sysv/linux/alpha/readdir.c (__readdir64): New
strong alias.

* sysdeps/unix/sysv/linux/alpha/syscalls.list (socket): Added.

* libc.map (__ieee_get_fp_control, __ieee_set_fp_control):
Added.  Used by libm.so on alpha.

1998-03-28  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

* intl/bindtextdom.c [_LIBC]: Define strdup only if not yet
defined.

1998-03-27 07:29  H.J. Lu  <hjl@gnu.org>

* Makerules (object-suffixes-for-rules): Add .oS only for
building shared library.
Add ranlib rule for nonshared library.
(rmobjs): Fix typo.

* Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): Moved
into for shared library only.
(CPPFLAGS-.oS): Add -DPIC.
(libtypes): Use $(object-suffixes-for-rules) instead of
$(object-suffixes).

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

* sysdeps/unix/sysv/linux/Makefile (inhibit-stdio_lim): Compile
and install lddlibc4.

1998-03-28 09:13  Zack Weinberg  <zack@rabi.phys.columbia.edu>

* iconvdata/gap.pl: Gobble rest of line with a scalar, not a
hash.
* iconvdata/gaptab.pl: Likewise.

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

1998-03-27 22:46  Ulrich Drepper  <drepper@cygnus.com>

* Rules: Allow Makefiles to specify test-static for tests which
cannot be linked dynamically.
* math/Makefile: Move atest-exp, atest-sincos, atest-exp2 to
tests-static.

* libc.map: Add __nss_passwd_lookup, __nss_group_lookup, __nss_next.

* misc/error.c: Pretty print.

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

* Makerules (libc_nonshared-name): Remove variable.
(installed-libcs): Use libc-name instead.
($(inst_libdir)/libc.so): Likewise.  Remove explicit reference to
dynamic linker.

* Makeconfig (link-libc): Link against libc_nonshared.a instead of
libc.a.  Remove explicit reference to dynamic linker.

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

* iconvdata/iso8859-1.c (gconv): Add cast to assignment from char
to wchar_t.
* iconv/iconv_prog.c: Correctly test for write failure.
* iconvdata/Makefile: Add rules for EUC-KR, UHC, and JOHAB conversions.
* iconvdata/gconv-modules: Likewise.
* iconvdata/euckr.c: New file.
* iconvdata/johab.c: New file.
* iconvdata/ksc5601.c: New file.
* iconvdata/ksc5601.h: New file.
* iconvdata/uhc.c: New file.
Contributed by Jungshik Shin <jshin@pantheon.yale.edu>.

* libio/fileops.c (_IO_file_fopen): Interpret x flag to fopen.
* stdio/fopen.c: Correct handling of 'x' flag.
Reported by Jason M. Petry <jason@ps.ohio-state.edu>.

1998-03-27  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* sunrpc/rpc/key_prot.h: Prevent warning by unknown pragma ident.
* sunrpc/rpcsvc/key_prot.x: Likewise.
* sunrpc/key_prot.c: Likewise.

1998-03-27 13:49  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/i386/bits/string.h: Correct things which never worked.
* sysdeps/i386/i486/bits/string.h: Add clobber marks.
Patches by Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>.

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

* intl/textdomain.c [_LIBC]: Define strdup only if not yet
defined.  Reported by Thorsten Kukuk.

26 years agoUpdate.
Ulrich Drepper [Fri, 27 Mar 1998 17:27:47 +0000 (17:27 +0000)]
Update.

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

* locales/ru_RU: Abbreviations must end with a consonant.  Fix for
Tuesday by Ilya Ovchinnikov <ilya@taspd13a.npi.msu.su>. [PR libc/517]

26 years agoAdd stub for ldd to examine libc binaries.
Ulrich Drepper [Thu, 26 Mar 1998 18:53:12 +0000 (18:53 +0000)]
Add stub for ldd to examine libc binaries.

1998-03-26 18:50  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/lddlibc4.c: New file.

26 years agoUpdate.
Ulrich Drepper [Thu, 26 Mar 1998 18:01:01 +0000 (18:01 +0000)]
Update.

1998-03-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* manual/install.texi (Supported Configurations): Add
arm-linuxaout and arm-none.

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

* version.h (VERSION): Bump to 2.0.93.

1998-03-25 07:30  H.J. Lu  <hjl@gnu.org>

* configure.in (libc_cv_ar_S): New to indicate if ar S works.

* config.make.in (have-ar-S): New, substituted by libc_cv_ar_S.

* Makerules (CREATE_ARFLAGS): New determined by $(have-ar-S).
(do-ar, build-extra-lib): Use $(CREATE_ARFLAGS) for $(AR).

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

* Makeconfig (link-libc): Add missing use of libc_nonshared.a.

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

Put the static-only routines in a separate library.
* Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): New
variables.
(all-object-suffixes): Add .oS.
* Makerules (libc_static-name): New variable.
(installed-libcs): Add libc_nonshared.a.
($(inst_libdir)/libc.so): Use libc_nonshared.a instead of libc.a.
(object-suffixes-for-rules): New variable.  Use it instead of
object-suffixes for generating compilation rules.
(rmobjs): Also remove *.oS.
* Rules (subdir_lib): Depend on $(objpfx)stamp.oS.
($(objpfx)stamp.oS): New target.

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

* Makefile (FAQ): Automatically check in regenerated FAQ.

1998-03-26 10:16  Zack Weinberg  <zack@rabi.phys.columbia.edu>

* Makefile (INSTALL): Depend on install.texi, not maint.texi.

26 years agoUpdate. cvs/glibc-2_0_92 glibc-2.0.92
Ulrich Drepper [Wed, 25 Mar 1998 16:38:08 +0000 (16:38 +0000)]
Update.

* sysdeps/unix/sysv/linux/sparc/sparc64/Dist: Add sizes.h.
* sysdeps/unix/sysv/linux/alpha/Dist: Likewise.

* sysdeps/generic/stub_warning: Removed.

* Makefile (distribute): Add include/des.h.

* manual/Makefile (distribute): Change dir-add.texi to
dir-add.texinfo.

26 years agoUpdate.
Ulrich Drepper [Wed, 25 Mar 1998 15:21:09 +0000 (15:21 +0000)]
Update.

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

* glibcbug.in: Create files safely when mktemp is not available.

* sysdeps/unix/sysv/linux/adjtime.c: Make weak alias appear again.
Patch by a sun <asun@saul1.u.washington.edu>.

1998-03-25  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

* libc.map: Rename getname to getnetname.

1998-03-25 13:35  Ulrich Drepper  <drepper@cygnus.com>

* manual/maint.texi: Use supported platform in examples.

* manual/install.texi: Document some installation tips.

1998-03-25 10:56  Ulrich Drepper  <drepper@cygnus.com>

* posix/wordexp.c: Fix some memory leaks and makes $* more efficient.
Fix a bug so that it returns an error if a numeric parameter is
unset and WRDE_UNDEF is set.
Patch by Andreas Schwab and Tim Waugh.
* posix/wordexp-test.c: Add new new test.

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

* posix/regex.c (regex_compile): Last patch wasn't entirely
correct.  Patch by Alain Magloire <alainm@rcsm.ece.mcgill.ca>.

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

* manual/filesys.texi (Scanning Directory Content): Fix typo.

1998-03-25 09:24  Bernd Schmidt  <crux@Pool.Informatik.RWTH-Aachen.DE>

* sysdeps/i386/bits/string.h: Fix all assembler statements so that
clobbered registers don't appear as operands.

26 years agoUpdate.
Ulrich Drepper [Tue, 24 Mar 1998 21:38:35 +0000 (21:38 +0000)]
Update.

* posix/regex.c: Undefine ISASCII and ISPRINT before defining for
Solaris' sake.

26 years agoUpdate.
Ulrich Drepper [Tue, 24 Mar 1998 21:15:02 +0000 (21:15 +0000)]
Update.

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

* posix/regex.c (regex_compile): Don't allow non-alphabet
characters in character set name.

26 years agoUpdate.
Ulrich Drepper [Tue, 24 Mar 1998 20:51:53 +0000 (20:51 +0000)]
Update.

1998-03-25 00:00  Tim Waugh  <tim@cyberelk.demon.co.uk>

* posix/wordexp.c (w_newword): New function.
(do_parse_glob): New function.
(parse_glob): Use do_parse_glob.  Now handles the case where a
variable expansion causes a field-split.
(wordexp): Use w_newword.
(parse_arith): Likewise.
(exec_comm): Likewise.
(parse_comm): Likewise.
(parse_param): Likewise.
(parse_backtick): Likewise.

1998-03-24 19:36  Tim Waugh  <tim@cyberelk.demon.co.uk>

* posix/wordexp-tst.sh: Another test.

* posix/wordexp-test.c: Two new tests.

* posix/wordexp.c (parse_glob): Use w_addstr instead of realloc
directly (the code using realloc was buggy).
(parse_param): Fix typo in comment.

26 years agoUpdate.
Ulrich Drepper [Tue, 24 Mar 1998 17:03:23 +0000 (17:03 +0000)]
Update.

* elf/dl-close.c (_dl_close): Replace questionable memcpy by loop.

1998-03-24  Thorsten Kukuk  <kukuk@vt.uni-paderborn.de>

* libc.map: Add more rpc auth functions/variables.

* nscd/nscd.c: Add -g option to argp options.

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

* configure.in: Be prepared for gcc 2.9.10 and up.
* configure.in: Add missing disabling of quote characters in
compiler version check.  Reported by HJ Lu.

1998-03-24  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

* malloc/mtrace.c: Include elf/ldsodefs.h instead of link.h.

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

* intl/locale.alias: Fix spelling of romanian.

26 years agoUpdate.
Ulrich Drepper [Tue, 24 Mar 1998 12:21:06 +0000 (12:21 +0000)]
Update.

1998-03-24 12:14  Ulrich Drepper  <drepper@cygnus.com>

* Makefile (distribute): Add SUPPORTED.
(install-locales): New rule to install locale dat ausing localedef.
* SUPPORTED: New file.  Names all usable locales.
Based on a patch by Cristian Gafton <gafton@redhat.com>.

* locales/gr_GR: Correct collation description.
* locales/nl_NL: Correct Charset requirement.
* locales/pt_BR: Fix int_curr_symbol.
* locales/ru_RU: Fix ctype data.
Patches by Cristian Gafton <gafton@redhat.com>.

* locales/nl_NL: Fix yesexpr/noexpr.
* locales/pt_BR: Likewise.

26 years agoUpdate.
Ulrich Drepper [Tue, 24 Mar 1998 10:39:42 +0000 (10:39 +0000)]
Update.

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

* sunrpc/Makefile (headers): Add rpc/rpc_des.h.
(distribute): Remove des.h.
* include/des.h: New file.
* sunrpc/des.h: Moved to ...
* sunrpc/rpc/rpc_des.h: ...here.

26 years agoUpdate.
Ulrich Drepper [Tue, 24 Mar 1998 10:25:31 +0000 (10:25 +0000)]
Update.

1998-03-22  NIIBE Yutaka  <gniibe@mri.co.jp>

* inet/netinet/in.h (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK):
Fix paren.

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

* sysdeps/mach/hurd/setsockopt.c (setsockopt): Make OPTVAL
parameter const.  Reported by UCHIYAMA Yasushi <uch@nop.or.jp>.

26 years agoUpdate.
Ulrich Drepper [Tue, 24 Mar 1998 00:39:45 +0000 (00:39 +0000)]
Update.

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

* elf/ldsodesf.h: New file.
* elf/Makefile (distribute): Add ldsodefs.h.
* elf/link.h: Separate internal information in exter header.
* elf/rtld.c: Include elf/ldsodefs.h not link.h.
* elf/dl-minimal.c: Likewise.
* sysdeps/generic/dl-sysdep.c: Likewise.
* elf/sprof.c: Likewise.
* elf/dlsym.c: Likewise.
* elf/dlvsym.c: Likewise.
* elf/dlerror.c: Likewise.
* elf/dladdr.c: Likewise.
* elf/dlclose.c: Likewise.
* elf/dlopen.c: Likewise.
* elf/dl-addr.c: Likewise.
* elf/dl-close.c: Likewise.
* elf/dl-debug.c: Likewise.
* elf/dl-deps.c: Likewise.
* elf/dl-error.c: Likewise.
* elf/dl-fini.c: Likewise.
* elf/dl-init.c: Likewise.
* elf/dl-load.c: Likewise.
* elf/dl-lookup.c: Likewise.
* elf/dl-object.c: Likewise.
* elf/dl-open.c: Likewise.
* elf/dl-profile.c: Likewise.
* elf/dl-reloc.c: Likewise.
* elf/dl-runtime.c: Likewise.
* elf/dl-support.c: Likewise.
* elf/dl-symbol.c: Likewise.
* elf/dl-version.c: Likewise.
* sysdeps/generic/dl-cache.c: Likewise.
* sysdeps/generic/libc-start.c: Likewise.
* iconv/gconv_dl.c: Likewise.
* nss/nsswitch.c: Likewise.

26 years agoUpdate.
Ulrich Drepper [Mon, 23 Mar 1998 13:47:20 +0000 (13:47 +0000)]
Update.

1998-03-23 13:45  Ulrich Drepper  <drepper@cygnus.com>

* manual/nss.texi: The database is not called network but networks.
Reported by Herbert Xu <herbert@gondor.apana.org.au>.