Commit Graph

3795 Commits

Author SHA1 Message Date
Roland McGrath
06b31ad3ef * elf/Makefile (tests): Uncomment tst-array[123].
* Makeconfig (CPPFLAGS-.oS): Add -DLIBC_NONSHARED=1.
	* csu/elf-init.c: New file.
	* csu/Makefile (routines, static-only-routines): Add elf-init.
	* sysdeps/alpha/elf/start.S: Use __libc_csu_init in place of _init
	and __libc_csu_fini in place of _fini.
	* sysdeps/arm/elf/start.S: Likewise.
	* sysdeps/cris/elf/start.S: Likewise.
	* sysdeps/hppa/elf/start.S: Likewise.
	* sysdeps/i386/elf/start.S: Likewise.
	* sysdeps/ia64/elf/start.S: Likewise.
	* sysdeps/m68k/elf/start.S: Likewise.
	* sysdeps/mach/hurd/powerpc/static-start.S: Likewise.
	* sysdeps/mips/elf/start.S: Likewise.
	* sysdeps/powerpc/powerpc32/elf/start.S: Likewise.
	* sysdeps/powerpc/powerpc64/elf/start.S: Likewise.
	* sysdeps/s390/s390-32/elf/start.S: Likewise.
	* sysdeps/s390/s390-64/elf/start.S: Likewise.
	* sysdeps/sh/elf/start.S: Likewise.
	* sysdeps/sparc/sparc32/elf/start.S: Likewise.
	* sysdeps/sparc/sparc64/elf/start.S: Likewise.
	* sysdeps/x86_64/elf/start.S: Likewise.
2002-12-09 20:37:37 +00:00
Roland McGrath
57b4cb2522 * sysdeps/pthread/aio_notify.c (notify_func_wrapper): Take a malloc'd
struct containing function ptr and value, free it.
	(__aio_notify_only): Allocate that and copy values from SIGEV into it.
	It's not safe to let the new thread use the SIGEV pointer.
2002-12-09 07:14:24 +00:00
Ulrich Drepper
f92921c5cf Update.
2002-12-07  Carlos O'Donell  <carlos@baldric.uwo.ca>

	* sysdeps/unix/sysv/linux/hppa/bits/shm.h: Added SHMLBA #define.
2002-12-08 22:55:19 +00:00
Ulrich Drepper
09efc3ba12 Update.
2002-12-07  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/generic/bits/stdio-lock.h (_IO_lock_trylock): New define.
2002-12-08 03:13:06 +00:00
Roland McGrath
82412d5402 * sysdeps/generic/libc-tls.c (__libc_setup_tls): Reintroduce changes
from 2002-12-06, but remove unnecessary memset call without removing
	necessary copy of initialization image.

	* Makerules ($(common-objpfx)format.lds): New target.
	(common-generated): Add it.
	($(inst_libdir)/libc.so): Depend on that, and cat it into the result.
	* scripts/output-format.sed: New file.
	* Makefile (distribute): Add it.

2002-12-07  Kenneth W. Chen  <kenneth.w.chen@intel.com>
2002-12-07 21:55:56 +00:00
Ulrich Drepper
99343c0579 Update.
2002-12-07  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/generic/libc-tls.c: Include <sys/param.h>.
	Reported by Art Haas <ahaas@airmail.net>.

2002-12-07  Kenneth W. Chen  <kenneth.w.chen@intel.com>.
2002-12-07 18:46:53 +00:00
Ulrich Drepper
739ca6906a Update.
2002-12-07  Kenneth W. Chen <kenneth.w.chen@intel.com>.

	* sysdeps/ia64/strncpy.S (strncpy): Clear ar.ec.  Fix .recovery4.

2002-12-07  Jakub Jelinek  <jakub@redhat.com>

	* string/test-strncpy.c (do_random_tests): Improve test coverage.
2002-12-07 09:03:23 +00:00
Ulrich Drepper
85d1401f1b Update.
2002-12-06  Ulrich Drepper  <drepper@redhat.com>

	* wctype/wcfuncs.c: Add libc_hidden_def for iswalnum.

	* sysdeps/posix/raise.c: Add libc_hidden_def for raise.
