Commit Graph

11555 Commits

Author SHA1 Message Date
Roland McGrath 68f5a66adb * manual/examples/dir2.c (one): Add const to argument type.
Reported by J de Haan <j.de.haan@home.nl>.
2003-11-10 01:18:56 +00:00
Roland McGrath dacb975a0d 2003-11-09 Roland McGrath <roland@redhat.com>
* manual/examples/dir2.c (one): Add const to argument type.
	Reported by J de Haan <j.de.haan@home.nl>.
2003-11-10 01:18:43 +00:00
Ulrich Drepper f1ca52ec9a Update.
2003-11-08  Ulrich Drepper  <drepper@redhat.com>

	* locales/ne_NP: New file.
	* locales/gu_IN: New file.
	* locales/kn_IN: New file.
	* locales/pa_IN: New file.
	Patch by Gnutupalli Karunakar <karunakar@freedomink.org>.

	* SUPPORTED (SUPPORTED-LOCALES): Add ne_NP, gu_IN, kn_IN, and pa_IN.
2003-11-08 17:36:31 +00:00
Ulrich Drepper fcb3ef9f2b Update.
2003-11-07  Ulrich Drepper  <drepper@redhat.com>

	* po/pl.po: Update from translation team.
2003-11-08 02:50:11 +00:00
Ulrich Drepper ca10f33858 Update.
2003-11-07  Jakub Jelinek  <jakub@redhat.com>

	* io/ftw.c (NFTW_OLD_NAME, NFTW_NEW_NAME): Define.
	(ftw_dir, ftw_startup): Add __attribute ((noinline)).
	(NFTW_OLD_NAME, NFTW_NEW_NAME): New functions.
	(NFTW_NAME): Only define if !_LIBC, add versioned_symbol
	and compat_symbol.
	* io/ftw64.c (NFTW_OLD_NAME, NFTW_NEW_NAME): Define.
	* io/Versions (libc): Export nftw@@GLIBC_2.3.3
	and nftw64@@GLIBC_2.3.3.

	* io/ftw.h (FTW_ACTIONRETVAL): New flag.
	(FTW_CONTINUE, FTW_STOP, FTW_SKIP_SUBTREE, FTW_SKIP_SIBLINGS): New.
	* io/ftw.c (ftw_dir): Add old_dir argument.
	Clear result if it was FTW_SKIP_SIBLINGS after processing all
	dir entries.  Change cwd back if old_dir != NULL.
	(process_entry): Adjust caller.  Don't change cwd back here.
	Change FTW_SKIP_SUBTREE result to 0.
	(ftw_startup): Adjust ftw_dir caller.
	Clear result if it was FTW_SKIP_SUBTREE or FTW_SKIP_SIBLINGS.
	* io/ftwtest.c (skip_subtree, skip_siblings): New variables.
	(options, main): Add --skip-subtree and --skip-siblings options.
	(cb): Use return FTW_CONTINUE instead of return 0.
	Handle --skip-subtree and --skip-siblings.
	* io/ftwtest-sh: Add tests for FTW_ACTIONRETVAL.
	* manual/filesys.texi: Document FTW_ACTIONRETVAL.
2003-11-07 23:00:00 +00:00
Ulrich Drepper c685b2b0b4 Update.
2003-11-06  Ulrich Drepper  <drepper@redhat.com>

	* Makefile: Add magic to clean up correctly.
2003-11-06 09:48:05 +00:00
Ulrich Drepper 44e941492d Update.
2003-11-05  Jakub Jelinek  <jakub@redhat.com>

	* unwind.c (FRAME_LEFT): Define.
	(unwind_stop): Handle old style cleanups here.
	(__pthread_unwind): Handle old style cleanups only if
	!HAVE_FORCED_UNWIND.
	* Makefile (tests): Add tst-cleanup4 and tst-cleanupx4.
	(CFLAGS-tst-cleanupx4.c): Add -fexceptions.
	($(objpfx)tst-cleanup4): Depend on $(objpfx)tst-cleanup4aux.o.
	($(objpfx)tst-cleanupx4): Likewise.
	* tst-cleanup4.c: New test.
	* tst-cleanup4aux.c: New.
	* tst-cleanupx4.c: New test.
