Commit Graph

3514 Commits

Author SHA1 Message Date
Ulrich Drepper 4a33c2f55e Update.
1999-09-13  Ulrich Drepper  <drepper@cygnus.com>

	* locale/langinfo.h: Remove byte-order dependent names.
	* locale/categories.def: Update after removal of byte-order dependent
	names.
	* locale/loadlocale.c (_nl_load_locale): Don't allow locale files
	with magic number in other byte order.
	* locale/newlocale.c (__newlocale): Remove byte-order dependent code.
	* locale/C-collate.c: Remove initializers for other byte-order.
	* locale/C-ctype.c: Likewise.
	* locale/C-monetary.c: Likewise.
	* locale/C-paper.c: Likewise.
	* locale/C-time.c: Likewise.
	* locale/lc-collate.c: Remove byte-order oriented initialization.
	* locale/lc-ctype.c: Likewise.
	* locale/lc-monetary.c: Likewise.
	* locale/lc-time.c: Likewise.
	* locale/programs/ld-address.c: Don't generate output in both
	byte-orders.
	* locale/programs/ld-ctype.c: Likewise.
	* locale/programs/ld-paper.c: Likewise.
	* locale/programs/ld-time.c: Likewise.
	* time/strftime.c (NLW): Don't use different byte-orders.
	* wctype/cname-lookup.h (cname_lookup): Likewise.

	* Makeconfig (localedir): Define using libdir, not datadir.
	(msgcatdir): New variable.
	* catgets/Makefile (CPPFLAGS): Define NLSPATH using msgcatdir.
	* elf/Makefile (bash-ldd-rewrite): Replace @TEXTDOMAINDIR@ using
	msgcatdir.
	* intl/Makefile (install-others): Install locale.alias in msgcatdir.
	(CPPFLAGS): Define paths using msgcatdir.
	* locale/Makefile (CPPFLAGS): Define LOCALE_ALIAS_PATH using msgcatdir.
	* po/Makefile (mo-installed): Define using msgcatdir.

	* sysdeps/unix/sysv/linux/net/if_arp.h: Fix typo.
1999-09-13 09:07:36 +00:00
Ulrich Drepper 3e95f6602b Update.
* stdio-common/vfprintf.c: Remove limitation on size of precision
	for integers.
1999-09-12 21:23:32 +00:00
Ulrich Drepper 7814856974 Update.
* posix/fnmatch.c (internal_fnmatch): Make it compilable outside
	glibc by defining internal_function if it isn't already.
1999-09-12 19:34:34 +00:00
Ulrich Drepper a0bf6ac732 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>.
1999-09-12 19:24:42 +00:00
Ulrich Drepper 9e5dcaa88c Update.
* locale/programs/locales.h: Removed.
1999-09-12 08:30:57 +00:00
Ulrich Drepper b9eb05d6bf 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.
1999-09-12 08:28:56 +00:00
Ulrich Drepper 0f0e233c0e Update.
* elf/elf.h (SHF_MASKOS): Added.
1999-09-11 02:23:08 +00:00
Ulrich Drepper 8fc1e2ca91 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>
1999-09-10 20:00:21 +00:00
Ulrich Drepper 6833780818 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.
1999-09-10 19:43:01 +00:00
Ulrich Drepper ec6275c0b7 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.
1999-09-10 19:04:08 +00:00
Ulrich Drepper 766d2fcacd 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.
1999-09-07 18:20:51 +00:00
Ulrich Drepper 8bf0fdaf7e Update.
* sysdeps/unix/sysv/linux/alpha/Dist: Add sys/user.h.
1999-09-07 01:41:37 +00:00
Ulrich Drepper 39d31947cf 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.
1999-09-06 22:16:55 +00:00
Ulrich Drepper 7fcc87f467 Update.
1999-09-06  Andreas Schwab  <schwab@suse.de>

	* time/tzset.c (compute_change): Replace slow loop to compute T by
	simple algorithm.
1999-09-06 17:03:16 +00:00
Ulrich Drepper 07c7a0552a 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.
1999-09-06 07:55:04 +00:00
Ulrich Drepper bd952512ea Update.
1999-08-31  H.J. Lu  <hjl@gnu.org>

	* nscd/nscd_getgr_r.c (nscd_getgr_r): Cleanup the buffer count.