2002-12-07 04:21:51 +00:00
Ulrich Drepper
9bd9c81528 Update.
2002-12-07  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h [RTLD_PRIVATE_ERRNO]
	(SYSCALL_ERROR_HANDLER): Fix a pasto.
	Reported by Jeff Bailey <jbailey@nisa.net>.
2002-12-07 02:12:17 +00:00
Ulrich Drepper
01054d37f2 Update.
* sysdeps/generic/libc-tls.c: Undo last patch.
2002-12-07 01:24:46 +00:00
Ulrich Drepper
13ece8977b Update.
* include/wctype.h: Define iswalnum with libc_hidden_proto.

	* include/signal.h: Define raise with libc_hidden_proto.

	* sysdeps/unix/sysv/linux/fexecve.c (fexecve): Use __snprintf and
	__execve instead of snprintf and execve.
2002-12-06 23:38:01 +00:00
Ulrich Drepper
ea1d1dee93 Relax errors for flaot and double again a bit. 2002-12-06 22:26:57 +00:00
Ulrich Drepper
d3c9f89525 Update.
2002-12-06  Ulrich Drepper  <drepper@redhat.com>

	* misc/syslog.c (log_cleanup): New function.
	(openlog): Use log_cleanup instead of __libc_mutex_unlock.
	(closelog): Likewise.

	* elf/dl-close.c: Use __rtld_lock_* macros instead of __libc_lock_*.
	* elf/dl-iteratephdr.c: Likewise.
	* elf/dl-lookup.c: Likewise.
	* elf/dl-misc.c: Likewise.
	* elf/dl-open.c: Likewise.
	* elf/dl-support.c: Likewise.
	* elf/rtld.c: Likewise.
	* sysdeps/generic/ldsodefs.h: Likewise.
	* sysdeps/generic/bits/libc-lock.h: Define __rtld_lock_* macros.
	* sysdeps/mach/bits/libc-lock.h: Likewise.
	* sysdeps/mach/hurd/bits/libc-lock.h: Likewise.

	* dirent/bug-readdir1.c (main): Don't call closedir, just close
2002-12-06 11:49:42 +00:00
Roland McGrath
fde89ad009 * sysdeps/generic/libc-tls.c (__libc_setup_tls): Cope with zero ALIGN.
* malloc/hooks.c [_LIBC && (USE___THREAD || (USE_TLS && !SHARED))]
	(malloc_starter, memalign_starter, free_starter): Don't define these.
	* malloc/malloc.c [_LIBC && (USE___THREAD || (USE_TLS && !SHARED))]:
	Don't declare them either.
	* malloc/arena.c (ptmalloc_init) [_LIBC && USE_TLS]: Don't call
	__pthread_initialize, so no need to set hooks to *_starter.
	(ptmalloc_init_minimal): New function, broken out of ptmalloc_init.
	[_LIBC && SHARED && USE_TLS && !USE___THREAD]
	(__libc_malloc_pthread_startup): New function.
	* malloc/Versions (libc: GLIBC_PRIVATE): New set, add that function.

	* malloc/hooks.c (memalign_starter): New function.
	* malloc/malloc.c: Declare it.
	* malloc/arena.c (save_memalign_hook): New variable.
	(ptmalloc_init): Set __memalign_hook to memalign_starter.

	* elf/dl-minimal.c (free): Clear the memory.
	(calloc): Just call malloc, knowing all memory it returns is cleared.

	* sysdeps/generic/dl-tls.c (allocate_dtv): Use calloc instead of
	malloc and memset; calloc can avoid the zeroing when redundant.
	(_dl_tls_setup): Likewise.
	* elf/dl-load.c (decompose_rpath): Likewise.
	* sysdeps/generic/libc-tls.c (__libc_setup_tls): Comment out memset
	call, since memory from sbrk at startup is already zero.

	* elf/rtld.c (_dl_start, dl_main): TLS_INIT_TP macro now returns an
	error string for failure, null for success.  Update callers.
	* sysdeps/generic/libc-tls.c (__libc_setup_tls): Likewise.
	* elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2002-12-06 11:15:07 +00:00