2003-11-06 04:29:42 +00:00
Ulrich Drepper c28422b575 Update.
2003-11-04  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/pthread/bits/stdio-lock.h: Use lll_*lock instead of
	lll_mutex_*lock macros to skip atomic operations on some archs.
2003-11-04 23:43:40 +00:00
Ulrich Drepper 9378784537 Update.
2003-11-04  Jakub Jelinek  <jakub@redhat.com>

	* io/ftw.c (ftw_dir): Close dir if callback with FTW_D type returns
	non-zero.
	* io/Makefile (tests): Add bug-ftw4.
	* io/bug-ftw4.c: New test.
2003-11-04 21:11:41 +00:00
Ulrich Drepper 1c15327821 Update.
2003-11-04  Ulrich Drepper  <drepper@redhat.com>

	* tst-numeric.data: Fix fallout from nb_NO introduction.
	* Makefile (LOCALES): Likewise.
2003-11-04 20:07:11 +00:00
Ulrich Drepper 7ea113633e Update.
2003-10-27  Daniel Jacobowitz  <drow@mvista.com>

	* libio/libioP.h [_IO_USE_OLD_IO_FILE]
	(struct _IO_FILE_complete_plus): New type.
	* libio/oldiofopen.c (_IO_old_fopen): Use _IO_FILE_complete_plus.
	* libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
	* libio/oldiopopen.c (struct _IO_proc_file, _IO_old_popen): Likewise.
	Call _IO_old_init instead of _IO_init.
2003-11-04 09:58:57 +00:00
Ulrich Drepper f0c76a28fd Update.
* intl/locale.alias: nb_NO is now the correct name, not no_NO.
2003-11-04 07:57:51 +00:00
Ulrich Drepper 8b15d84ae0 Update.
* SUPPORTED (SUPPORTED-LOCALES): Add more support locales.

2003-11-03  Ulrich Drepper  <drepper@redhat.com>
2003-11-04 07:06:08 +00:00
Ulrich Drepper d4f2cea9cd Update.
* locales/aa_DJ: New file.
	* locales/aa_ER: New file.
	* locales/aa_ER@saaho: New file.
	* locales/aa_ET: New file.
	* locales/byn_ER: New file.
	* locales/gez_ER: New file.
	* locales/gez_ER@abegede: New file.
	* locales/gez_ET: New file.
	* locales/gez_ET@abegede: New file.
	* locales/om_ET: New file.
	* locales/om_KE: New file.
	* locales/sid_ET: New file.
	* locales/so_DJ: New file.
	* locales/so_ET: New file.
	* locales/so_KE: New file.
	* locales/so_SO: New file.
	* locales/tig_ER: New file.
2003-11-04 04:58:50 +00:00
Ulrich Drepper 3312f0d3cc Update.
2003-11-03  Ulrich Drepper  <drepper@redhat.com>

	* locale/iso-639.def: Add Blin.
	Patch by Daniel Yacob <locales@geez.org>.
2003-11-03 21:27:13 +00:00
Ulrich Drepper 271766771f Update.
2003-11-03  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/pthread/tst-timer.c (main): Initialize
	sigev2.sigev_value as well.
2003-11-03 19:13:38 +00:00
Ulrich Drepper 7df11052ce Update.
2003-10-31  Steven Munroe  <sjmunroe@us.ibm.com>

	* sysdeps/powerpc/powerpc32/strncmp.S: New File.
	* sysdeps/powerpc/powerpc64/strncmp.S: New File.
2003-11-03 17:41:17 +00:00
Ulrich Drepper 0a86d4ae81 Update.
2003-11-01  Randolph Chung  <tausq@debian.org>

	* sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
	LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
	Add missing parentheses.
2003-11-03 17:20:32 +00:00
Ulrich Drepper bfd7f45e98 (LOAD_ARGS_0) (LOAD_ARGS_1, LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4) (LOAD_ARGS_5, LOAD_ARGS_6): Add missing parentheses. 2003-11-03 17:18:38 +00:00
Roland McGrath 47a4117530 * libio/bug-ftell.c (do_test): Add a cast. 2003-11-01 21:11:05 +00:00
Roland McGrath c1e781ae7c * Makerules (shlib.lds): Make sure that ld doesn't try to link
anything while generating the linker script.
2003-11-01 00:36:04 +00:00
Roland McGrath 158a85bff1 * locale/lc-ctype.c (_nl_postload_ctype): Update _nl_global_locale's
special members.
2003-10-31 23:35:42 +00:00
Roland McGrath decc3affca 2003-10-31 Roland McGrath <roland@redhat.com>
* locale/lc-ctype.c (_nl_postload_ctype): Update _nl_global_locale's
	special members.
