Commit Graph

1664 Commits

Author SHA1 Message Date
Ulrich Drepper
eb4063467c Update.
1998-05-04 12:40  Ulrich Drepper  <drepper@cygnus.com>

	* malloc/malloc.c (ptmalloc_init_all): New function.  Similar to
	ptmalloc_unlock_all, but re-initializes the mutexes instead.
	(ptmalloc_init): Use new function in thread_at_fork call.
	(thread_atfork_static): Likewise.
	Suggested by Wolfram Gloger and Xavier Leroy.
1998-05-04 13:19:20 +00:00
Ulrich Drepper
15f32e7b79 Update.
1998-05-04  Ulrich Drepper  <drepper@cygnus.com>

	* signal/signal.h: Move definitions of struct sigstack and
	struct sigaltstack into separate file and include it.
	* sysdeps/generic/bits/sigstack.h: New file.
	* sysdeps/unix/sysv/linux/bits/sigstack.h: New file.
	* signal/Makefile (headers): Add bits/sigstack.h.

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

	* elf/rtld.c (dl_main): Fix check for number of references to
	interpreter object.

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

	* elf/rtld.c (dl_main): Check has_interp after executing platform
	specific code.

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

	* iconvdata/run-iconv-test.sh: Fix typo.

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

	* Makerules (+depfiles): Add depfiles for $(tests-static).
	Simplified.

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

	* manual/terminal.texi (Special Characters): Fix description of
	c_cc indexes.

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

	* sysdeps/unix/sysv/linux/tcsetattr.c: Use memcpy to copy the c_cc
	array.
	* sysdeps/unix/sysv/linux/tcgetattr.c: Likewise.  Initialize rest
	of c_cc array.
1998-05-04 11:38:48 +00:00
Ulrich Drepper
97a4786792 Update.
1998-04-30 14:15  Zack Weinberg  <zack@rabi.phys.columbia.edu>

	* sysdeps/unix/sysv/linux/netrose/rose.h: Don't include kernel headers.
1998-05-01 22:04:20 +00:00
Ulrich Drepper
f89ac85ca8 Update.
* intl/locale.alias: Update russian entry.

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

	* Makerules (static-only-routines): Reimplement in terms of
	elide-routines.os.
	(shared-only-routines): Reimplement in terms of
	elide-routines.X [where X is all object-suffixes except .os].

	(stubs): Create stubs file inside the subdir.
	(common-mostlyclean): Remove stubs file from inside the subdir.
	* Makefile (subdir-stubs): Look for stubs files inside the
	subdirs.
	* manual/Makefile (stubs): Create dummy stubs file inside the
	subdir.

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

	Build speed improvement: make ar less of a bottleneck.

	* Makerules (stamp$o): Just record the object list for later
	use.
	(libc_foo.a): New rule, depends on subdir stamp files; builds
	and ranlibs the library from the lists saved in those files.

	(subdirs-stamps): Define also if subdir == elf (FIXME: kludge).
	(subdirs-stamp-o): Likewise.

	(ar-symtab-name): Delete variable.
	(lib%.a): Delete target.
	(libc_foo.a(bar.%)): Delete target.
	(libc_foo.a($(ar-symtab-name))): Delete target.

	(objects objs): Just depend on libobjs and extra-objs.
	(libobjs): Depend on the stamp files, not the objects.
	(extra-objs): New target, just depends on the extra-objs list.

	(CREATE_ARFLAGS): Kill the `ar S' hack.

	* config.make.in (have-ar-S): Deleted.
	* configure.in: Delete test for `ar S'.  Add test to determine
	whether ranlib does anything useful.

1998-05-01  Ulrich Drepper  <drepper@cygnus.com>
1998-05-01 21:51:03 +00:00
Ulrich Drepper
f9119f49a6 Update.
1998-05-01  Ulrich Drepper  <drepper@cygnus.com>

	* manager.c (pthread_free): Unmap guard before the stack.
	Patch by Matthias Urlichs.
1998-05-01 14:14:28 +00:00
Ulrich Drepper
52ec8aabc3 Update.
1998-05-01  Ulrich Drepper  <drepper@cygnus.com>

	* inet/tst-ether_aton.c: Include <stdio.h>.
