summaryrefslogtreecommitdiff
path: root/lib/libc/gen/getcwd.c
Commit message (Expand)AuthorAgeFilesLines
* Clean up the vcs ID strings in libc's gen/ directory.John Baldwin2018-07-031-3/+1
* General further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-1/+3
* Renumber copyright clause 4Warner Losh2017-02-281-1/+1
* Use ANSI C prototypes. Eliminates -Wold-style-definition warnings.Craig Rodrigues2015-09-201-3/+1
* libc: Use O_CLOEXEC for various internal file descriptors.Jilles Tjoelker2012-09-291-1/+1
* Hide DIR definition by making it an opaque struct typedef.Gleb Kurtsou2012-05-191-4/+6
* Make getcwd(3) faster, simpler and more compliant using *at syscalls.Jilles Tjoelker2009-10-131-45/+18
* Per Regents of the University of Calfornia letter, remove advertisingWarner Losh2007-01-091-4/+0
* Just by allocating size*2 bytes we can't be sure that new size will be enough,Andrey A. Chernov2005-09-181-2/+2
* Cosmetic fixes to prev. commit.Andrey A. Chernov2005-09-151-4/+4
* Remove any hardcoded assumptions about malloc's way of allocating,Andrey A. Chernov2005-09-141-4/+4
* Remove incomplete support for running FreeBSD userland on old NetBSD kernelsTim J. Robbins2003-10-291-2/+0
* Avoid a memory leak by using reallocf() instead of realloc().Tim J. Robbins2003-01-101-1/+1
* Prototype __getcwd() to avoid a warning.Tim J. Robbins2003-01-101-0/+2
* s/trailing NULL/trailing NUL/Juli Mallett2002-08-191-1/+1
* * Remove 'register'. (some functions had 7+ register functions...)David E. O'Brien2002-02-011-8/+8
* Remove _THREAD_SAFE and make libc thread-safe by default byDaniel Eischen2001-01-241-1/+3
* Remove the SIGSYS handler and wrapper around the __getcwd() syscall.Peter Wemm2000-09-051-39/+10
* Explicitly use sigemptyset to clear a sigset_t. ExplicitMarcel Moolenaar1999-09-281-1/+4
* Replace memory leaking instances of realloc with non-leaking reallocf.Warner Losh1998-09-161-1/+1
* NetBSD doesn't have a __getcwd syscall, so set have__getcwd to `no'John Birrell1998-05-151-0/+4
* Return the correct errno from getcwd() even if free() or closedir()Stephen McKay1998-01-151-0/+4
* Put a system call not present checking wrapper around the call toPeter Wemm1997-09-161-9/+35
* Fix yet a minor stylistic nit from Bruce (Doesn't he have morePoul-Henning Kamp1997-09-151-7/+9
* Fix a buglet and a couple of stylistic nits from Bruce.Poul-Henning Kamp1997-09-151-3/+2
* Add __getcwd() syscall, and have getcwd() take a shot at it.Poul-Henning Kamp1997-09-141-0/+11
* Fixed file descriptor leak that occurs after certain types of failures.David Greenman1997-08-151-2/+5
* Back out a dubious Lite2 change to "optimise" getcwd() to look at $PWDPeter Wemm1997-03-131-153/+0
* merge from Lite2 - realpath() now shares a lot of code with getcwd()Peter Wemm1997-03-111-4/+158
* Corrently null-terminate the path being passed to the opendir() calls,Peter Wemm1996-10-171-0/+1
* General -Wall warning cleanup, part I.Jordan K. Hubbard1996-07-121-1/+1
* Don't cast void functions to void.Jeffrey Hsu1995-06-201-2/+2
* Backed out Keith Bostic's getcwd/$PWD hack. It is causing things to breakDavid Greenman1995-02-071-24/+5
* A cute hack to speed up things by Keith: if getenv("PWD") is the samePoul-Henning Kamp1995-02-041-5/+24
* Obtained from: 1.1.5Bruce Evans1994-12-121-1/+5
* BSD 4.4 Lite Lib SourcesRodney W. Grimes1994-05-271-0/+230