glibc/sysdeps/mach
Ulrich Drepper 7fb90fb89b Fix Linux getcwd for long paths
The getcwd syscall (so far?) can only handle path up to one page
in size.  There is no limit about directory hierarchy depth, though,
and the POSIX getcwd is supposed to handle this.  In that case fall
back to the generic getcwd.

Additionally, optimize the generic getcwd to use openat when possible
to change the asymptotic performance from O(N^2) to O(n).
2011-05-08 08:37:19 -04:00
..
bits Update. 2002-12-06 11:49:42 +00:00
hurd Fix Linux getcwd for long paths 2011-05-08 08:37:19 -04:00
i386 Add multiple inclusion protection to some Mach/i386 internal headers. 2011-02-16 15:16:33 -08:00
powerpc * configure.in (libc_cv_gnu89_inline): Test for -fgnu89-inline. 2007-03-17 17:04:28 +00:00
sys * hurd/hurdmalloc.c: Remove $ tag $ magic. 2005-12-06 01:24:30 +00:00
_strerror.c * sysdeps/mach/_strerror.c (__strerror_r): Add libc_hidden_def. 2002-08-30 01:31:18 +00:00
adjtime.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
configure configure tweaks, support $libc_add_on_config_subdirs 2009-09-15 14:14:42 -07:00
configure.in 2004-02-10 Roland McGrath <roland@frob.com> 2004-02-11 01:02:11 +00:00
getloadavg.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getpagesize.c Update. 2002-08-03 07:02:10 +00:00
getsysstats.c Give Hurd weak aliases for getsysstats get_* functions. 2010-01-26 17:44:58 -08:00
gettimeofday.c Update. 2002-04-14 09:14:45 +00:00
Makefile 2003-02-15 Roland McGrath <roland@frob.com> 2003-02-15 22:59:19 +00:00
mprotect.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
msync.c * sysdeps/alpha/fpu/s_cacosf.c: Don't use sysdeps/generic/. 2005-12-15 21:13:14 +00:00
munmap.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
nanosleep.c Update. 2002-12-31 10:25:10 +00:00
pagecopy.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
readonly-area.c 2004-10-19 Roland McGrath <roland@frob.com> 2004-10-20 06:43:15 +00:00
sched_yield.c * sysdeps/unix/sysv/linux/ftruncate64.c: Find generic implementation 2006-02-23 22:34:40 +00:00
sleep.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
start.c * csu/elf-init.c: Update copyright terms including special exception 2004-08-16 04:51:23 +00:00
strerror_l.c * sysdeps/mach/strerror_l.c: New file. 2008-11-26 19:45:00 +00:00
Subdirs * Makefile (subdir-target-args): New variable. 2006-02-28 07:11:04 +00:00
sysdep.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
thread_state.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
usleep.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
xpg-strerror.c Change XPG-compliant strerror_r function to return error code. 2010-12-25 13:56:48 -05:00