Ulrich Drepper [Sun, 12 Sep 1999 19:34:34 +0000 (19:34 +0000)]
Update.
* posix/fnmatch.c (internal_fnmatch): Make it compilable outside
glibc by defining internal_function if it isn't already.
Ulrich Drepper [Sun, 12 Sep 1999 19:24:42 +0000 (19:24 +0000)]
Update.
* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname2_r): If res_search
fails don't rely on errno value.
(getanswer_r): Set *ERRNOP in error cases.
* sysdeps/posix/getaddrinfo.c (gaih_local): Test protocol and socktype.
(gaih_inet_serv): Return EIA_NODATA if name is known but has no
associated data. Test for matching numeric address and family.
(getaddrinfo): Remember EAI_NODATA result and return this in case
everything fails.
Reported by Arkadiusz Miskiewicz <misiek@misiek.eu.org>.
Ulrich Drepper [Sun, 12 Sep 1999 08:30:57 +0000 (08:30 +0000)]
Update.
* locale/programs/locales.h: Removed.
Ulrich Drepper [Sun, 12 Sep 1999 08:28:56 +0000 (08:28 +0000)]
Update.
1999-09-12 Ulrich Drepper <drepper@cygnus.com>
* locale/programs/ld-address.c: Fix handling of non-existing
definitions for this category. Correctly ignore content of this
category is this is necessary.
* locale/programs/ld-collate.c: Likewise.
* locale/programs/ld-ctype.c: Likewise.
* locale/programs/ld-identification.c: Likewise.
* locale/programs/ld-measurement.c: Likewise.
* locale/programs/ld-messages.c: Likewise.
* locale/programs/ld-monetary.c: Likewise.
* locale/programs/ld-name.c: Likewise.
* locale/programs/ld-numeric.c: Likewise.
* locale/programs/ld-paper.c: Likewise.
* locale/programs/ld-telephone.c: Likewise.
* locale/programs/ld-time.c: Likewise.
* locale/programs/locfile.h (handle_copy): Take extra parameter
with result pointer. Fill in name of locale from which to copy.
Correctly read token after `END'.
* locale/programs/localedef.c (main): Correct handling copy.
(add_to_readlist): Take extra parameter which says whether we
are supposed to read the file or not.
(find_locale): Call add_to_readlist with extra parameter set to 0.
* locale/programs/localedef.h (struct localedef_t): Use __LC_LAST
instead of wrong number in array definitions.
(add_to_readlist): Update prototype.
* locale/programs/locfile.c (locfile_read): Mark categories not
available in source file as read.
(write_all_categories): Fix typo.
Ulrich Drepper [Sat, 11 Sep 1999 02:23:08 +0000 (02:23 +0000)]
Update.
* elf/elf.h (SHF_MASKOS): Added.
Ulrich Drepper [Fri, 10 Sep 1999 20:00:21 +0000 (20:00 +0000)]
Update.
* sysdeps/unix/sysv/linux/sys/raw.h (RAW_MAJOR): Added.
1999-09-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/install.texi (Configuring and compiling): Mention GCC 2.95.
1999-09-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* configure.in: Fix make version test for make 3.77.95 and later
versions.
Based on a patch by Paul D. Smith <psmith@baynetworks.com>.
1999-09-10 Ulrich Drepper <drepper@cygnus.com>
Ulrich Drepper [Fri, 10 Sep 1999 19:43:01 +0000 (19:43 +0000)]
Update.
1999-09-10 Ulrich Drepper <drepper@cygnus.com>
* wcsmbs/wchar.h (WCHAR_MIN, WCHAR_MAX): Use all-numeric values.
* sysdeps/generic/stdint.h: Correct WCHAR_MIN, WCHAR_MAX, and
WINT_MAX values.
* wctype/wctype.h: Remove incorrect towlower/towupper optimizations.
1999-09-09 Andreas Schwab <schwab@suse.de>
* elf/link.h: Fix comment.
1999-09-10 Ulrich Drepper <drepper@cygnus.com>
* math/bits/mathcalls.h: Add __isnan declaration [PR libc/1294].
* math/math.h: Pretty print.
Ulrich Drepper [Fri, 10 Sep 1999 19:04:08 +0000 (19:04 +0000)]
Update.
1999-09-10 Andreas Schwab <schwab@suse.de>
* sysdeps/generic/getenv.c (getenv): Fix lookup for single
character variable on bigendian platforms without unaligned memory
access.
Ulrich Drepper [Tue, 7 Sep 1999 18:20:51 +0000 (18:20 +0000)]
Update.
1999-09-07 Cristian Gafton <gafton@redhat.com>
* sysdeps/unix/sysv/linux/sys/raw.h: New file
* sysdeps/unix/sysv/linux/Dist: Add raw.h.
* sysdeps/unix/sysv/linux/Makefile [misc] (sysdep_headers): Add raw.h.
Ulrich Drepper [Tue, 7 Sep 1999 01:41:37 +0000 (01:41 +0000)]
Update.
* sysdeps/unix/sysv/linux/alpha/Dist: Add sys/user.h.
Ulrich Drepper [Mon, 6 Sep 1999 22:16:55 +0000 (22:16 +0000)]
Update.
1999-09-06 Ulrich Drepper <drepper@cygnus.com>
* time/ap.c: Removed. It was not used.
* time/date.c: Likewise.
* sysdeps/unix/nlist.c: Likewise.
* sysdeps/generic/nlist.c: Likewise.
* sysdeps/generic/varargs.h: Likewise.
* stdio-common/scanf11.c: Likewise.
* stdio-common/scanf6.c: Likewise.
* scripts/=__ify: Likewise.
* scripts/printsources: Likewise.
* resolv/getnetnamadr.c: Likewise.
* posix/id.c: Likewise.
* misc/ioctltst.c: Likewise.
* misc/nlist.h: Likewise.
* math/test-math.h: Likewise.
* include/nlist.h: Likewise.
Ulrich Drepper [Mon, 6 Sep 1999 17:03:16 +0000 (17:03 +0000)]
Update.
1999-09-06 Andreas Schwab <schwab@suse.de>
* time/tzset.c (compute_change): Replace slow loop to compute T by
simple algorithm.
Ulrich Drepper [Mon, 6 Sep 1999 07:55:04 +0000 (07:55 +0000)]
Update.
1999-09-06 Ulrich Drepper <drepper@cygnus.com>
* iconvdata/iso-2022-jp.c: When translating to ISO-2022-JP* write
escape sequences out even if the character itself does not fit
into the buffer.
* iconvdata/jis0201.h (ucs4_to_jisx0201): Correct mapping for U005C.
Ulrich Drepper [Sun, 5 Sep 1999 23:34:47 +0000 (23:34 +0000)]
Update.
1999-08-31 H.J. Lu <hjl@gnu.org>
* nscd/nscd_getgr_r.c (nscd_getgr_r): Cleanup the buffer count.
Ulrich Drepper [Sun, 5 Sep 1999 19:37:14 +0000 (19:37 +0000)]
Add comment about add-on numbering.
Roland McGrath [Sun, 5 Sep 1999 08:51:02 +0000 (08:51 +0000)]
add missing #include <unistd.h>
Roland McGrath [Sun, 5 Sep 1999 08:45:28 +0000 (08:45 +0000)]
1999-09-05 Roland McGrath <roland@baalperazim.frob.com>
* hurd/hurdprio.c (_hurd_priority_which_map): If WHO is zero default
it to getpid () for PRIO_PROCESS, geteuid () for PRIO_USER.
Roland McGrath [Sun, 5 Sep 1999 08:44:50 +0000 (08:44 +0000)]
1999-09-05 Roland McGrath <roland@baalperazim.frob.com>
* hurd/hurdprio.c (_hurd_priority_which_map): If WHO is zero default
it to getpid () for PRIO_PROCESS, geteuid () for PRIO_USER.
Ulrich Drepper [Sun, 5 Sep 1999 00:08:27 +0000 (00:08 +0000)]
Update.
1999-09-04 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/getaddrinfo.c: Little optimization.
1999-09-03 Andreas Schwab <schwab@suse.de>
* sysdeps/unix/sysv/linux/syscalls.list: Rename strong name for
fork from __syscall_fork to __libc_fork.
* posix/Versions: Add __libc_fork and __vfork to version
GLIBC_2.1.2.
Ulrich Drepper [Fri, 3 Sep 1999 07:15:09 +0000 (07:15 +0000)]
Update.
1999-08-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* io/ftwtest-sh: Set LC_ALL and LANG to fix locale
dependencies in sort.
1999-09-01 H.J. Lu <hjl@gnu.org>
* sysdeps/unix/sysv/linux/alpha/sys/user.h: New file.
* sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Include
<sys/user.h> instead of <asm/user.h>.
Ulrich Drepper [Thu, 2 Sep 1999 16:37:42 +0000 (16:37 +0000)]
Update.
1999-09-02 Ulrich Drepper <drepper@cygnus.com>
* elf/elf.h: Update PARISC-specific flags and symbolic names.
Ulrich Drepper [Thu, 2 Sep 1999 03:24:12 +0000 (03:24 +0000)]
Update.
1999-09-01 Ulrich Drepper <drepper@cygnus.com>
* elf/elf.h: Update PARISC relocations.
Ulrich Drepper [Wed, 1 Sep 1999 16:37:14 +0000 (16:37 +0000)]
Update.
1999-08-31 Scott Bambrough <scottb@netwinder.org>
* sysdeps/unix/sysv/linux/arm/bits/armsigctx.h: Enclose header in an
#ifdef statement to prevent it from being included twice.
* sysdeps/unix/sysv/linux/arm/sigcontextinfo.h:
#include <bits/armsigctx.h>.
Ulrich Drepper [Tue, 31 Aug 1999 18:42:14 +0000 (18:42 +0000)]
Update.
1999-08-31 Andreas Schwab <schwab@suse.de>
* locale/C-collate.c: Add missing initialisations.
* locale/C-ctype.c: Likewise.
Ulrich Drepper [Tue, 31 Aug 1999 07:40:00 +0000 (07:40 +0000)]
Update.
1999-08-31 Ulrich Drepper <drepper@cygnus.com>
* time/strftime.c (my_strftime): Remove unneeded variable len.
* time/strptime.c: Undo last change.
Ulrich Drepper [Tue, 31 Aug 1999 07:04:41 +0000 (07:04 +0000)]
Update.
* locale/Makefile (distribute): Add iso-639.def and iso-3166.def.
Change charset.h to charmap.h.
(categories): Add new categories. Leave out collate for now.
Update build rules.
* locale/categories.def: Add definitions for new categories.
* locale/langinfo.h: Likewise.
* locale/locale.h: Likewise.
* locale/C-address.c: New file.
* locale/C-identification.c: New file.
* locale/C-measurement.c: New file.
* locale/C-name.c: New file.
* locale/C-paper.c: New file.
* locale/C-telephone.c: New file.
* locale/lc-address.c: Likewise.
* locale/lc-identification.c: Likewise.
* locale/lc-measurement.c: Likewise.
* locale/lc-name.c: Likewise.
* locale/lc-paper.c: Likewise.
* locale/lc-telephone.c: Likewise.
* locale/C-ctype.c: Update for locale rewrite.
* locale/C-messages.c: Likewise.
* locale/C-monetary.c: Likewise.
* locale/C-time.c: Likewise.
* locale/lc-collate.c: Likewise.
* locale/lc-ctype.c: Likewise.
* locale/lc-monetary.c: Likewise.
* locale/lc-time.c: Likewise.
* locale/localeinfo.h: Likewise.
* locale/newlocale.c: Likewise.
* locale/setlocale.c: Likewise.
* locale/weight.h: Likewise.
* locale/findlocale.c: Unconditionally use mmap.
Handle new categories.
* locale/loadlocale.c: Likewise.
* locale/iso-3166.def: New file.
* locale/iso-639.def: New file.
* locale/programs/charmap-kw.gperf: Add new keywords.
* locale/programs/locfile-kw.gperf: Likewise.
* locale/programs/locfile-token.h: Define new tokens.
* locale/programs/charmap.c: Rewrite to handle multibyte charsets.
* locale/programs/charmap.h: New file.
* locale/programs/charset.h: Removed.
* locale/programs/config.h: Add __LC_LAST.
* locale/programs/lc-address.c: New file.
* locale/programs/lc-identification.c: New file.
* locale/programs/lc-measurement.c: New file.
* locale/programs/lc-name.c: New file.
* locale/programs/lc-paper.c: New file.
* locale/programs/lc-telephone.c: New file.
* locale/programs/lc-collate.c: Update for locale rewrite.
* locale/programs/lc-ctype.c: Likewise.
* locale/programs/lc-messages.c: Likewise.
* locale/programs/lc-monetary.c: Likewise.
* locale/programs/lc-numeric.c: Likewise.
* locale/programs/lc-time.c: Likewise.
* locale/programs/locale.c: Likewise.
* locale/programs/localedef.c: Likewise.
* locale/programs/locfile.c: Likewise.
* locale/programs/repertoire.c: Likewise.
* locale/programs/repertoire.h: Likewise.
* locale/programs/locfile.c: Update prototypes.
Update handle_copy definition.
* locale/programs/linereader.c: Add handling of wide char strings and
new definition file syntax.
* locale/programs/linereader.h (struct token): Add elements for wide
character strings.
* locale/programs/locale-spec.c: Disable handling of collation
elements for now.
* locale/programs/simple-hash.h: Cleanup.
* locale/programs/stringtrans.h: Handle quite of end of line.
* string/strcoll.c: Fall back on strcmp for now.
* string/strxfrm.c: Fall back on strncpy/strlen for now.
* time/strftime.c: Use new wide character data for wcsftime.
* time/strptime.c: Remove _nl_C_LC_TIME declaration.
* wctype/cname-lookup.h: Update for new LC_CTYPE data.
Ulrich Drepper [Tue, 31 Aug 1999 01:02:03 +0000 (01:02 +0000)]
Update.
* sysdeps/i386/Makefile [csu]: Define CFLAGS-initfini.s to force
compiling for i386 to avoid i686-like GOT pointer computation.
Ulrich Drepper [Mon, 30 Aug 1999 21:51:29 +0000 (21:51 +0000)]
Update.
* db2/db_int.h: Change tsl_t type to u_int32_t.
* db2/mutex/mutex.c: Allow Alpha mutex definitions.
* db2/mutex/alpha.h: New file.
* db2/mutex/sparc.gcc: Fix store code for v9. Simplify clear code.
* sysdeps/alpha/Makefile [db2]: Set CFLAGS of mutex.c to make spinlocks
known.
Patches by Richard Henderson.
Ulrich Drepper [Mon, 30 Aug 1999 20:15:06 +0000 (20:15 +0000)]
Update.
1999-08-30 Ulrich Drepper <drepper@cygnus.com>
* stdlib/tst-environ.c: Add cast to avoid warning.
* timezone/test-tz.c: Use setenv instead of putenv.
Ulrich Drepper [Mon, 30 Aug 1999 19:30:54 +0000 (19:30 +0000)]
Update.
1999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/libc.texinfo: Update version and date.
* manual/locale.texi (Formatting Numbers): Fix @node pointers.
* manual/filesys.texi (Working with Directory Trees): Add missing @code.
(File System Interface): Correct entry.
(Permission Bits): Add missing commata after @xref.
Ulrich Drepper [Mon, 30 Aug 1999 19:23:56 +0000 (19:23 +0000)]
Update.
1999-08-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* timezone/tst-timezone.c (main): Don't pass const strings to
putenv to avoid warnings.
* posix/regexbug1.c: Include <stdio.h> for puts prototype.
Ulrich Drepper [Mon, 30 Aug 1999 19:23:15 +0000 (19:23 +0000)]
Update.
1999-08-29 Thorsten Kukuk <kukuk@suse.de>
* nis/Versions: Add _nss_*_getipnodebyname_r.
* nis/nss_nis/nis-hosts.c: Add _nss_nis_getipnodebyname_r.
* nis/nss_nisplus/nisplus-hosts.c: Add _nss_nisplus_getipnodebyname_r.
* nss/Versions: Add _nss_files_getipnodebyname_r.
Ulrich Drepper [Mon, 30 Aug 1999 19:07:08 +0000 (19:07 +0000)]
Update.
1999-08-28 H.J. Lu <hjl@gnu.org>
* nscd/nscd_getgr_r.c (nscd_getgr_r): Don't count the alloca'ed
memory for buffer.
Ulrich Drepper [Mon, 30 Aug 1999 18:35:33 +0000 (18:35 +0000)]
Update.
1999-08-27 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/netpacket/packet.h: Update from 2.3.15
kernel.
* inet/netinet/in.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/socket.h: Likewise.
* sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
partially reverting a patch from 1998-12-29. We just can't change
Andreas Schwab [Mon, 30 Aug 1999 08:54:20 +0000 (08:54 +0000)]
Regenerated: autoconf configure.in
Ulrich Drepper [Sat, 28 Aug 1999 22:40:55 +0000 (22:40 +0000)]
Update.
* posix/regexbug1.c: Add one more similar case.
Ulrich Drepper [Sat, 28 Aug 1999 22:34:29 +0000 (22:34 +0000)]
Update.
1999-08-28 Ulrich Drepper <drepper@cygnus.com>
* malloc/malloc.c (ptmalloc_init): Don't use variables to set
thresholds for SUID binaries. [PR libc/1277]
1999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/install.texi (Running make install): Give examples for
timezone and locale installation.
1999-08-28 Zack Weinberg <zack@bitmover.com>
* glibcbug.in: Get CCVERSION from autoconf substitution.
* configure.in: Calculate and substitute CCVERSION.
1999-08-28 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Fix sa_flags,
partially reverting a patch from 1998-12-29. We just can't change
the flags, kernels with different flags lead to
incompatibilities.
Ulrich Drepper [Sat, 28 Aug 1999 00:22:21 +0000 (00:22 +0000)]
Update.
1999-08-26 Andreas Schwab <schwab@suse.de>
* locale/langinfo.h (YESSTR, NOSTR): Still define if __USE_GNU.
Ulrich Drepper [Fri, 27 Aug 1999 21:44:13 +0000 (21:44 +0000)]
Update.
* inet/rexec.c (rexec): Free memory if strings were allocated in
ruserpass. Reported by Andrew Morton <morton@nortelnetworks.com>.
1999-08-27 Ulrich Drepper <drepper@cygnus.com>
Ulrich Drepper [Fri, 27 Aug 1999 19:57:45 +0000 (19:57 +0000)]
Update.
* locale/categories.def: Use __YESSTR amd __NOSTR in definition.
Ulrich Drepper [Fri, 27 Aug 1999 19:52:08 +0000 (19:52 +0000)]
Update.
* manual/ctype.texi: Likewise.
* manual/locale.texi: Likewise.
Ulrich Drepper [Fri, 27 Aug 1999 19:07:12 +0000 (19:07 +0000)]
Update.
* manual/argp.texi: Fixing language and typos.
Ulrich Drepper [Fri, 27 Aug 1999 19:06:58 +0000 (19:06 +0000)]
Update.
1999-08-27 Ulrich Drepper <drepper@cygnus.com>
* manual/argp.texi: Fixing language and types.
* manual/conf.texi: Likewise.
* manual/contrib.texi: Likewise.
* manual/filesys.texi: Likewise.
* manual/install.texi: Likewise.
* manual/job.texi: Likewise.
* manual/lang.texi: Likewise.
* manual/llio.texi: Likewise.
* manual/math.texi: Likewise.
* manual/nss.texi: Likewise.
* manual/pipe.texi: Likewise.
* manual/signal.texi: Likewise.
* manual/socket.texi: Likewise.
* manual/stdio.texi: Likewise.
* manual/sysinfo.texi: Likewise.
* manual/users.texi: Likewise.
Patches by Neil Booth <NeilB@earthling.net>.
Ulrich Drepper [Thu, 26 Aug 1999 06:29:56 +0000 (06:29 +0000)]
Update.
* sysdeps/i386/fpu/bits/mathinline.h (__finite): Mark constant as
unsigned to avoid warning. [PR libc/1271].
* conform/conformtest.pl: Allow testing regex.h which requires
sys/types.h being included.
Ulrich Drepper [Thu, 26 Aug 1999 00:13:21 +0000 (00:13 +0000)]
Update.
* conform/data/regex.h-data: Allow *_t types.
* conform/data/pwd.h-data: Likewise.
* conform/data/sched.h-data: Likewise
* conform/data/pthread.h-data: Likewise.
* conform/data/search.h-data: Likewise.
* misc/search.h: Avoid namespace pollution.
Ulrich Drepper [Wed, 25 Aug 1999 23:53:55 +0000 (23:53 +0000)]
Update.
* conform/conformtest.pl (@headers): Add search.h, sched.h, regex.h,
pwd.h, and pthread.h.
* conform/data/pthread.h-data: New file.
* conform/data/pwd.h-data: New file.
* conform/data/regex.h-data: New file.
* conform/data/sched.h-data: New file.
* conform/data/search.h-data: New file.
* NAMESPACE: Add REG_ for regex.h.
* locale/langinfo.h: Don't define YESSTR and NOSTR for XPG6 since
they are removed.
Ulrich Drepper [Wed, 25 Aug 1999 20:31:24 +0000 (20:31 +0000)]
Update.
* configure.in (libc_cv_asm_global_directive): Indent .text in
test code so that the lame HPUX compiler recognizes it.
* sysdeps/hppa/bits/endian.h: New file.
* sysdeps/unix/sysv/hpux/bits/errno.h: New file.
* sysdeps/unix/sysv/hpux/bits/setjmp.h: New file.
* sysdeps/unix/sysv/hpux/bits/stat.h: New file.
* sysdeps/unix/sysv/hpux/bits/types.h: New file.
Ulrich Drepper [Wed, 25 Aug 1999 18:57:31 +0000 (18:57 +0000)]
Update.
* sysdeps/unix/sysv/sysv4/solaris2/getdents.c: New file.
Patch by John Tobey <jtobey@banta-im.com>.
* sysdeps/unix/sysv/sysv4/solaris2/bits/dirent.h: New file.
Ulrich Drepper [Wed, 25 Aug 1999 18:30:13 +0000 (18:30 +0000)]
Update.
1999-08-25 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/if_index.c (if_nameindex): Move
old_siocfifconf definition to toplevel.
(__protocol_available): Remove old_siocfifconf definition.
Ulrich Drepper [Wed, 25 Aug 1999 17:57:34 +0000 (17:57 +0000)]
Update.
1999-08-25 Mark Kettenis <kettenis@gnu.org>
* sysdeps/unix/sysv/linux/ptsname.c: Add checks to make sure we're
really dealing with a master pseudo terminal, and really returning
the name of the associated slave pseudo terminal by checking the
device number.
* sysdeps/unix/sysv/linux/pty-private.h: Removed.
* login/programs/pt_chown.c (do_pt_chown): Don't use unix98_pseudo_p.
Ulrich Drepper [Wed, 25 Aug 1999 17:47:08 +0000 (17:47 +0000)]
Update.
1999-08-25 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/unix/sysv/linux/mips/syscalls.list: Add missing
underscore in _llseek entry.
* sysdeps/unix/sysv/linux/mips/syscalls.list: Fix typo in execve
entry.
* sysdeps/unix/sysv/linux/bits/errno.h: Fix comment.
* sysdeps/unix/sysv/linux/mips/bits/errno.h: Likewise.
* elf/Makefile ($(objpfx)ld.so): Fix rtld-ldscript dependency.
Patch by Ralf Baechle <ralf@uni-koblenz.de>.
Ulrich Drepper [Wed, 25 Aug 1999 17:19:50 +0000 (17:19 +0000)]
Update.
1999-08-25 Ulrich Drepper <drepper@cygnus.com>
* inet/Makefile (routines): Add getipnodebynm.
* inet/getipnodebynm.c: New file.
* nss/digits_dots.c: If HAVE_TYPE is define type contains the
interface type.
* nss/nss_files/files-XXX.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
EXTRA_ARGS_VALUE is not already done.
(internal_getent): Allow extra parameters and pass them to parse_line.
(_nss_files_get,ENTNAME_r): Pass extra parameters to internal_getent.
(_nss_files_get##name##_r): Likewise.
* nss/nss_files/files-hosts.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL,
and EXTRA_ARGS_VALUE to pass flags and type to parser.
Add getipnodebyname function.
* nss/nss_files/files-parse.c: Define EXTRA_ARGS, EXTRA_ARGS_DECL, and
EXTRA_ARGS_VALUE is not already done.
(parse_line): Add EXTRA_ARGS_DECL to parameter list.
* nss/nss_db/db-XXX.c (lookup): Allow extra parameters and pass them
to parse_line.
(_nss_db_get##name##_r): Pass extra parameters to lookup.
(_nss_db_get,ENTNAME_r): Likewise.
* sysdeps/generic/if_index.c (__protocol_available): New function.
* sysdeps/unix/sysv/linux/if_index.c: Likewise.
Ulrich Drepper [Wed, 25 Aug 1999 06:43:29 +0000 (06:43 +0000)]
Update.
* login/pty-private.h: Move to...
* sysdeps/generic/pty-private.h: ...here.
* sysdeps/unix/sysv/linux/pty-private.h: New file. Linux specific
version.
* login/programs/pt_chown.c (do_pt_chown): Use unix98_pseudo_p is
available.
Ulrich Drepper [Wed, 25 Aug 1999 04:38:09 +0000 (04:38 +0000)]
Update.
* libio/fileops.c (_IO_new_file_xsputn): Use _IO_OVERFLOW instead
of __overflow.
Ulrich Drepper [Wed, 25 Aug 1999 01:33:54 +0000 (01:33 +0000)]
Update.
* conform/conformtest.pl (@headers): Add monetary.h-data,
mqueue.h-data, ndbm.h-data, nl_types.h-data, and poll.h-data.
* conform/data/monetary.h-data: New file.
* conform/data/mqueue.h-data: New file.
* conform/data/ndbm.h-data: New file.
* conform/data/nl_types.h.h-data: New file.
* conform/data/poll.h-data: New file.
Ulrich Drepper [Wed, 25 Aug 1999 00:51:16 +0000 (00:51 +0000)]
Update.
* stdio-common/Makefile (test): Add tst-cookie.
* stdio-common/tst-cookie.c: New file.
Ulrich Drepper [Tue, 24 Aug 1999 22:13:41 +0000 (22:13 +0000)]
Update.
1999-08-24 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/mips/bits/errno.h: Fix EILSEQ value
changed in last patch. Reported by Ralf Baechle.
Ulrich Drepper [Tue, 24 Aug 1999 21:00:04 +0000 (21:00 +0000)]
Update.
* sysdeps/unix/mips/sysdep.h: Use __syscall_error.
* sysdeps/unix/mips/sysdep.S: Rewrite, don't declare errno here.
Patches by Ralf Baechle <ralf@uni-koblenz.de>
1999-08-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
Ulrich Drepper [Tue, 24 Aug 1999 20:56:03 +0000 (20:56 +0000)]
Update.
1999-08-24 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/unix/sysv/linux/net/if_arp.h: Add new constants from
Linux 2.3.15.
Ulrich Drepper [Tue, 24 Aug 1999 20:47:04 +0000 (20:47 +0000)]
Update.
* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add execve
syscall.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
Ulrich Drepper [Tue, 24 Aug 1999 20:40:44 +0000 (20:40 +0000)]
Update.
* misc/libgen.h: Don't take basename macro as taking arguments.
* sysdeps/arm/bits/huge_val.h: Use hexadecimal floating-point constants
for gcc >= 2.95.
* sysdeps/i386/bits/huge_val.h: Likewise.
* sysdeps/i386/bits/huge_val.h: Likewise.
* sysdeps/ieee754/bits/huge_val.h: Likewise.
* sysdeps/m68k/bits/huge_val.h: Likewise.
* sysdeps/sparc/sparc32/fpu/bits/huge_val.h: Likewise.
* sysdeps/sparc/sparc64/fpu/bits/huge_val.h: Likewise.
Ulrich Drepper [Tue, 24 Aug 1999 17:55:34 +0000 (17:55 +0000)]
Update.
1999-08-24 Ulrich Drepper <drepper@cygnus.com>
* conform/Makefile: New file.
* conform/conformtest.pl: New file.
* conform/data/aio.h-data: New file.
* conform/data/assert.h-data: New file.
* conform/data/cpio.h-data: New file.
* conform/data/ctype.h-data: New file.
* conform/data/dirent.h-data: New file.
* conform/data/dlfcn.h-data: New file.
* conform/data/errno.h-data: New file.
* conform/data/fcntl.h-data: New file.
* conform/data/float.h-data: New file.
* conform/data/fmtmsg.h-data: New file.
* conform/data/fnmatch.h-data: New file.
* conform/data/ftw.h-data: New file.
* conform/data/glob.h-data: New file.
* conform/data/grp.h-data: New file.
* conform/data/iconv.h-data: New file.
* conform/data/inttypes.h-data: New file.
* conform/data/iso646.h-data: New file.
* conform/data/langinfo.h-data: New file.
* conform/data/libgen.h-data: New file.
* conform/data/locale.h-data: New file.
* conform/data/math.h-data: New file.
Ulrich Drepper [Mon, 23 Aug 1999 22:22:06 +0000 (22:22 +0000)]
Update.
1999-08-23 Ulrich Drepper <drepper@cygnus.com>
* posix/execvp.c (execvp): Correct copying of file name.
Ulrich Drepper [Mon, 23 Aug 1999 22:20:34 +0000 (22:20 +0000)]
(execvp): Correct copying of file name.
Roland McGrath [Mon, 23 Aug 1999 21:06:00 +0000 (21:06 +0000)]
1999-08-23 Mark Kettenis <kettenis@gnu.org>
* hurd/hurdsig.c (_hurd_internal_post_signal): Add missing else.
* stdio-common/Makefile: Move addition to routines to the right place.
Roland McGrath [Mon, 23 Aug 1999 20:53:42 +0000 (20:53 +0000)]
1999-08-23 Mark Kettenis <kettenis@gnu.org>
* hurd/hurdsig.c (_hurd_internal_post_signal): Add missing else.
Ulrich Drepper [Mon, 23 Aug 1999 17:55:49 +0000 (17:55 +0000)]
Update.
1999-08-23 Ulrich Drepper <drepper@cygnus.com>
* stdio-common/Makefile: Mode addition to routines to the right place.
* sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h: Likewise.
Ulrich Drepper [Mon, 23 Aug 1999 17:53:16 +0000 (17:53 +0000)]
Update.
1999-08-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/unix/sysv/linux/mips/bits/errno.h: New file. Neccessary
since mips*-linux has ECANCELED.
1999-08-23 Andreas Schwab <schwab@suse.de>
* sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h: Define
SIGCONTEXT_EXTRA_ARGS.
* sysdeps/unix/sysv/linux/i386/sigcontextinfo.h: Likewise.
* sysdeps/generic/sigcontextinfo.h: Likewise.
* sysdeps/mach/hurd/i386/sigcontextinfo.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: Likewise.
* sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h:
Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h:
Likewise.
Ulrich Drepper [Mon, 23 Aug 1999 17:31:46 +0000 (17:31 +0000)]
Update.
Ulrich Drepper [Mon, 23 Aug 1999 16:54:35 +0000 (16:54 +0000)]
Update.
1999-08-23 Ulrich Drepper <drepper@cygnus.com>
* posix/regexbug1.c: Make it an error if the test fails.
1999-08-23 Andreas Schwab <schwab@suse.de>
Ulrich Drepper <drepper@cygnus.com>
* posix/regex.c (re_match_2_internal): Correct check for charset
after exactn in loop.
Ulrich Drepper [Mon, 23 Aug 1999 04:08:53 +0000 (04:08 +0000)]
Update.
* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add execve syscall.
* sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
Patch by Joel Klecker.
Ulrich Drepper [Sun, 22 Aug 1999 22:39:16 +0000 (22:39 +0000)]
Update.
1999-08-22 Ulrich Drepper <drepper@cygnus.com>
* iconv/gconv_int.h (GCONV_AVOID_NOCONV): New definition.
(__gconv_find_transform): Update prototype.
(__gconv_open): Likewise.
* iconv/gconv_open.c: Take extra parameter and pass it to
__gconv_find_transform.
* iconv/gconv_db.c (__gconv_find_transform): Take extra parameter with
flags. If GCONV_AVOID_NOCONV flag is set don't return copying
transformation.
* iconv/iconv_open.c: Pass extra parameter to __gconv_open.
* wcsmbs/wcsmbsload.c: Likewise.
* intl/dcgettext.c (_nl_find_msg): Rewrite to use gconv instead of
iconv for glibc.
* intl/gettextP.h: Likewise.
* intl/loadmsgcat.c: Likewise.
* posix/regexbug1.c: New file.
* posix/Makefile (tests): Add regexbug1.
Ulrich Drepper [Sun, 22 Aug 1999 22:28:29 +0000 (22:28 +0000)]
(__gconv_find_transform): Take extra parameter with flags. If GCONV_AVOID_NOCONV flag is set don't return copying transformation.
Roland McGrath [Sun, 22 Aug 1999 22:28:03 +0000 (22:28 +0000)]
1999-08-22 Mark Kettenis <kettenis@gnu.org>
* hurd/new-fd.c (_hurd_new_fd): Initialize fcntl flags.
* hurd/port2fd.c (_hurd_port2fd): Reset the fcntl flags when
installing PORT in the descriptor cell.
1999-08-19 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Mark OPTION and
TIMEOUT as outputs of the asm to indicate that the signal thread
might mutate them.
* hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Short circuit to plain
mach_msg if only sending or only receiving (i.e., not an RPC). When
making an RPC that might get interrupted, save OPTION and the portion
of the message buffer that gets clobbered by an EINTR reply message,
and properly restore them before attempting to retry the request
message send.
Roland McGrath [Sun, 22 Aug 1999 22:23:58 +0000 (22:23 +0000)]
1999-08-19 Roland McGrath <roland@baalperazim.frob.com>
* sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Mark OPTION and
TIMEOUT as outputs of the asm to indicate that the signal thread
might mutate them.
* hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Short circuit to plain
mach_msg if only sending or only receiving (i.e., not an RPC). When
making an RPC that might get interrupted, save OPTION and the portion
of the message buffer that gets clobbered by an EINTR reply message,
and properly restore them before attempting to retry the request
message send.
Ulrich Drepper [Sun, 22 Aug 1999 16:26:00 +0000 (16:26 +0000)]
Update.
1999-08-21 Mark Kettenis <kettenis@gnu.org>
* stdio-common/vfscanf.c [! USE_IN_LIBIO]: Add necessary
definitions for MEMCPY, ISSPACE, ISDIGIT, ISXDIGIT, TOLOWER, L_,
CHAR_T, UCHAR_T and WIN_T to make the code compile again when
stdio is used instead of libio.
* stdio-common/vfprintf.c [! USE_IN_LIBIO]: Add necessary
definitions for CHAR_T, UCHAR_T, INT_T, L_, ISDIGIT, PAD and PUTC
to make the code compile again when stdio is used instead of
libio.
(vfprintf): Only check for correct orientation if ORIENT is
defined.
* stdio-common/Makefile (routines): Only add vfwprintf and
vfwscanf if we're using libio.
1999-08-21 Mark Kettenis <kettenis@gnu.org>
* include/stdio.h [! USE_IN_LIBIO && __need_FILE]: Avoid defining
any additional prototype just as we do for libio.
1999-08-21 Mark Kettenis <kettenis@gnu.org>
* include/bits/xopen_lim.h: Do not define STREAM_MAX and
TZNAME_MAX. These limits are not X/Open specific.
* stdio-common/stdio_lim.h.in: Allow inclusion when __need_IOV_MAX
is defined.
1999-08-21 Mark Kettenis <kettenis@gnu.org>
* Rules: When generated stdio_lim.h, avoid defining IOV_MAX if
UIO_MAXIOV is left undefined in sys/uio.h.
* stdio-common/stdio_lim.h.in: Adapt for change above.
1999-08-21 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/unix/sysv/linux/mips/bits/sigaction.h (SA_RESETHAND): Add it.
* sysdeps/mips/bits/dlfcn.h: Remove SGI specific calls, add RTLD_LOCAL.
Patches by Ralf Baechle <ralf@uni-koblenz.de>
Ulrich Drepper [Sun, 22 Aug 1999 06:09:34 +0000 (06:09 +0000)]
Update.
1999-08-21 Ulrich Drepper <drepper@cygnus.com>
* stdlib/fmtmsg.h: Don't define NULL to keep namespace clean.
Ulrich Drepper [Sat, 21 Aug 1999 04:53:15 +0000 (04:53 +0000)]
Update.
* sysdeps/unix/sysv/linux/execve.c: Define weak alias execve.
Ulrich Drepper [Sat, 21 Aug 1999 04:13:24 +0000 (04:13 +0000)]
Update.
* sysdeps/unix/sysv/linux/init-first.c (init): Remove personality
call. It should not be necessary andis harmful for Alpha.
Ulrich Drepper [Sat, 21 Aug 1999 00:38:15 +0000 (00:38 +0000)]
Update.
* include/iconv.h: New file.
Ulrich Drepper [Sat, 21 Aug 1999 00:37:18 +0000 (00:37 +0000)]
Update.
* include/libintl.h: Declare __dgettext and __dcgettext.
Ulrich Drepper [Fri, 20 Aug 1999 23:44:23 +0000 (23:44 +0000)]
Update.
* sysdeps/posix/getcwd.c: Correct comment saying < 0 is ok for size
type. [PR libc/1269]
Ulrich Drepper [Fri, 20 Aug 1999 19:52:54 +0000 (19:52 +0000)]
Update.
* intl/gettextP.h (struct loaded_domain): Add conv element.
* intl/dcgettext.c (find_msg): Rename to _nl_find_msg and make public.
Instead of returning found message directly convert it using iconv
if a conversion was found when opening the file.
* intl/loadinfo.h: Protect against multiple inclusion.
Declare _nl_find_msg.
* intl/loadmsgcat.c (_nl_load_domain): Try to determine charset used
in the message file and if necessary find approrpiate
conversion to match currently selected charset.
Ulrich Drepper [Fri, 20 Aug 1999 18:07:28 +0000 (18:07 +0000)]
Update.
* sysdeps/unix/sysv/linux/getcwd.c: Allocate buffer large enough
not only if size == 0, but also for size < 0.
* sysdeps/posix/getcwd.c: Likewise. [PR libc/1269]
Ulrich Drepper [Fri, 20 Aug 1999 18:04:45 +0000 (18:04 +0000)]
Update.
* sysdeps/posix/getcwd.c: Allocate buffer large enough not only if
size == 0, but also for size < 0 [PR libc/1269].
Ulrich Drepper [Fri, 20 Aug 1999 17:01:09 +0000 (17:01 +0000)]
Update.
* posix/execvp.c (execvp): Allocate array name of correct size.
Optimize inner loop. Use execve directly, not execv.
Ulrich Drepper [Fri, 20 Aug 1999 16:19:47 +0000 (16:19 +0000)]
Update.
1999-08-20 Ulrich Drepper <drepper@cygnus.com>
* elf/elf.h: Corrected SHT_ values from new draft.
Ulrich Drepper [Fri, 20 Aug 1999 15:49:46 +0000 (15:49 +0000)]
Update.
1999-08-20 Andreas Schwab <schwab@suse.de>
* sysdeps/unix/sysv/linux/sys/sendfile.h: Fix typo.
Ulrich Drepper [Fri, 20 Aug 1999 00:41:06 +0000 (00:41 +0000)]
Update.
* sysdeps/unix/sysv/linux/execve.c: New file. This version terminates
all threads [PR libc/1223].
Ulrich Drepper [Fri, 20 Aug 1999 00:31:08 +0000 (00:31 +0000)]
Update.
* elf/rtld.c (_dl_start): Initialize bootstrap_map.l_info to zero.
[PR libc/1165].
Ulrich Drepper [Fri, 20 Aug 1999 00:11:57 +0000 (00:11 +0000)]
Update.
* Versions: Export __pthread_kill_other_threads_np from libpthread
for GLIBC_2.1.2.
Ulrich Drepper [Thu, 19 Aug 1999 22:59:36 +0000 (22:59 +0000)]
Update.
* configure.in: Search for programs with prefix gnu* and g* first.
[PR libc/1104].
Ulrich Drepper [Thu, 19 Aug 1999 20:57:48 +0000 (20:57 +0000)]
Update.
* dirent/Makefile (routines): Add getdents64.
* sysdeps/unix/sysv/linux/Makefile [dirent] (sysdep_routines):
Remove getdents64.
* dirent/dirent.h: Redirect getdirentries to getdirentries64 if
compiled with _FILE_OFFSET_BITS=64.
* sysdeps/generic/getdents64.c: New file.
* sysdeps/unix/sysv/linux/getdirentries.c: Also redefine off_t and
__lseek for getdirentries64 definition.
* sysdeps/unix/sysv/linux/llseek.c: Make __lseek64 a strong alias.
* sysdeps/unix/sysv/linux/sys/sendfile.h: Don't allow use with
_FILE_OFFSET_BITS=64.
Ulrich Drepper [Thu, 19 Aug 1999 20:23:58 +0000 (20:23 +0000)]
Update.
* sysdeps/unix/bsd/telldir.c (seekdir): Correct type of second
parameter.
* sysdeps/generic/setenv.c (__add_to_environ): Initialize ep
after we have the lock.
Ulrich Drepper [Thu, 19 Aug 1999 20:05:08 +0000 (20:05 +0000)]
Update.
1999-08-19 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/generic/setenv.c: Update(__add_to_environ): Initialize
ep after we have the lock.
* sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h: New file.
Patch by Richard Henderson.
Ulrich Drepper [Thu, 19 Aug 1999 18:35:13 +0000 (18:35 +0000)]
Update.
1999-08-19 Ulrich Drepper <drepper@cygnus.com>
* signals.c: Pass sigcontext through wrapper to the user function.
Ulrich Drepper [Thu, 19 Aug 1999 16:47:42 +0000 (16:47 +0000)]
Update.
1999-08-19 Andreas Schwab <schwab@suse.de>
* libio/iovswscanf.c (vswscanf): Make stream unoriented initially
and call _IO_fwide, to get the wide stream state initialized
correctly. Don't set _IO_JUMPS.
* libio/vsnprintf.c (_IO_vsnprintf): Avoid casts to _IO_FILE *.
* libio/vswprintf.c (_IO_vswprintf): Likewise. Pass
_IO_wstrn_jumps to _IO_no_init instead of setting _IO_WIDE_JUMPS
directly.
1999-08-19 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* math/libm-test.c (jn_test): Fix typo in description.
(erfc_test): Add some more tests.
(erf_test): Add some more tests.
1999-08-19 Andreas Schwab <schwab@suse.de>
* csu/Makefile ($(objpfx)initfini.s): Replace $(no-exceptions) by
expression using $(exceptions).
Ulrich Drepper [Wed, 18 Aug 1999 23:21:04 +0000 (23:21 +0000)]
Update.
* sysdeps/generic/setenv.c: Avoid warning about uninitialized variable.
Ulrich Drepper [Wed, 18 Aug 1999 23:05:23 +0000 (23:05 +0000)]
Update.
* libio/fileops.c (_IO_file_xsgetn): Allocate buffer if none is
allocated so far. [PR libc/1261].
Ulrich Drepper [Wed, 18 Aug 1999 21:44:36 +0000 (21:44 +0000)]
Update.
* math/libm-test.c (j0_test): Adjust deltas for m68k.
(jn_test): Likewise.