1998-05-01 10:39:47 +00:00
Ulrich Drepper
12a9fabe52 Update.
* locale/programs/locfile.c: Interpret I18NPATH value as base of
	path, extended with "/locales/".
1998-04-30 18:52:38 +00:00
Ulrich Drepper
69f155d4fc Update.
1998-04-30 16:45  Ulrich Drepper  <drepper@cygnus.com>

	* inet/ether_aton.c: Including netinet/if_ether.h is not necessary.

	* locale/Makefile (distribute): Add programs/repertoire.h.
	(localedef-modules): Add repertoire.
	(CPPFLAGS): Define REPERTOIREMAP_PATH.
	* locale/programs/repertoire.c: New file.
	* locale/programs/repertoire.h: New file.
	* locale/programs/charmap.c: Starting fixing character set handling
	to handle multi-byte encodings.
	* locale/programs/charset.c: Likewise.
	* locale/programs/charset.h: Likewise.
	* locale/programs/ld-collate.c: Likewise.
	* locale/programs/ld-ctype.c: Likewise.
	* locale/programs/linereader.c: Likewise.
	* locale/programs/localedef.c: Likewise.
	* locale/programs/locfile-kw.gperf: Likewise.
	* locale/programs/locfile-kw.h: Likewise.
	* locale/programs/locfile-token.h: Likewise.
	* locale/programs/locfile.h: Likewise.
	* locale/programs/stringtrans.c: Likewise.

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

	* sysdeps/arm/memset.S: Fix off by one error.

	* sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): On error, call
	__syscall_error rather than syscall_error directly.

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

	* sysdeps/unix/sysv/linux/arm/mmap.S: New file; implementation of
	mmap() syscall for ARM.

	* sysdeps/unix/arm/start.c: New file; startup code for ARM a.out
	binaries.
1998-04-30 16:57:48 +00:00
Ulrich Drepper
3dd2c3e247 Update.
1998-04-30  Ulrich Drepper  <drepper@cygnus.com>

	* manager.c (pthread_free): Detect already free child.
	Patch by Xavier Leroy, reported by Matthias Urlichs.
1998-04-30 10:14:00 +00:00
Ulrich Drepper
02c6684052 Update.
1998-04-30  Ulrich Drepper  <drepper@cygnus.com>

	* locale/programs/localedef.c: Recognize repertoire-map option.

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

	* locale/programs/linereader.c (get_toplvl_escape): Fix typo in
	converting non-hex numbers.
	Patch by Won Kyu Park <bird@bird.kitel.co.kr>.
1998-04-30 00:32:43 +00:00
Ulrich Drepper
679f5a56f9 Update.
1998-04-29  Ulrich Drepper  <drepper@cygnus.com>

	* tst-locale.sh: Add comment for when multi-byte charsets in
	locales work.
	* tests/test5.cm: New file.
	* tests/test5.def: New file.
	* Makefile (ld-test-names): Add test5.
1998-04-29 23:02:41 +00:00
Ulrich Drepper
b062f051ec Update.
1998-04-23 07:31  H.J. Lu  <hjl@gnu.org>

	* resolv/inet_addr.c (inet_aton): Use __strtoul_internal to
	check overflow.
	* resolv/Makefile (tests): New, add tst-aton.
	* resolv/tst-aton.c: New file.

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

	* sysdeps/sparc/sparc32/dl-machine.h (WEAKADDR): Add missing
	semicolon.

	* sysdeps/unix/sysv/linux/alpha/bits/signum.h: Add SIGCLD definition.
1998-04-29 17:14:29 +00:00
Ulrich Drepper
d079f32126 Update.
* wcsmbs/mbsrtowcs.c: Optimize a bit more.
	* wcsmbs/wcsrtombs.c: Likewise.
