Commit Graph

14959 Commits

Author SHA1 Message Date
Jakub Jelinek 32c075e1f0 . 2007-07-31 13:33:18 +00:00
Ulrich Drepper d6220e9ee3 Include errno.h. Change main() to do_test(). Define TEST_FUNCTION. Include test-skeleton.c. (do_test): Check errno and exit(0) if ENOSYS. 2007-01-11 21:51:00 +00:00
Ulrich Drepper 43b9d65740 [BZ #3855]
* stdlib/strtod_l.c (____STRTOF_INTERNAL): 0x. not followed by
	hexadecimal digit should accept just the initial 0.
	* stdlib/tst-strtod2.c (tests): New variable.
	(do_test): Run several tests rather than just one.

2007-01-11  Jakub Jelinek  <jakub@redhat.com>
2007-01-11 17:28:58 +00:00
Ulrich Drepper 66193697e0 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Cleanups. Define
FUTEX_CMP_REQUEUE and lll_futex_requeue.
2007-01-11 05:05:17 +00:00
Ulrich Drepper 929340bf57 Cleanups. Define FUTEX_CMP_REQUEUE and lll_futex_requeue. 2007-01-11 04:58:18 +00:00
Jakub Jelinek 1c7c7e9095 * sysdeps/i386/soft-fp/sfp-machine.h: Remove.
* sysdeps/x86_64/soft-fp/sfp-machine.h: Likewise.
2007-01-11  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/i386/soft-fp/sfp-machine.h: Remove.
	* sysdeps/x86_64/soft-fp/sfp-machine.h: Likewise.
2007-01-10 23:28:46 +00:00
Jakub Jelinek 14a31e359e * shlib-versions: Fix sparc64 linux target specification.
2006-12-28  David S. Miller  <davem@davemloft.net>

	* shlib-versions: Fix sparc64 linux target specification.
2007-01-10 23:24:02 +00:00
Ulrich Drepper a744da9059 * io/fts.c: Make sure fts_cur is always valid after return from
fts_read.
	Patch by Miloslav Trmac <mitr@redhat.com>.
2007-01-10 19:41:26 +00:00
Ulrich Drepper 0f841e93f1 Make sure fts_cur is always valid after return from fts_read. 2007-01-10 18:38:19 +00:00
Jakub Jelinek e013caa79f * elf/elf.h (R_MIPS_GLOB_DAT): Define.
(R_MIPS_NUM): Bump by 1.
2006-10-27  Richard Sandiford  <richard@codesourcery.com>

	* elf/elf.h (R_MIPS_GLOB_DAT): Define.
	(R_MIPS_NUM): Bump by 1.
2007-01-08 13:09:54 +00:00
Ulrich Drepper df859a0c15 * posix/execvp.c: Include alloca.h.
(allocate_scripts_argv): Renamed to...
	(scripts_argv): ... this.  Don't allocate buffer here nor count
	arguments.
	(execvp): Use alloca if possible.
	* posix/Makefile: Add rules to build and run tst-vfork3 test.
	* posix/tst-vfork3.c: New test.

2007-01-03  Ulrich Drepper  <drepper@redhat.com>

	* string/Makefile (tst-strxfrm2-ENV): Define.
	* stdlib/Makefile (tst-strtod3-ENV): Define.
2007-01-03 23:02:17 +00:00
Ulrich Drepper 64a0aa0fac * posix/getconf.c: Update copyright year.
* nss/getent.c: Likewise.
	* iconv/iconvconfig.c: Likewise.
	* iconv/iconv_prog.c: Likewise.
	* elf/ldconfig.c: Likewise.
	* catgets/gencat.c: Likewise.
	* csu/version.c: Likewise.
	* elf/ldd.bash.in: Likewise.
	* elf/sprof.c (print_version): Likewise.
	* locale/programs/locale.c: Likewise.
	* locale/programs/localedef.c: Likewise.
	* nscd/nscd.c (print_version): Likewise.
	* debug/xtrace.sh: Likewise.
	* malloc/memusage.sh: Likewise.
	* malloc/mtrace.pl: Likewise.
	* debug/catchsegv.sh: Likewise.
2007-01-03 05:44:24 +00:00
Ulrich Drepper 48576885c6 * malloc/malloc.c (sYSMALLOc): Remove some unnecessary alignment
attempts.
2006-12-24 21:19:20 +00:00
Ulrich Drepper 3b6667a4ab * posix/wordexp.c: Remove some unnecessary tests. 2006-12-23 09:48:04 +00:00
Ulrich Drepper 33c6de5801 * nis/nss_compat/compat-grp.c (internal_getgrgid_r): Don't
blacklist the group till after we look it up.
2006-12-22 20:26:56 +00:00
Ulrich Drepper fc242bef00 * include/atomic.h (atomic_forced_read): New macro. 2006-12-21 21:50:33 +00:00
Ulrich Drepper 571511d557 * sysdeps/unix/sysv/linux/sh/bits/shm.h: New file.
[-2^31 .. 2^31) range.
2006-12-21 20:58:11 +00:00
Ulrich Drepper 4490149516 * nss/getXXbyYY_r.c: Include atomic.h.
(INTERNAL (REENTRANT_NAME)): Write startp after start_fct,
	add atomic_write_barrier () in between.
2006-12-19 15:45:39 +00:00
Ulrich Drepper a12dcecc50 * stdlib/Makefile (tests): Add tst-makecontext.
* stdlib/tst-makecontext.c: New test.

	* sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
	(__makecontext): Don't realign uc_mcontext.uc_regs.
2006-12-19 15:34:16 +00:00
Ulrich Drepper 594d423aa3 * elf/dl-support.c: Include dl-procinfo.h.
* sysdeps/powerpc/dl-procinfo.h (PPC_PLATFORM_POWER4,
	PPC_PLATFORM_PPC970, PPC_PLATFORM_POWER5, PPC_PLATFORM_POWER5_PLUS,
	PPC_PLATFORM_POWER6, PPC_PLATFORM_CELL_BE, PPC_PLATFORM_POWER6X):
	Define.
	(_dl_string_platform): Use PPC_PLATFORM_* macros instead of
	hardcoded constants.
	* sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platform): Use
	PPC_PLATFORM_* macros for array designators.

