summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common/getcwd.c
Commit message (Collapse)AuthorAgeFilesLines
* trim Experimentally off and uncommented hiddenBernhard Reutner-Fischer2009-09-181-11/+1
| | | | | | | | sed -i -e '/Experimentally off - /d' $(grep -rl "Experimentally off - " *) sed -i -e '/^\/\*[[:space:]]*libc_hidden_proto(/d' $(grep -rl "libc_hidden_proto" *) should be a nop Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Last portion of libc_hidden_proto removal.Denis Vlasenko2008-11-201-5/+5
| | | | | Appears to build fine (several .configs tried)
* next portion of libc_hidden_proto removalDenis Vlasenko2008-11-201-1/+1
|
* - tidy up inline:Bernhard Reutner-Fischer2008-10-241-2/+2
| | | | ldso and syscalls are __always_inline (the latter would need more cleanup)
* - remove superfluous ';'. No objcode changes.Bernhard Reutner-Fischer2008-10-221-1/+1
|
* Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL blockDenis Vlasenko2008-05-191-4/+4
| | | | | | | | | 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.
* michael_d in #1849 writes: The getcwd() implementation in the absence of a ↵Mike Frysinger2008-01-051-1/+1
| | | | getcwd syscall has an off-by-one allocation bug. As a result, sometimes the returned string has garbage at the end.
* sync change from glibc for larger path maxMike Frysinger2006-06-161-1/+3
|
* make DODEBUG=y happy, update sysdeps/common/* copyrightPeter S. Mazinger2006-01-141-11/+13
|
* hidden_def/hidden_proto: convert all users (I hope) termios split, add some ↵Peter S. Mazinger2006-01-141-19/+31
| | | | missing headers, other jump relocs removed
* Convert some usersPeter S. Mazinger2005-12-161-1/+2
|
* Convert all users of earlier hiddensPeter S. Mazinger2005-12-131-1/+1
|
* Convert internal users of chmod/*stat*, minimize change for __strsepPeter S. Mazinger2005-12-131-4/+4
|
* Use __open|__closedirPeter S. Mazinger2005-12-081-0/+3
|
* Hide morePeter S. Mazinger2005-12-071-2/+2
|
* Hide mostly used functionsPeter S. Mazinger2005-12-011-9/+9
|
* Allow partly IMA compile of this directoryPeter S. Mazinger2005-11-021-1/+1
|
* For current kernels, we just use the getcwd() syscall. For old 2.0 linuxEric Andersen2005-08-151-1/+10
| | | | | 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.
* Fix numerous problems with both getcwd implementations.Eric Andersen2003-09-061-66/+63
| | | | -Erik
* Fix the other instance of getcwdEric Andersen2002-12-041-18/+21
|
* Properly allocate memory when size is 0, but so is bufEric Andersen2002-12-041-25/+28
|
* Rework syscall handling. Rewrite syscall handlers for x86 and ARM.Eric Andersen2002-07-221-3/+7
| | | | | | 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
* Cleanup the getcwd implementation (again) since I broke itEric Andersen2002-06-181-0/+172
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