Commit Graph

3822 Commits

Author SHA1 Message Date
Ulrich Drepper
87372aa9cf Update.
1999-11-21  Ulrich Drepper  <drepper@cygnus.com>

	* locale/programs/ld-ctype.c (ctype_read): Correctly implement
	14652-style definition of new maps and classes.
1999-11-21 18:11:05 +00:00
Ulrich Drepper
a223631664 Update.
* locale/programs/ld-monetary.c (monetary_finish): Don't print
	individual error message if nothing is defined.
1999-11-21 06:51:06 +00:00
Ulrich Drepper
1ceb8afe3d Update.
* locale/programs/ld-time.c (time_startup): Test for lr being
	nonzero, not time.

	* locale/programs/ld-numeric.c (numeric_finish): Don't crash if
	decimal_point is not defined.
1999-11-21 06:02:35 +00:00
Ulrich Drepper
bece1bc4ec Update.
* wctype/wctrans.c (wctrans): Use correct base index to access
	extra mapping tables.

	* locale/loadlocale.c (_nl_load_locale): Use actual number of
	entries from file and not the fixed (minimal number from the
	langinfo.h list.
1999-11-20 23:27:27 +00:00
Ulrich Drepper
9e2b7438ec Update.
1999-11-20  Ulrich Drepper  <drepper@cygnus.com>

	* locale/programs/ld-ctype.c (ctype_read): Fix reading of <U....>
	values in charmaps.
1999-11-20 17:42:38 +00:00
Ulrich Drepper
6324a838a3 Update.
1999-11-18  Paul Eggert  <eggert@twinsun.com>

	* time/strftime.c (my_strftime): Some old compilers object to
	'\a', so don't bother optimizing for it.
1999-11-20 05:23:03 +00:00
Ulrich Drepper
602b6b0fe4 Update.
* sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Don't modify
	the rlimits structure passed in.

1999-11-19  Andreas Jaeger  <aj@suse.de>

	* include/sys/resource.h (__setrlimit): Add prototype.

1999-11-19  Ulrich Drepper  <drepper@cygnus.com>
1999-11-20 05:08:30 +00:00
Ulrich Drepper
228589d285 Update.
1999-11-19  Ulrich Drepper  <drepper@cygnus.com>

	* elf/dl-load.c (_dl_init_paths): Allocate correct number of
	entries for rtld_search_dirs[0].
	Patch by David Mosberger <davidm@hpl.hp.com>.
1999-11-20 02:25:52 +00:00
Ulrich Drepper
011ebfaba7 Update.
* locale/programs/ld-ctype.c: Don't predefine the character
	classes and mappings of ISO 14652.
1999-11-19 04:20:49 +00:00
Ulrich Drepper
450f46015d Update.
* locale/programs/ld-ctype.c: Punt if character class definitions
	to not consists of tok_bsymbol (for now).
1999-11-18 23:56:36 +00:00
Ulrich Drepper
2be86203ea Update.
1999-11-18  Ulrich Drepper  <drepper@cygnus.com>

	* time/strptime.c (day_of_the_week): Make sure result is never
	negative.
	(strptime_internal): Allow %C without %y.

	* wctype/wctrans.c: Fix after removal of second endianess table.
	(strptime_internal): day_of_the_week() requres both tm_mon and
	tm_mday to be initialized.
	Compute them first if they are not given.
1999-11-18 21:47:20 +00:00
Ulrich Drepper
1503837c6a Update.
1999-11-18  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/linux_fsinfo.h: Sorted entries and added
	comments.

	* sysdeps/unix/sysv/linux/getpt.c: Include linux_fsinfo.h instead
	of defining *_SUPER_MAGIC.
	* sysdeps/unix/sysv/linux/grantpt.c: Likewise.
1999-11-18 16:42:11 +00:00
Ulrich Drepper
643e9936eb Update.
1999-11-18  Ulrich Drepper  <drepper@cygnus.com>

	* locale/programs/locale.c: Don't handle LC_ALL together with the
	other categories when printing the value.
	Patch by Akira YOSHIYAMA <yosshy@tkf.att.ne.jp>.

	* locale/locale.h: Correct comment about LC_ALL.
1999-11-18 16:25:42 +00:00
Ulrich Drepper
5491da0dfa Update.
* locale/programs/ld-ctype.c (ctype_output): Correct computation of
	nelems.  Correctly compute index for additional character classes.
	(ctype_read): Handle charclass and charconv definitions.  Also
	recognize arbitrary strings as mapping names.
	* locale/programs/ld-time.c (time_finish): Correctly skip over wide
	character era strings.
	* locale/lc-time.c (_nl_get_era_entry): Correctly skip era name
	and format for wide characters.
	* time/strftime.c: Correctly determine era information for wide
	wcsftime.
	* wctrans.c: Fix after removal of second endianess table.
	* wctype/wctype.h (_ISwbit): Correctly handle bits > 16.
	Patches by Shinya Hanataka <hanataka@abyss.rim.or.jp>.

	* wcsmbs/wcwidth.h (internal_wcwidth): Reject non-printable characters.
1999-11-18 07:22:53 +00:00
Ulrich Drepper
35946fb706 Update.
* wcsmbs/wcswidth.c (wcswidth): Don't forget to decrement counter n.
1999-11-18 02:59:57 +00:00
Ulrich Drepper
404127bca0 Update.
* sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove greg_t,
	gregset_t, fpregset_t, and NGREG definitions.
1999-11-18 00:34:12 +00:00
Ulrich Drepper
827ff7580a Update.
1999-11-17  Ulrich Drepper  <drepper@cygnus.com>

	* locale/programs/ld-ctype.c: Implement character width information
	handling.
1999-11-17 23:06:37 +00:00
Ulrich Drepper
9c9f3b1785 Update.
1999-11-09  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/grantpt.c (grantpt): Add support for devfs.

	* sysdeps/unix/sysv/linux/getpt.c (__getpt): Check for devfs.
	Patch by German Jose Gomez Garcia <german@pinon.ccu.uniovi.es>.

	* sysdeps/unix/sysv/linux/linux_fsinfo.h (DEVFS_SUPER_MAGIC): Added.
1999-11-17 20:37:54 +00:00
Ulrich Drepper
eccb7fb492 Update.
1999-11-17  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/gnu/netinet/tcp.h: Add TCP_CORK definition.
1999-11-17 20:31:26 +00:00
Ulrich Drepper
844633d14b Update.
1999-11-07  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: New file with some
	defines from Linux scsi_ioctl.h header.

	* sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Added
	scsi_ioctl.h.
	* sysdeps/unix/sysv/linux/Dist: Likewise.

	* sysdeps/unix/sysv/linux/scsi/sg.h: Synced with Linux 2.3.26;
	pretty printed.

	* sysdeps/unix/sysv/linux/scsi/scsi.h (TYPE_ENCLOSURE): Added to
	sync with Linux 2.3.26.
1999-11-17 19:55:01 +00:00
Ulrich Drepper
a46b664848 Update.
1999-11-17  Andreas Jaeger  <aj@suse.de>

	* shlib-versions: Allow mipsel for libm.
	Patch by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1999-11-17 18:54:28 +00:00
Ulrich Drepper
6e8afc1cd3 Update.
1999-11-16  Andreas Jaeger  <aj@suse.de>

	* math/fenv.h: Fix typos in comments.  Reported by Andreas Schwab.
1999-11-17 18:52:42 +00:00
Ulrich Drepper
96f0d1f51a Update.
* locale/programs/ld-ctype.c (set_class_defaults): Set default
	value for alpha and alnum correctly.
1999-11-16 23:00:29 +00:00
Ulrich Drepper
e48492aebc Update.
1999-11-16  Ulrich Drepper  <drepper@cygnus.com>

	* locale/programs/ld-address.c (address_output): Fix output of
	country_num.
1999-11-16 20:13:48 +00:00
Ulrich Drepper
26d0779d7e Update.
1999-11-15  Ulrich Drepper  <drepper@cygnus.com>

	* timezone/asia: Update from tzdata1999j.
	* timezone/australasia: Likewise.
	* timezone/europe: Likewise.
	* timezone/northamerica: Likewise.
	* timezone/southamerica: Likewise.
	* timezone/zone.tab: Likewise.
1999-11-16 00:40:21 +00:00
Ulrich Drepper
ad328346a8 Update.
* sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1999-11-15 08:05:06 +00:00
Ulrich Drepper
742367ceb1 Update.
1999-11-14  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/sys/procfs.h: Remove duplicate definitions.
	* sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
	* sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
	* sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Likewise.
1999-11-15 08:01:59 +00:00
Ulrich Drepper
09b88f8ab8 Update.
1999-11-15  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
	__syscall_setrlimit.
	* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.

	* Versions.def: Remove predecessors.  They now get computed.
1999-11-15 07:34:59 +00:00
Ulrich Drepper
da6d7d3838 Update.
* scripts/versions.awk: Don't expect to read predecessor versions,
	compute them.
	* Versions.def: Remove predecessors.  They get now computed.

1999-11-14  Ulrich Drepper  <drepper@cygnus.com>

	Patches by Franz Sirl <Franz.Sirl@lauterbach.com>.
1999-11-15 07:01:16 +00:00
Ulrich Drepper
cd4c4a2cd6 Update.
Patches by Franz Sirl <Franz.Sirl@lauterback.com>.
1999-11-15 00:16:51 +00:00
Ulrich Drepper
8ba4e594c5 Update.
1999-11-14  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/execve.c: Add __syscall_execve prototype.
	* sysdeps/unix/sysv/linux/setrlimit.c: Add __syscall_setrlimit
	prototype.
	* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add setrlimit.
	* sysdeps/powerpc/stackinfo.h: New file.
1999-11-15 00:13:42 +00:00
Ulrich Drepper
589e57a9df Add __syscall_execve prototype. 1999-11-15 00:06:32 +00:00
Roland McGrath
0bd019279b * Versions.def (libc): Move GLIBC_2.2 dependency from GLIBC_2.1.1 to
GLIBC_2.1.3.

1999-11-13  Roland McGrath  <roland@baalperazim.frob.com>
1999-11-13 23:52:38 +00:00
Roland McGrath
28f08f3fd1 1999-11-13 Roland McGrath <roland@baalperazim.frob.com>
* hurd/Versions (GLIBC_2.1.3): Define, adding directory_name_split and
	hurd_directory_name_split.
	* Versions.def (libc): Add GLIBC_2.1.3.

1999-11-09  Roland McGrath  <roland@baalperazim.frob.com>

	* hurd/report-wait.c (describe_port): Return char * and use __stpcpy
	to return the location of the null byte written into the string.
	(describe_number): Likewise.
	(describe_number): Remove assert, not always used with #.
	If FLAVOR is null, don't use it.
	(describe_number): Take signed argument and print a - if negative.
	(_S_msg_report_wait): Report system call number for system calls that
	aren't mach_msg.  Soup up reporting for mach_msg: If destination port
	matches SS->intr_port, bracket port description with [...] to indicate
	a Hurd interruptible RPC; if destination port is null, examine the
	receive port and report that state; if receive port is also null,
	check for timeout and report its value.
	* sysdeps/mach/hurd/i386/intr-msg.h (MSG_EXAMINE): Return int that is
	zero iff we managed to examine the stack; take new args RCV_NAME,
	SEND_NAME, OPTION, and TIMEOUT to fill in with mach_msg args.

	* hurd/report-wait.c (describe_port): Recognize MACH_PORT_NULL and
	MACH_PORT_DEAD specially.

1999-10-04  Roland McGrath  <roland@baalperazim.frob.com>

	* hurd/hurdlookup.c (__hurd_directory_name_split): New function.
	(__directory_name_split): New function.
	* hurd/hurd.h: Declare them.
	* sysdeps/mach/hurd/rmdir.c: Use __directory_name_split instead of
	__file_name_split, so we ignore trailing slashes properly.
	* sysdeps/mach/hurd/rename.c: Likewise.
1999-11-13 23:46:56 +00:00
Ulrich Drepper
54f4f73e26 Update.
1999-11-13  Thorsten Kukuk  <kukuk@suse.de>

	* sysdeps/unix/sysv/linux/sparc/bits/signum.h: Add SIGPWR define
	from current kernel headers.

	* sunrpc/key_call.c: Use /usr/etc/keyenvoy only if we don't have
	SO_PASSCRED defined.
1999-11-13 18:04:57 +00:00
Ulrich Drepper
78bba25cdf Update.
* locale/C-ctype.c: Fix typo in char class name.
1999-11-13 07:40:27 +00:00
Ulrich Drepper
269e369fa6 Update.
1999-11-12  Ulrich Drepper  <drepper@cygnus.com>

	* configure.in: Allow user so specify --enable-kernel=current.
1999-11-13 05:14:32 +00:00
Ulrich Drepper
932ba4ee94 Update.
* charmaps/ISO-8859-7: Fix 0xa1 mapping.
1999-11-12 23:31:39 +00:00
Ulrich Drepper
f7a8a904b6 Update.
1999-11-12  Ulrich Drepper  <drepper@cygnus.com>

	* charmaps/ISO-8859-13: Fix a few entries.
	Patch by Marius Gedminas <mgedmin@takas.lt>.
1999-11-12 23:11:22 +00:00
Ulrich Drepper
a680290af8 Update.
1999-11-12  Thorsten Kukuk  <kukuk@suse.de>

	* nis/nss_nisplus/nisplus-publickey.c: Check for snprintf return value.

	* sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Follow changes from
	i386 version.
	* sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise.
	* sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
	* sysdeps/unix/sysv/linux/sys/procfs.h: Likewise.

	Closes PR libc/1438.
1999-11-12 21:27:41 +00:00
Ulrich Drepper
7eafba908e Update.
1999-11-12  Ulrich Drepper  <drepper@cygnus.com>

	* intl/locale.alias: Add Estonian entries.
	Patch by Marko Kreen <marko@et.ee> [PR libc/1444].
1999-11-12 17:40:26 +00:00
Ulrich Drepper
05ef7ce90d Update.
1999-11-02  Andreas Jaeger  <aj@suse.de>

	* Versions.def: Add version GLIBC_2.2 for libm.
	* math/fenv.h: Add prototypes for fegetexcept, feenableexcept and
	fedisableexcept.
	* sysdeps/generic/feenablxcpt.c: Stub file.
	* sysdeps/generic/fedisblxcpt.c: Stub file.
	* sysdeps/generic/fegetexcept.c: Stub file.
	* sysdeps/i386/fpu/fedisblxcpt.c: New file.
	* sysdeps/i386/fpu/feenablxcpt.c: New file.
	* sysdeps/i386/fpu/fegetexcept.c: New file.
	* math/Makefile (libm-support): Add new files.
	* math/Versions: Add new functions with version GLIBC_2.2.
	* manual/arith.texi (Control Functions): Document fegetexcept,
	feenableexcept and fedisableexcept.
1999-11-12 17:23:30 +00:00
Ulrich Drepper
b2f46c3c0e Update.
1999-11-01  Wolfram Gloger  <wg@malloc.de>

	* malloc/malloc.h: Describe __malloc_initialize_hook.
	* manual/memory.texi: Document __malloc_initialize_hook.

	* sysdeps/unix/sysv/linux/setrlimit.c: Correctly use rlimits.
1999-11-12 17:15:18 +00:00
Ulrich Drepper
e78c8e4c26 Update.
1999-11-11  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/setrlimit.c: COrrectly use rlimits.

1999-11-09  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin
	implementation for ttyname_r call; fix inverted condition; return
	ut_user.
        Closes PR libc/1438.
1999-11-11 18:36:55 +00:00
Ulrich Drepper
7ad6d73d6f Update.
* math/fenv.h: Include bits/fenvinline.h if optimizing.
	* sysdeps/powerpc/fpu/bits/fenv.h: Remove inline functions.  Moved to..
	* sysdeps/powerpc/fpu/bits/fenvinline.h: ...here.  New file.
	* sysdeps/generic/bits/fenv.h: New file.

1999-11-10  Ulrich Drepper  <drepper@cygnus.com>
1999-11-11 01:05:26 +00:00
Ulrich Drepper
1fc6f81397 Update.
1999-11-10  Ulrich Drepper  <drepper@cygnus.com>

	* misc/tst-efgcvt.c (output_r_error): Remove extra parameter to
	printf call.
1999-11-10 18:00:33 +00:00
Ulrich Drepper
c9e17a9c30 Update.
* misc/tst-efgcvt.c: Also test ecvt_r and fcvt_r.

1999-11-10  Andreas Jaeger  <aj@suse.de>
1999-11-10 17:55:03 +00:00
Ulrich Drepper
b9d3d9f726 Update.
1999-11-10  Andreas Jaeger  <aj@suse.de>

	* string/strsignal.c (strsignal): Correct check for snprintf
	return value.
	* argp/argp-fmtstream.c (__argp_fmtstream_printf): Likewise.

	* misc/efgcvt_r.c (APPEND): Correct check for too small buffer
	according to changed snprintf return value.
	Reported by Lawrence K. Chen <lchen@opentext.com>.

	* misc/tst-efgcvt.c (special): Add tests for a too small buffer
	for ecvt_r and fcvt_r.
1999-11-10 08:15:19 +00:00
Ulrich Drepper
2864e76705 Update.
1999-11-09  Ulrich Drepper  <drepper@cygnus.com>

	* elf/dl-load.c (_dl_dst_count): Allow $ORIGIN to point to
	directory with the reference since this is as secure as using the
	object with the dependency.
	(_dl_dst_substitute): Likewise.

	* elf/dl-load.c (_dl_dst_count): Change strings in first two
	strncmp calls to allow reuse.
	(_dl_dst_substitute): Likewise.

1999-11-01  Arnold D. Robbins  <arnold@skeeve.com>

	* posix/regex.c (init_syntax_once): move below definition of
	ISALNUM etc., then use ISALNUM to init the table, so that
	the word ops will work if i18n'ed.
	(SYNTAX): And subscript with 0xFF for 8bit character sets.

1999-11-09  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/getlogin_r.c (getlogin_r): Sync with getlogin
	implementation for ttyname_r call; fix inverted condition; return
	ut_user.  Closes PR libc/1438.

1999-11-09  Ulrich Drepper  <drepper@cygnus.com>

	* timezone/checktab.awk: Update from tzcode1999h.
	* timezone/africa: Update from tzdata1999i.
	* timezone/asia: Likewise.
	* timezone/australasia: Likewise.
	* timezone/backward: Likewise.
	* timezone/europe: Likewise.
	* timezone/northamerica: Likewise.
	* timezone/southamerica: Likewise.
	* timezone/iso3166.tab: Likewise.
	* timezone/zone.tab: Likewise.

	* sysdeps/unix/sysv/linux/bits/resource.h: Define values also as
	macros.  Patch by brg@csua.berkeley.edu [PR libc/1439].

1999-11-09  Andreas Jaeger  <aj@suse.de>

	* posix/Makefile (tests): Added tst-getlogin.

	* posix/tst-getlogin.c: New file, contains simple tests for
	getlogin and getlogin_r.

1999-11-09  Andreas Schwab  <schwab@suse.de>

	* misc/syslog.c: For LOG_PERROR only append a newline if
	necessary.
1999-11-10 02:42:49 +00:00
Ulrich Drepper
f2b9733fd6 Update.
1999-11-08  Ulrich Drepper  <drepper@cygnus.com>

	* elf/elf.h: Add STT_REGISTER, STT_HP_OPAQUE, and STT_ST_STUB
	definitions.
1999-11-09 04:02:41 +00:00