2006-11-11  Steven Munroe  <sjmunroe@us.ibm.com>

	* sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add 3 new cap
	names to the beginning.
	(_dl_powerpc_platforms): Add "power6x".
	* sysdeps/powerpc/dl-procinfo.h (_DL_HWCAP_FIRST): Decrease.
	(HWCAP_IMPORTANT): Add PPC_FEATURE_HAS_DFP.
	(_DL_PLATFORMS_COUNT): Increase.
	(_dl_string_platform): Handle power6x case.
	* sysdeps/powerpc/sysdep.h (PPC_FEATURE_PA6T, PPC_FEATURE_HAS_DFP,
	PPC_FEATURE_POWER6_EXT): Define.
	(PPC_FEATURE_POWER5, PPC_FEATURE_POWER5_PLUS): Correct Comment.
2006-12-19 15:30:39 +00:00
Ulrich Drepper 5bcba0ed52 [BZ #3747]
2006-12-18  Jakub Jelinek  <jakub@redhat.com>
	[BZ #3747]
	* stdlib/jrand48_r.c (__jrand48_r): Make sure result is in the
	[-231 .. 231) range.
	* stdlib/tst-rand48.c (main): Fix expected values for 64-bit
	targets.
	* stdlib/tst-rand48-2.c: New test.
	* stdlib/Makefile (tests): Add tst-rand48-2.
2006-12-19 08:18:18 +00:00
Ulrich Drepper 9e1444fc3d * misc/tst-pselect.c (do_test): Fix sigblock argument. 2006-12-14 20:04:05 +00:00
Ulrich Drepper 36775704ae * misc/tst-pselect.c (do_test): Make sure the helper process is
terminating when the test is aborted.
2006-12-14 18:03:28 +00:00
Ulrich Drepper 1cc444baba * sysdeps/unix/sysv/linux/bits/statvfs.h: Define ST_RELATIME.
* sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
	Handle relatime mount option.
2006-12-14 05:41:07 +00:00
Ulrich Drepper 1e88bd0f1b [BZ #2337]
2006-12-13  Ulrich Drepper  <drepper@redhat.com>
	[BZ #2337]
	* libio/Makefile (tests): Add tst-setvbuf1.
	* libio/tst-setvbuf1.c: New file.

2006-12-08  Jakub Jelinek  <jakub@redhat.com>

	[BZ #2337]
	* libio/genops.c (__uflow): Fix a typo.
	* libio/wfiledoalloc.c (_IO_wfile_doallocate): Don't stat
	nor set _IO_LINE_BUF bit here.  Size the wide buffer based on
	the narrow buffer size.

2006-11-24  Jakub Jelinek  <jakub@redhat.com>

	[BZ #2337]
	* libio/libio.h (_IO_FLAGS2_USER_WBUF): Define.
	* libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Test and set
	_IO_FLAGS2_USER_WBUF bit in _flags2 instead of _IO_USER_BUF bit
	in _flags.
	* libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf,
	_IO_wstr_finish): Likewise.
	* libio/wmemstream.c (open_wmemstream): Likewise.
	* libio/fileops.c (_IO_new_file_close_it): Call _IO_set[bgp]
	even for wide streams.
2006-12-13 23:17:54 +00:00
Ulrich Drepper f72386ad7c * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Include
kernel-features.h.
2006-12-13 09:09:49 +00:00
Ulrich Drepper 1f55ce483b * stdlib/strtod_l.c (____STRTOF_INTERNAL): Parse thousand
separators also if no non-zero digits found.
	* stdlib/Makefile (tests): Add tst-strtod3.
2006-12-11 21:43:56 +00:00
Ulrich Drepper f85fb97b9b [BZ #3632]
* include/features.h: Fix comment about default value for
	_POSIX_C_SOURCE.
2006-12-10 01:54:50 +00:00
Ulrich Drepper 405698e946 [BZ #3664]
* stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix test to recognize
	empty parsed strings.
	* stdlib/Makefile (tests): Add tst-strtod2.
	* stdlib/tst-strtod2.c: New file.
2006-12-10 01:52:21 +00:00
Ulrich Drepper 2282c90c42 [BZ #3673]
* stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix exp_limit
	computation.
	* stdlib/Makefile (tests): Add tst-atof2.
	* stdlib/tst-atof2.c: New file.

	* stdlib/Makefile (tests): Add tst-atof1.
	* stdlib/tst-atof1.c: New file.
2006-12-10 01:11:45 +00:00
Ulrich Drepper d117c1ce4d [BZ #3674]
2006-12-09  Ulrich Drepper  <drepper@redhat.com>
	[BZ #3674]
	* stdlib/strtod_l.c (____STRTOF_INTERNAL): Adjust exponent value
	correctly if removing trailing zero of hex-float.
2006-12-10 00:03:22 +00:00
Ulrich Drepper a822d9f446 * misc/mntent_r.c (__hasmntopt): Check p[optlen] even when p == rest.
Start searching for next comma at p rather than rest.
	* misc/Makefile (tests): Add tst-mntent2.
	* misc/tst-mntent2.c: New test.

	* misc/getusershell.c (initshells): Check for integer overflows.
	Make strings buffer one bigger as fgets always succeeds when second
	argument is 1.  Don't use calloc for shells array.  Disallow
	/ as shell.
2006-12-09 22:31:22 +00:00
Ulrich Drepper 66f17705e4 * sysdeps/unix/sysv/linux/rtld-lowlevel.h
(__rtld_mrlock_initialize): Add missing closing parenthesis.
2006-12-09 22:29:37 +00:00
Ulrich Drepper 6060802811 * malloc/memusage.c: Handle realloc with new size of zero and
non-NULL pointer correctly.
	(me): Really write first record twice.
	(struct entry): Make format bi-arch safe.
	(dest): Write out more realloc statistics.
	* malloc/memusagestat.c (struct entry): Make format bi-arch safe.
2006-12-08 17:14:05 +00:00
Ulrich Drepper f0d5e1f67b * nis/nis_subr.c (nis_getnames): Revert last change.
2006-12-04  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/sysv/linux/ttyname.c: Include termios.h.
	(ttyname): Use tcgetattr instead of isatty, don't set errno to ENOTTY.
	* sysdeps/unix/sysv/linux/ttyname_r.c: Include termios.h.
	(__ttyname_r): Use tcgetattr instead of isatty, don't set errno to
	ENOTTY.
	* io/Makefile: Add rules to build and run tst-ttyname_r test.
	* io/tst-ttyname_r.c: New test.
2006-12-05 21:28:15 +00:00
Ulrich Drepper 30a58e6599 [BZ #3514, BZ #3515]
2006-12-03  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
	* sysdeps/unix/sysv/linux/sh/sys/io.h: Removed.

2006-11-30  H.J. Lu  <hongjiu.lu@intel.com>

	* sysdeps/i386/i686/memcmp.S: Use jump table as the base of
	jump table entries.

2006-11-30  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* sysdeps/unix/sysv/linux/i386/clone.S: Provide CFI for the outermost
	`clone' function to ensure proper unwinding stop of gdb.
	* sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.

2006-11-23  Jakub Jelinek  <jakub@redhat.com>

	[BZ #3514]
	* manual/string.texi (strncmp): Fix pastos from wcscmp description.

	[BZ #3515]
	* manual/string.texi (strtok): Remove duplicate paragraph.
2006-12-03 23:16:24 +00:00
Ulrich Drepper 4e3df412a1 * nscd/nscd.init: Remove obsolete and commented-out -S option
handling.
2006-12-01 20:12:54 +00:00
Ulrich Drepper 610fa4a324 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Fix compatibility with
libgcc not supporting `rflags' unwinding (register # >= 17).
2006-12-01 00:44:22 +00:00
Ulrich Drepper 5df4fe0833 * sunrpc/svc_run.c (svc_run): Set my_pollfd to new_pollfd if realloc
succeeded.
2006-11-30 15:28:34 +00:00
Ulrich Drepper ee50871d98 2006-11-29 Daniel Jacobowitz <dan@codesourcery.com>
Jakub Jelinek  <jakub@redhat.com>
	    Jan Kratochvil  <jan.kratochvil@redhat.com>

	* sysdeps/unix/sysv/linux/x86_64/sigaction.c (restore_rt): Add correct
	unwind information.
	* sysdeps/unix/sysv/linux/x86_64/Makefile: Provide symbols for
	'restore_rt' even in the 'signal' directory.
	* sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym: Extend the regs list.
2006-11-29 19:54:16 +00:00
Ulrich Drepper b1a758f32b [BZ #3559]
2006-11-27  Jakub Jelinek  <jakub@redhat.com>
	[BZ #3559]
	* sunrpc/svc_run.c (svc_run): Fail instead of segfaulting if
	malloc crashed.  Don't allocate memory unnecessarily in each
	loop.
2006-11-27 21:58:18 +00:00
Ulrich Drepper 854d11248e * resolv/mapv4v6addr.h (map_v4v6_address): Fix last change. 2006-11-21 15:41:41 +00:00
Ulrich Drepper dfc99a5651 * resolv/mapv4v6addr.h (map_v4v6_address): Optimize a bit. 2006-11-21 00:33:33 +00:00
Ulrich Drepper 852d657c22 * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Invoke
__sysconf only after having tried to call getgroups32.
2006-11-20 22:47:14 +00:00
Ulrich Drepper 36c0a63665 * nss/nss_files/files-hosts.c (LINE_PARSER): Support IPv6-style
addresses for IPv4 queries if they can be mapped.
2006-11-20 03:26:35 +00:00
Ulrich Drepper b1f0c2a609 * sysdeps/x86_64/fpu/s_copysignf.S (__copysignf): Switch to .text.
* sysdeps/x86_64/fpu/s_copysign.S (__copysign): Likewise.
	(signmask): Add .size directive.
	(othermask): Add .type directive.
2006-11-16 20:40:27 +00:00
Ulrich Drepper 3f1e92051d * nss/nss_files/files-alias.c (get_next_alias): Set line back
to first_unused after parsing :include: file.
2006-11-15 22:24:05 +00:00
Ulrich Drepper 2c53fa2063 * po/nl.po: Update from translation team. 2006-11-14 23:34:12 +00:00
Ulrich Drepper bef8927ad4 [BZ #3137]
2006-11-14  Ulrich Drepper  <drepper@redhat.com>
	* timezone/zdump.c: Redo fix for BZ #3137.

	* timezone/scheck.c: Likewise.
2006-11-14 16:58:17 +00:00
Ulrich Drepper 146c129a46 * timezone/africa: Update from tzdata2006o.
* timezone/antarctica: Likewise.
	* timezone/asia: Likewise.
	* timezone/australasia: Likewise.
	* timezone/backward: Likewise.
	* timezone/europe: Likewise.
	* timezone/iso3166.tab: Likewise.
	* timezone/northamerica: Likewise.
	* timezone/southamerica: Likewise.
	* timezone/zone.tab: Likewise.
2006-11-11 02:11:12 +00:00