Roland McGrath
9cf6fef171 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (sendfile): Change
args to i:iipi.
	(readahead): Change args to i:iii.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list (readahead):
	Change args to i:iii.
	* sysdeps/unix/sysv/linux/mips/syscalls.list (readahead): Change
	args to i:iiii.
2002-12-05 23:47:33 +00:00
Ulrich Drepper
33b5d0cc7f Update.
2002-12-05  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/i386/tls.h: Include stdlib.h.
	* sysdeps/x86_64/tls.h: Likewise.
2002-12-05 00:44:01 +00:00
Roland McGrath
216455bc28 * sysdeps/generic/ldsodefs.h (struct rtld_global): Move all [USE_TLS]
members to the end, so a libpthread compiled with !USE_TLS will still
	find other members properly.

	* sysdeps/i386/i486/bits/string.h (__strcpy_g): Add dummy output
	operand for DEST memory.  Fix dummy input operand to use SRC.
	Reported by Davin McCall <davmac@ozonline.com.au>.

	* sysdeps/generic/libc-tls.c (__libc_setup_tls): Account for TCB
	alignment when initializing the DTV entry.

	* elf/dl-load.c (_dl_map_object_from_fd): If we hit a TLS segment
	when TLS has not been set up, try to set it up if we can.
	* elf/tst-tls4.c: Revert last change.
	* elf/tst-tls5.c: Likewise.
	* elf/tst-tls6.c: Likewise.
	* elf/tst-tls7.c: Likewise.
	* elf/tst-tls8.c: Likewise.
	* elf/tst-tls9.c: Likewise.

	* sysdeps/generic/dl-tls.c [SHARED] (_dl_tls_setup): New function.
	* sysdeps/generic/ldsodefs.h: Declare it.
	* elf/Versions (ld: GLIBC_PRIVATE): Add it.
	* sysdeps/generic/libc-tls.c (init_slotinfo): New static inline
	function, broken out of __libc_setup_tls.
	(init_static_tls): Likewise.
	(__libc_setup_tls): Call them.
	(_dl_tls_setup): New function, uses new subroutines.

	* elf/dl-close.c (free_slotinfo): Make argument pointer to pointer.
	Clear the pointer when returning true.
	(libc_freeres_fn) [SHARED]: If GL(dl_initial_dtv) is null, free the
	first element of the slotinfo list too.

	* sysdeps/generic/dl-tls.c (_dl_determine_tlsoffset): Define only if
	[SHARED].

	* sysdeps/generic/ldsodefs.h (_dl_next_tls_modid): Declare as hidden.
	(_dl_determine_tlsoffset): Likewise.

	* elf/rtld.c (_dl_initial_error_catch_tsd): Renamed from
	startup_error_tsd, made global.
	(dl_main): Update initialization.
	* elf/dl-tsd.c: Likewise.
	* sysdeps/generic/ldsodefs.h: Declare it.
2002-12-04 12:30:40 +00:00
Roland McGrath
68dc80ca28 2002-12-04 Roland McGrath <roland@redhat.com>
* sysdeps/generic/ldsodefs.h (struct rtld_global): Move all [USE_TLS]
	members to the end, so a libpthread compiled with !USE_TLS will still
	find other members properly.
	* sysdeps/generic/dl-tls.c [SHARED] (_dl_tls_setup): New function.
	* sysdeps/generic/ldsodefs.h: Declare it.
	* elf/Versions (ld: GLIBC_PRIVATE): Add it.
	* sysdeps/generic/libc-tls.c (init_slotinfo): New static inline
	function, broken out of __libc_setup_tls.
	(init_static_tls): Likewise.
	(__libc_setup_tls): Call them.
	(_dl_tls_setup): New function, uses new subroutines.
	* sysdeps/generic/ldsodefs.h (_dl_next_tls_modid): Declare as hidden.
	(_dl_determine_tlsoffset): Likewise.
	* elf/rtld.c (_dl_initial_error_catch_tsd): Renamed from
	startup_error_tsd, made global.
	(dl_main): Update initialization.
	* elf/dl-tsd.c: Likewise.
	* sysdeps/generic/ldsodefs.h: Declare it.