1999-09-05 23:34:47 +00:00
Ulrich Drepper 5bb17dca42 Add comment about add-on numbering. 1999-09-05 19:37:14 +00:00
Roland McGrath f7db9ce5e1 add missing #include <unistd.h> 1999-09-05 08:51:02 +00:00
Roland McGrath 9024032c43 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.
1999-09-05 08:45:28 +00:00
Roland McGrath 1a658b79cf 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.
1999-09-05 08:44:50 +00:00
Ulrich Drepper 4fe53b3aba 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.
1999-09-05 00:08:27 +00:00
Ulrich Drepper 9cb6e8783c 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>.
1999-09-03 07:15:09 +00:00
Ulrich Drepper f01a6a0879 Update.
1999-09-02  Ulrich Drepper  <drepper@cygnus.com>

	* elf/elf.h: Update PARISC-specific flags and symbolic names.
1999-09-02 16:37:42 +00:00
Ulrich Drepper fa53da1741 Update.
1999-09-01  Ulrich Drepper  <drepper@cygnus.com>

	* elf/elf.h: Update PARISC relocations.
1999-09-02 03:24:12 +00:00
Ulrich Drepper 86352425c2 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>.
1999-09-01 16:37:14 +00:00
Ulrich Drepper 52bc074fec Update.
1999-08-31  Andreas Schwab  <schwab@suse.de>

	* locale/C-collate.c: Add missing initialisations.
	* locale/C-ctype.c: Likewise.
1999-08-31 18:42:14 +00:00
Ulrich Drepper a4f4b72b80 Update.
1999-08-31  Ulrich Drepper  <drepper@cygnus.com>

	* time/strftime.c (my_strftime): Remove unneeded variable len.

	* time/strptime.c: Undo last change.
1999-08-31 07:40:00 +00:00
Ulrich Drepper 4b10dd6c19 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.
1999-08-31 07:04:41 +00:00
Ulrich Drepper 1d1740d6b1 Update.
* sysdeps/i386/Makefile [csu]: Define CFLAGS-initfini.s to force
	compiling for i386 to avoid i686-like GOT pointer computation.
1999-08-31 01:02:03 +00:00
Ulrich Drepper 9a93ac006d 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.
1999-08-30 21:51:29 +00:00
Ulrich Drepper 0742e50134 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.
1999-08-30 20:15:06 +00:00
Ulrich Drepper b78513132b 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.
1999-08-30 19:30:54 +00:00
Ulrich Drepper 10b918574f 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.
1999-08-30 19:23:56 +00:00
Ulrich Drepper 1e275b9e9b 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.
1999-08-30 19:23:15 +00:00
Ulrich Drepper 74bced63c5 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.
1999-08-30 19:07:08 +00:00
Ulrich Drepper fcb8e79c9d 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
1999-08-30 18:35:33 +00:00
Andreas Schwab beefeafb96 Regenerated: autoconf configure.in 1999-08-30 08:54:20 +00:00
Ulrich Drepper cd61d12cbc Update.
* posix/regexbug1.c: Add one more similar case.
1999-08-28 22:40:55 +00:00
Ulrich Drepper d01d63190b 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.
1999-08-28 22:34:29 +00:00
Ulrich Drepper a125d9b46e Update.
1999-08-26  Andreas Schwab  <schwab@suse.de>

	* locale/langinfo.h (YESSTR, NOSTR): Still define if __USE_GNU.
1999-08-28 00:22:21 +00:00
Ulrich Drepper 8a3c844357 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>
1999-08-27 21:44:13 +00:00
Ulrich Drepper 4744a4116a Update.
* locale/categories.def: Use __YESSTR amd __NOSTR in definition.
1999-08-27 19:57:45 +00:00
Ulrich Drepper 6dd5b57e8b Update.
* manual/ctype.texi: Likewise.
	* manual/locale.texi: Likewise.
1999-08-27 19:52:08 +00:00
Ulrich Drepper 2e8a853b6c Update.
* manual/argp.texi: Fixing language and typos.
1999-08-27 19:07:12 +00:00
Ulrich Drepper 04b9968b39 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>.
1999-08-27 19:06:58 +00:00
Ulrich Drepper 77faa35416 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.
1999-08-26 06:29:56 +00:00
Ulrich Drepper b395c02de7 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.
1999-08-26 00:13:21 +00:00
Ulrich Drepper 7f42d3dd6f 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.
1999-08-25 23:53:55 +00:00
Ulrich Drepper 050838a491 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.
1999-08-25 20:31:24 +00:00
Ulrich Drepper 01c771d0ac 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.
1999-08-25 18:57:31 +00:00