1998-04-29 13:05:07 +00:00
Ulrich Drepper
5e7a22c9c3 Update.
1998-04-29 12:11  Ulrich Drepper  <drepper@cygnus.com>

	* wcsmbs/mbsnrtowcs.c: Remove variable to pass to conversion function
	by letting the later modify the variable computing the total directly.
	* wcsmbs/mbsrtowcs.c: Likewise.
	* wcsmbs/wcsnrtombs.c: Likewise.
	* wcsmbs/wcsrtombs.c: Likewise.

	* wcsmbs/btowc.c (converted): Rename variable to dummy to make clear
	it is not used.
	* wcsmbs/wctoc.c: Likewise.
1998-04-29 12:15:49 +00:00
Ulrich Drepper
bf979eef1d Update.
* iconv/skeleton.c: Correct counting of actually converted
	characters.
1998-04-29 10:33:09 +00:00
Ulrich Drepper
842d0295a1 Update.
* intl/localealias.c (read_alias_file): Use unsigned char for
	local variables.  Remove unused variable tp.
	* intl/l10nflist.c (_nl_normalize_codeset): Use unsigned char *
	for type of codeset.  For loosing Solaris systems.
	* intl/loadinfo.h: Adapt prototype of _nl_normalize_codeset.
	* intl/bindtextdom.c (BINDTEXTDOMAIN): Don't define local variable
	len if not needed.
	Patches by Jim Meyering.
1998-04-29 10:16:38 +00:00
Ulrich Drepper
f326a706f8 Update.
1998-04-29  Ulrich Drepper  <drepper@cygnus.com>

	* stdio-common/vfprintf.c [%S]: Don't clear mbstate twice;
	wcsrtombs must put it into initial state.
1998-04-29 09:12:43 +00:00
Ulrich Drepper
fdf19bf72d Update.
1998-04-29  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* iconv/gconv_simple.c: Fix endian bug.  Don't put side effects in
	argument of bswap_XX macro.

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

	* iconvdata/Makefile (EBCDIC-DK-NO-A-routines): Fix typo in
	variable name.
1998-04-29 07:48:04 +00:00
Ulrich Drepper
8be1539f4d Update.
* sysdeps/unix/sysv/linux/semctl.c (semctl): Define own union
	semun and use stdarg macros to get the value.
	* sysdeps/generic/semctl.c: Don't use union semun.
1998-04-28 22:51:34 +00:00
Ulrich Drepper
936e9dafaa Update.
* sysvipc/sys/sem.h: Don't use union semun in semctl prototype.
1998-04-28 22:41:57 +00:00
Ulrich Drepper
5b155773ee Update.
* string/basename.c [!_LIBC]: Define function as gnu_basename.

	* posix/getopt.c [!__GNU_LIBRARY__]: Include string.h or
	strings.h.
1998-04-28 19:41:51 +00:00
Ulrich Drepper
733bb62a1e Update.
* stdlib/grouping.h: Accept ungrouped numbers even if locale
	defines grouping.
1998-04-28 17:18:24 +00:00
Ulrich Drepper
b1f25a7a9d Update.
* intl/hash-string.h: Don't include values.h.
1998-04-28 16:51:21 +00:00
Ulrich Drepper
6739da7fab Update.
* inet/Makefile (tests): Add tst-ether_aton.
	* inet/tst-ether_aton.c: New file.
1998-04-28 15:58:57 +00:00
Ulrich Drepper
5005d3b330 Update.
* inet/ether_aton_r.c (ether_aton_r): Preserve high-nibble value
	in hex conversion.
	* inet/ether_aton.c (ether_aton): Declare result variable static.
	Reported by ahyung@unixg.ubc.ca.
1998-04-28 14:22:07 +00:00
Ulrich Drepper
366cff4d8f Update.
Reported by Dirk Laessig <d.laessig@tu-bs.de>.

	* stdio-common/tst-wc-printf.c: New file.  Test for %S and %C format.
	* stdio-common/Makefile (tests): Add tst-wc-printf.
1998-04-28 14:15:46 +00:00
Ulrich Drepper
df493c3bef Update.
1998-04-28  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/bits/sem.h: Don't define union semun.
	Define macro _SEM_SEMUN_UNDEFINED instead.
1998-04-28 14:12:52 +00:00
Ulrich Drepper
0088435eee Update.
1998-04-28 16:32  Philip Blundell  <philb@gnu.org>

	* manual/stdio.texi (Variable Arguments Output): Correct variable
	name.  Patch from Ewan Mellor <em@nexus.co.uk>

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

	* intl/dcgettext.c: Remove unneeded definition of
	internal_function.