2002-12-04 12:27:20 +00:00
Roland McGrath
e7e6e437da 2002-12-03 Roland McGrath <roland@redhat.com>
* sysdeps/generic/libc-tls.c (__libc_setup_tls): Include static TLS
	area surplus in calculation for sbrk call.
2002-12-04 04:20:07 +00:00
Andreas Jaeger
43d218d55b Regenerated. 2002-12-03 15:39:37 +00:00
Ulrich Drepper
918bd861cb Update.
2002-12-03  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/posix/system.c (do_system): Make signal handler
	installation thread safe.
2002-12-03 09:01:03 +00:00
Roland McGrath
91c0a70cc5 2002-12-02 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/alpha/syscalls.list (readahead): Change
	caller from EXTRA to -.
	* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
	* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2002-12-03 07:28:09 +00:00
Roland McGrath
fa9a4ff0ba * sysdeps/hppa/fpu/fesetround.c (fesetround): Use ~FE_DOWNWARD so both
bits of RM are cleared.
2002-12-03 02:50:58 +00:00
Roland McGrath
3c69e3d802 2002-12-01 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Fix condition
	testing getdents64 return value.
2002-12-02 21:01:50 +00:00
Roland McGrath
6d3423184e * posix/bug-regex13.c: Include <string.h>. 2002-12-01 23:17:11 +00:00
Roland McGrath
dde2652bb6 * sysdeps/generic/libc-start.c (__libc_start_main): Do
DL_SYSDEP_OSCHECK here.
	* sysdeps/unix/sysv/linux/init-first.c (init): Not here.
	* sysdeps/unix/sysv/linux/dl-osinfo.h: Include <fcntl.h>.

	* sysdeps/generic/libc-tls.c (__libc_setup_tls): Bail if
	argument TCBSIZE <= TLS_INIT_TCB_SIZE, not just if it's zero.

	* sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Check l_tls_offset
	instead of l_type to decide whether to use TLS_DTV_UNALLOCATED.

	* include/link.h: Comment typo fix.

2002-12-01  Roland McGrath  <roland@frob.com>

	* sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_FSYNC): Set to 200112L.
	(_POSIX_SPAWN, _POSIX_MAPPED_FILES, _POSIX_MEMLOCK_RANGE,
	_POSIX_MEMORY_PROTECTION): Likewise.
	(_POSIX_POLL, _POSIX_SELECT): Removed.
2002-12-01 22:14:57 +00:00
Ulrich Drepper
d7fc4c6250 Define macros which require it to 200112L. Remove _POSIX_POLL and _POSIX_SELECT. 2002-11-29 01:45:10 +00:00
Ulrich Drepper
ddf4ffadf6 Update.
2002-11-28  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/alpha/sysdep.S: Change defined(USE___THREAD) to
	USE___THREAD.
	* sysdeps/unix/sysv/linux/alpha/sysdep.h (inline_syscall*): Avoid
	"=v" constraints.
2002-11-28 23:01:45 +00:00
Ulrich Drepper
acd42b7893 Update.
2002-11-28  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/x86_64/vfork.S: Don't trash the CPU's
	branch prediction buffers by using unpaired call/ret.
2002-11-28 08:32:24 +00:00
Ulrich Drepper
d08bef807b Update.
2002-11-27  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/i386/sysdep.h (ASMFMT_2): Fix typo in
	first parameters constraint string.
	(ASMFMT_3): Likewise.  Patch by stefan.lauterbach@mincom.de.
2002-11-28 05:23:05 +00:00
Roland McGrath
6938e63f71 * inet/test-ifaddrs.c (main: addr_string): Handle null SA.
Grok AF_LINK if defined.
	From Momchil Velikov <velco@fadata.bg>.

	* sysdeps/gnu/ifaddrs.c (getifaddrs): If ioctl fails for netmask,
	brdaddr, or dstaddr, just set those pointers to null and don't fail.
	Reported by Momchil Velikov <velco@fadata.bg>.

	* sysdeps/generic/ifreq.h (__if_nextreq) [_HAVE_SA_LEN]: If sa_len
	is > sizeof IFR->ifa_addr, advance past the whole longer length.
	(__ifreq): Count up NIFS that way too.
	Reported by Momchil Velikov <velco@fadata.bg>.

	* sysdeps/mach/hurd/lchmod.c: Include <fcntl.h>.
