summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/getcwd.c
AgeCommit message (Collapse)Author
2008-05-19Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL blockDenis Vlasenko
in string.h and strings.h. This caught unguarded string ops in libc/inet/ethers.c __ether_line_w() function. I will wait for fallout reports for a week or so, then continue converting more libc_hidden_proto's.
2008-01-05michael_d in #1849 writes: The getcwd() implementation in the absence of a ↵Mike Frysinger
getcwd syscall has an off-by-one allocation bug. As a result, sometimes the returned string has garbage at the end.
2006-06-16sync change from glibc for larger path maxMike Frysinger
2006-01-14make DODEBUG=y happy, update sysdeps/common/* copyrightPeter S. Mazinger
2006-01-14hidden_def/hidden_proto: convert all users (I hope) termios split, add some ↵Peter S. Mazinger
missing headers, other jump relocs removed
2005-12-16Convert some usersPeter S. Mazinger
2005-12-13Convert all users of earlier hiddensPeter S. Mazinger
2005-12-13Convert internal users of chmod/*stat*, minimize change for __strsepPeter S. Mazinger
2005-12-08Use __open|__closedirPeter S. Mazinger
2005-12-07Hide morePeter S. Mazinger
2005-12-01Hide mostly used functionsPeter S. Mazinger
2005-11-02Allow partly IMA compile of this directoryPeter S. Mazinger
2005-08-15For current kernels, we just use the getcwd() syscall. For old 2.0 linuxEric Andersen
kernels, we need this bit to make the non-syscall version that recurses up the directory path work properly. Thanks go to Harald Kuethe for sorting this out.
2003-09-06Fix numerous problems with both getcwd implementations.Eric Andersen
-Erik
2002-12-04Fix the other instance of getcwdEric Andersen
2002-12-04Properly allocate memory when size is 0, but so is bufEric Andersen
2002-07-22Rework syscall handling. Rewrite syscall handlers for x86 and ARM.Eric Andersen
Prepare to kill the UNIFIED_SYSCALL option and instead have it be a per arch thing that is either enabled or not for that arch. -Erik
2002-06-18Cleanup the getcwd implementation (again) since I broke itEric Andersen
last night. Restore malloc-ing when buf=NULL for the syscall version... Move getcwd to libc/sysdeps/linux/common and out of syscalls.c so there is just one getcwd.o object present. -Erik