summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/getcwd.c
AgeCommit message (Collapse)Author
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