2002-11-26 03:29:06 +00:00
Roland McGrath
14fa7a214c 2002-11-25 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/lchmod.c: Include <fcntl.h>.
2002-11-26 03:20:30 +00:00
Roland McGrath
9d8b8e946c 2002-11-25 Roland McGrath <roland@redhat.com>
* sysdeps/mach/hurd/i386/init-first.c: Include <ldsodefs.h>
	and <fpu_control.h>.
2002-11-26 01:56:30 +00:00
Roland McGrath
bf2cc5fb02 * sysdeps/posix/readv.c: Include <errno.h>, use __set_errno macro.
* sysdeps/posix/writev.c: Likewise.
	From Momchil Velikov <velco@fadata.bg>.

	* elf/dl-error.c [! _LIBC_REENTRANT]: Use a static variable instead of
	calling *GL(dl_error_catch_tsd) for a thread-local location.
	* elf/rtld.c (startup_error_tsd): Conditionalize on [_LIBC_REENTRANT].
	(dl_main): Same for GL(dl_error_catch_tsd) initialization.
	* elf/dl-tsd.c: Conditionalize contents on [_LIBC_REENTRANT].

	* libio/iofflush.c: Add libc_hidden_def.
	* libio/iofwrite.c: Likewise.
	* sysdeps/generic/sigtimedwait.c: Likewise.
	* sysdeps/generic/sigwaitinfo.c: Likewise.
	* sysdeps/posix/sigwait.c: Likewise.
	Reported by Momchil Velikov <velco@fadata.bg>.

	* inet/inet_lnaof.c (inet_lnaof): Change return type to in_addr_t
	to match <arpa/inet.h> declaration.
	* inet/inet_netof.c (inet_netof): Likewise.
	* inet/inet_mkadr.c (inet_makeaddr): Likewise for argument types.
	Reported by Momchil Velikov <velco@fadata.bg>.
2002-11-24 23:56:47 +00:00
Roland McGrath
13a571a747 * configure.in: Skip AUTOCONF check under --without-cvs.
* configure: Regenerated.

	* posix/Makefile (headers): Add bits/pthreadtypes.h.
	* sysdeps/unix/sysv/linux/Makefile (sysdep_heaers): Don't add it here.
	* sysdeps/unix/sysv/linux/Dist: Remove it from the list.
2002-11-24 23:11:32 +00:00
Andreas Schwab
511e04f3b6 Support inline syscall with six arguments. 2002-11-24 19:41:42 +00:00
Andreas Schwab
dab830850f Regenerated: autoconf sysdeps/generic/configure.in 2002-11-24 17:39:51 +00:00
Andreas Schwab
8a97d03fbf Regenerated: autoconf sysdeps/unix/configure.in 2002-11-24 17:39:46 +00:00
Roland McGrath
4a32f19d57 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (msqid_ds)
[__WORDSIZE == 32]: Only PPC32 requires __unused1, __unused2,
	and __unused3 fields.
	* sysdeps/unix/sysv/linux/powerpc/bits/sem.h (semid_ds)
	[__WORDSIZE == 32]: Only PPC32 requires __unused1
	and __unused2 fields.
	* sysdeps/unix/sysv/linux/powerpc/bits/shm.h (shmid_ds)
	[__WORDSIZE == 32]: Only PPC32 requires __unused1, __unused2,
	__unused3,and __unused4 fields.
2002-11-22 05:23:51 +00:00
Roland McGrath
a241310659 2002-11-20 Steven Munroe <sjmunroe@us.ibm.com>
* csu/gmon-start.c (__gmon_start__): Always use TEXT_START macro to
	obtain lowest address for profiling in __monstartup call.
	* sysdeps/ia64/fpu/Makefile (libm-sysdep_routines): Remove redunant
	$(calls) $(calls:=f) $(long-c-$(long-double-fcts)).