1998-04-28 09:58:11 +00:00
Ulrich Drepper
4b8f94d33f Update.
1998-04-27  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* iconvdata/Makefile ($(objpfx)iconv-test.out): Use this as target
	instead of do-iconv-test.
	($(objpfx)gconv-modules): Define rule only if objpfx is not
	empty.

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

	* string/string.h: Fix feature test.

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

	* iconvdata/iso646.c (BODY): Don't use character constants that
	depend on signedness of char.
1998-04-28 09:57:10 +00:00
Ulrich Drepper
17d519656a Update.
1998-04-27  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/i386/Makefile [$(subdirs)=misc]
	(sysdep_routines): Add s_pread64 and s_pwrite64.

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

	* iconvdata/Makefile (distribute): Remove generated .h files.
	* iconvdata/koi8-r.h: Removed.
	* iconvdata/latin-greek-1.h: Removed.
	* iconvdata/latin-greek.h: Removed.

	* iconvdata/testdata/CP1258..UTF8: New iconv test source.
	* iconvdata/KOI-8: Likewise.
	* iconvdata/KOI-8..UTF8: Likewise.
	* iconvdata/KOI8-R: Likewise.
	* iconvdata/KOI8-R..UTF8: Likewise.
1998-04-27 11:51:53 +00:00
Ulrich Drepper
45139d5f77 Update.
1998-04-24  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* streams/Makefile (headers): Add sys/stropts.h.
	* streams/sys/stropts.h: New file.

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

	* sysdeps/unix/sysv/linux/ttyname.c,
	sysdeps/unix/sysv/linux/ttyname_r.c: New files, like
	sysdeps/posix/ttyname*.c, but look in /dev/pts first.

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

	* sysdeps/unix/sysv/linux/ptsname.c: Fix off-by-one bug in second
	argument of _itoa_word.

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

	* sysdeps/unix/sysv/linux/syscalls.list (s_getcwd, s_getdents,
	s_pread64, s_pwrite64, s_reboot, s_sigpending, s_sigprocmask): Set
	caller to getcwd, getdents, pread64, pwrite64, reboot, sigpending,
	sigprocmask, resp., instead of EXTRA.

	* sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
	s_pread64 and s_pwrite64.
1998-04-27 09:43:55 +00:00
Ulrich Drepper
625094fd7a Update.
* iconvdata/TESTS: Name new tests.
	* iconvdata/testdata/CP1250: New file.
	* iconvdata/testdata/CP1250..UTF8: New file.
	* iconvdata/testdata/CP1251: New file.
	* iconvdata/testdata/CP1251..UTF8: New file.
	* iconvdata/testdata/CP1252: New file.
	* iconvdata/testdata/CP1252..UTF8: New file.
	* iconvdata/testdata/CP1253: New file.
	* iconvdata/testdata/CP1253..UTF8: New file.
	* iconvdata/testdata/CP1254: New file.
	* iconvdata/testdata/CP1254..UTF8: New file.
	* iconvdata/testdata/CP1255: New file.
	* iconvdata/testdata/CP1255..UTF8: New file.
	* iconvdata/testdata/CP1256: New file.
	* iconvdata/testdata/CP1256..UTF8: New file.
	* iconvdata/testdata/CP1257: New file.
	* iconvdata/testdata/CP1257..UTF8: New file.
1998-04-27 07:31:26 +00:00
Ulrich Drepper
2fb2e75ae0 Update.
1998-04-26 18:44  Ulrich Drepper  <drepper@cygnus.com>

	* iconvdata/Makefile: Correct rules to generate gap table.
	* iconvdata/gap.pl: Simplify.
1998-04-26 18:47:24 +00:00
Ulrich Drepper
8babd571bf Update.
* iconvdata/Makefile: Add rules for ISO-2022-KR.
	* iconvdata/iso-2022-kr.c: New file.

	* iconvdata/gconv-modules: Add entry for ISO-2022-JP, ISO-2022-JP-2,
	and ISO-2022-KR.