2003-10-31 23:35:21 +00:00
Ulrich Drepper b424f0bba0 Update.
2003-10-29  Ulrich Drepper  <drepper@redhat.com>

	* po/be.po: Update from translation team.
2003-10-30 02:14:20 +00:00
Ulrich Drepper 476238abeb Update.
* elf/rtld.c (map_doit): Pass __RTLD_OPENEXEC in last parameter to
	_dl_map_object.
2003-10-27 20:09:12 +00:00
Ulrich Drepper 9a267ae298 Update.
* elf/sprof.c (load_shobj): Use l_map_start not l_addr to locate
	ELF header.
2003-10-27 09:18:17 +00:00
Ulrich Drepper 11df531f59 Update.
2003-10-27  Ulrich Drepper  <drepper@redhat.com>

	* inet/rcmd.c (__validuser2_sa): Remove unnecessary code to skip
	rest of line.  We use getline which means this cannot happen.
2003-10-27 08:44:53 +00:00
Ulrich Drepper a14f121d3e Update.
* sysdeps/unix/sysv/linux/internal_statvfs.c (__internal_statvfs):
	Avoid infinite loops in case the mounts file is hosed.
	* io/Makefile: Add rules to build and run tst-statvfs.
	* io/tst-statvfs.c: New file.
2003-10-27 04:05:04 +00:00
Ulrich Drepper 5a4b5076f1 Update.
* include/dlfcn.h (__RTLD_OPENEXEC): Define.
	* elf/dl-load.c (_dl_map_object_from_fd): Don't allow loading
	executables unless __RTLD_OPENEXEC flag is present.
	* elf/rtld.c (dl_main): Pass __RTLD_OPENEXEC flag to
	_dl_map_object when loading the executable.

	reverse lookup format for IPv6 addresses is using bitstring and
	* resolv/ns_name.c: Implement encoding and decoding bitstring in
2003-10-27 01:36:12 +00:00
Ulrich Drepper 98d2ca3d87 Update.
* sysdeps/generic/glob.c (glob): Handle GLOB_BRACE and escaping
	correctly.
	* posix/globtest.sh: Add tests for GLOB_BRACE and escaping.
2003-10-26 20:47:33 +00:00
Ulrich Drepper 5ae19a5023 Update.
2003-10-26  Ulrich Drepper  <drepper@redhat.com>

	* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Default
	reverse lookup format for IPv6 addresses is using bitfields and
	.ip6.arpa suffix.
	* resolv/ns_name.c: Implement encoding and decoding bitfields in
	hex format.
2003-10-26 08:34:38 +00:00
Ulrich Drepper 4d54786a9b Update.
2003-10-23  Jakub Jelinek  <jakub@redhat.com>

	* locale/programs/locale.c (show_info): Fix printing word values on
	64-bit big-endian architectures.

2003-10-19  Bruno Haible  <bruno@clisp.org>

	* intl/hash-string.c (hash_string): Zero-extend each char from the
	string; the old code did a sign-extend on some platforms.
2003-10-24 03:26:33 +00:00
Ulrich Drepper d0f1175e94 (__hash_string): Zero-extend each char from the string; the old code did a sign-extend on some platforms. 2003-10-24 03:22:26 +00:00
Roland McGrath e97bfee1b1 * sysdeps/powerpc/powerpc32/Makefile (+cflags, asm-CPPFLAGS): Don't
append options to these.
	* sysdeps/powerpc/powerpc64/Makefile (+cflags, asm-CPPFLAGS): Likewise.
2003-10-22 21:30:08 +00:00
Roland McGrath c02c674e76 2003-10-22 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/powerpc/powerpc32/Makefile (+cflags, asm-CPPFLAGS): Don't
	append options to these.
	* sysdeps/powerpc/powerpc64/Makefile (+cflags, asm-CPPFLAGS): Likewise.