2002-11-21  Roland McGrath  <roland@frob.com>

	* sysdeps/mach/hurd/i386/init-first.c (posixland_init): Set
	__libc_multiple_libcs here.  Call __setfpucw.
2002-11-22 05:05:02 +00:00
Roland McGrath
54789f3816 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Set
__libc_multiple_libcs here.  Call __setfpucw.

	* locale/localeinfo.h (struct locale_data): Revert last change.
2002-11-22 04:23:05 +00:00
Roland McGrath
1c120cb8e7 * sysdeps/unix/sysv/linux/ia64/syscalls.list (s_exit_group): Add it.
From Ian Wienand <ianw@gelato.unsw.edu.au>.

	* sysdeps/unix/sysv/linux/ia64/sysdep.h (__NR_pread): Define to
	__NR_pread64 if not defined.
	(__NR_pwrite): Define to __NR_pwrite64 if not defined.
	From Ian Wienand <ianw@gelato.unsw.edu.au>.
2002-11-22 01:27:01 +00:00
Roland McGrath
294ec901bf 2002-11-21 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/ia64/syscalls.list (s_exit_group): Add it.
	From Ian Wienand <ianw@gelato.unsw.edu.au>.
2002-11-22 01:26:53 +00:00
Ulrich Drepper
755e51bee0 Update.
2002-11-21  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/bits/sched.h: Add new CLONE_* flags.
	* sysdeps/unix/sysv/linux/i386/clone.S: Add support for
	CLONE_CHILD_*TID flags.
2002-11-22 00:09:11 +00:00
Ulrich Drepper
56c910668c Add support for CLONE_CHILD_*TID flags. 2002-11-22 00:01:03 +00:00
Andreas Jaeger
94c90399ca * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT):
We pass struct ucontext on x86-64. 
(GET_PC): Adjust. 
(GET_FRAME): Adjust. 
(GET_STACK): Adjust.
2002-11-21 11:09:28 +00:00
Roland McGrath
ab9ba655e1 * sysdeps/powerpc/powerpc32/dl-machine.c [! SHARED]: Further
conditionalize [! DO_VERSIONING] #error.
2002-11-21 04:10:59 +00:00
Ulrich Drepper
eb9dc2a22d Update.
* iconv/gconv_simple.c (internal_ucs4le_loop_unaligned): Return
	__GCONV_EMPTY_INPUT only if input is really empty.  Otherwise
	__GCONV_INCOMPLETE_INPUT.
	(ucs4le_internal_loop): Likewise.
	(ucs4le_internal_loop_unaligned): Likewise.
	* iconvdata/unicode.c (PREPARE_LOOP): Likewise.
	* iconvdata/utf-16.c (PREPARE_LOOP): Likewise.
	* iconvdata/utf-32.c (PREPARE_LOOP): Likewise.

	* iconv/loop.c (LOOPFCT): First test for empty input then for full
	output buffer.
2002-11-20 23:42:04 +00:00
Ulrich Drepper
218d76e034 Update.
2002-11-20  Ulrich Drepper  <drepper@redhat.com>

	* inet/getnameinfo.c: Use extend_alloca where appropriate.
	* sysdeps/posix/getaddrinfo.c: Likewise.

	* include/alloca.h (extend_alloca): New define.  Based on stack
	direction it'll try to append to the previouls allocated buffer.

2002-11-07  Thorsten Kukuk  <kukuk@suse.de>

	* sysdeps/posix/getaddrinfo.c (gaih_inet): If AF_UNSPEC is set,
	use the same service for AF_INET and AF_INET6.

2002-11-19  Ulrich Drepper  <drepper@redhat.com>

	* intl/localealias.c (read_alias_file): Use only about 400 bytes
	of stack space instead of 16k.
2002-11-20 19:48:07 +00:00
Roland McGrath
2674f2a35b * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h [__USE_FILE_OFFSET64]
(F_GETLK, F_SETLK, F_SETLKW): Define to F_*64 versions.
	* sysdeps/unix/sysv/linux/hppa/fcntl.c: New file.
2002-11-19 09:27:04 +00:00