1998-04-26 14:03:20 +00:00
Ulrich Drepper
bc900b1118 Update.
1998-04-26  Ulrich Drepper  <drepper@cygnus.com>

	* iconvdata/gconv-modules: Add entry for ISO-2022-JP and
	ISO-2022-JP-2.
1998-04-26 10:28:28 +00:00
Ulrich Drepper
918b9d72a9 Update.
1998-04-25 18:39  Ulrich Drepper  <drepper@cygnus.com>

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

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

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

	* iconvdata/gb2312.h: Use correct types.

	* iconvdata/iso646.c (gconv_open): Correctly initialize the character
	size elements of data.
1998-04-25 20:34:34 +00:00
Ulrich Drepper
05c9fa3c05 Update.
1998-04-24  Ulrich Drepper  <drepper@cygnus.com>

	* string/tst-svc.expect: Adapt for change in .input.
	* string/tst-svc.input: More tests.
1998-04-24 17:37:16 +00:00
Ulrich Drepper
f4a20e2822 Update.
1998-04-24 17:15  Ulrich Drepper  <drepper@cygnus.com>

	* iconvdata/Makefile: Add rules for new modules.
	* iconvdata/gconv-modules: Likewise.
	* iconvdata/cp737.c: New file.
	* iconvdata/cp737.h: New file.
	* iconvdata/cp775.c: New file.
	* iconvdata/cp775.h: New file.
	* iconvdata/cp874.c: New file.
	* iconvdata/cp874.h: New file.
1998-04-24 17:20:33 +00:00
Ulrich Drepper
0111b22411 Update.
1998-04-24 16:30  Ulrich Drepper  <drepper@cygnus.com>

	* iconvdata/Makefile: Create target directory before generating
	headers.
1998-04-24 16:33:09 +00:00
Ulrich Drepper
5408c75701 Update.
1998-04-23  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* misc/sys/cdefs.h (__REDIRECT): Handle systems with non-empty
	__USER_LABEL_PREFIX__.
	(__ASMNAME, __ASMNAME2): New macros.
1998-04-24 16:02:42 +00:00
Ulrich Drepper
f8f7e09075 Update.
1998-04-24  Ulrich Drepper  <drepper@cygnus.com>

	* elf/dl-load.c: Include sys/param.h for MAX.
1998-04-24 15:33:23 +00:00
Ulrich Drepper
1aa63b9376 Update.
1998-04-24 21:44  Richard Henderson  <rth@cygnus.com>

	* sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Make
	__ftruncate the strong symbol, and add weak alias.
	* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1998-04-24 15:31:26 +00:00
Ulrich Drepper
86d1f89213 (ftruncate): Make __ftruncate the strong symbol, and add weak alias. 1998-04-24 15:29:55 +00:00
Richard Henderson
c5c992f10b Don't check against SP. 1998-04-24 14:43:00 +00:00
Ulrich Drepper
8c0c3e6dc4 Update.
* termios/cfsetspeed.c: Make code cleaner and add missing const.
	Patch by Joe Keane <jgk@jgk.org>.
1998-04-24 14:31:03 +00:00
Ulrich Drepper
c3f556889b Update.
1998-04-24  Ulrich Drepper  <drepper@cygnus.com>

	* inet/rcmd.c (__ivaliduser): Check buf for being NULL before
	free()ing.
1998-04-24 14:19:19 +00:00
Ulrich Drepper
0777024193 Update.
1998-04-24 13:56  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/generic/bits/socket.h: Add #defines for enum values.
	Patch by Thomas Bushnell, n/BSG.
1998-04-24 14:03:49 +00:00
Ulrich Drepper
d1e9545ef4 Update.
* inet/rcmd.c (iruserok): Initialize hostf variable to NULL.

1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
1998-04-24 13:04:49 +00:00
Ulrich Drepper
30373ded4f Update.
1998-04-24  Ulrich Drepper  <drepper@cygnus.com>

	* iconvdata/Makefile: Put generated headers in build directory.
1998-04-24 07:57:34 +00:00
Ulrich Drepper
d479b4ea1c Update. 1998-04-24 07:08:27 +00:00