2003-10-22 21:30:03 +00:00
Ulrich Drepper f66fde5611 No need for compile time measurements. 2003-10-22 19:07:07 +00:00
Roland McGrath 27d640befb * sysdeps/unix/sysv/linux/hppa/sysdep.h: Fix merge error.
2003-10-15  Roland McGrath  <roland@redhat.com>

	* elf/dl-iteratephdr.c [! SHARED] (dl_iterate_phdr): New function.
	Fake an entry for the main executable and then call __dl_iterate_phdr.
	* elf/Makefile (routines): Remove dl-iteratephdr-static.
	(elide-routines.os): Likewise.
	(CFLAGS-dl-iterate-phdr-static.c): Variable removed.
	* sysdeps/generic/dl-iteratephdr-static.c: File removed.
	* sysdeps/unix/sysv/linux/ia64/dl-iteratephdr-static.c: File removed.
2003-10-22 07:10:00 +00:00
Roland McGrath 026395a2a6 * sysdeps/pthread/configure.in: Barf if visibility attribute support
is missing.
	* sysdeps/pthread/configure: Regenerated.
2003-10-16 01:38:30 +00:00
Roland McGrath fccc1416f6 bogon reversion 2003-10-16 01:38:16 +00:00
Roland McGrath 7f98061b90 * sysdeps/generic/dl-iteratephdr-static.c: Really implement it. 2003-10-15 19:34:04 +00:00
Roland McGrath c871d196ed 2003-10-15 Roland McGrath <roland@redhat.com>
* sysdeps/pthread/configure.in: Barf if visibility attribute support
	is missing.
	* sysdeps/pthread/configure: Regenerated.
2003-10-15 19:33:56 +00:00
Ulrich Drepper a21a20a33f Update.
2003-10-15  Jakub Jelinek  <jakub@redhat.com>

	* elf/rtld.c (print_statistics): Print also number of relative
	relocations.
2003-10-15 06:24:26 +00:00
Ulrich Drepper 1769a73f0b Update.
2003-10-12  Carlos O'Donell  <carlos@baldric.uwo.ca>

	* sysdeps/hppa/sysdep.h: Undef JUMPTARGET before use.
	* sysdeps/unix/sysv/linux/hppa/sysdep.h: Define PSEUDO_ERRVAL,
	SYSCALL_ERROR_LABEL under all conditions, INTERNAL_SYSCALL_DECL,
	INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO, INTERNAL_SYSCALL,
	and undef JUMPTARGET before use.
	[PIC]: Save pic register around syscall.
	* sysdeps/unix/sysv/linux/hppa/sysdep.c (syscall):
	Cleanup asm statment.

2003-10-13  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

	* sysdeps/unix/sysv/linux/sh/sysdep.h (DO_CALL): Add SYSCALL_INST_PAD
	after trapa instruction.
2003-10-15 05:47:36 +00:00
Ulrich Drepper fa3cbe3d5d Update.
2003-10-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

	* sysdeps/unix/sysv/linux/sh/syscalls.list: Add waitpid.
2003-10-12 23:05:45 +00:00
Ulrich Drepper cc0af5f451 Add waitpid. 2003-10-12 22:56:00 +00:00
Roland McGrath 8f2e25b43b * sysdeps/hppa/Makefile (CFLAGS-malloc.c): Variable removed. 2003-10-11 01:29:07 +00:00
Roland McGrath 978bb31d9c * elf/rtld.c (dl_main): Don't set l_name for sysinfo DSO, since there
is no file to name.
2003-10-09 22:34:22 +00:00
Roland McGrath b49329d93c 2003-10-09 Roland McGrath <roland@redhat.com>
* elf/rtld.c (dl_main): Don't set l_name for sysinfo DSO, since there
	is no file to name.
2003-10-09 22:34:17 +00:00
Ulrich Drepper 943ae89d56 Update.
2003-10-08  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Don't generate
	two identical copies of strings.
2003-10-08 21:12:18 +00:00
Ulrich Drepper e700a90879 Update.
2003-10-07  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Backout 2003-10-02
	changes.
	(SAVE_OLDTYPE_0): Fix a typo.
2003-10-07 18:50:07 +00:00