summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/realpath.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Check strlc{py,at} return value and return NULL upon truncation insteadmillert2004-11-301-10/+23
| | | | of silently truncating. OK deraadt@ otto@
* Rename rootd to needslash and invert its value. This fixes the checkmillert2003-08-011-6/+6
| | | | | for ENAMETOOLONG, though since we use strlcpy() and strlcat() this is not a big deal. Problem found by vincent@
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* strcat -> strlcathin2003-04-041-3/+3
| | | | ok deraadt@ tedu@ tdeval@
* try to use strlcpy and snprintf more; ok variousderaadt2002-05-241-3/+3
|
* If the user passes in "" as the string to resolve the lstat() willmillert2002-01-121-2/+6
| | | | | | fail anyway so check for that. Also convert "." to "" since that way we avoid the lstat() (which we don't need) and the subsequent chdir() and some dir checks.
* use strlcpy vs strncpy+a[len-1]='\0'. millert@ ok.lebel2001-06-271-3/+2
|
* readlink(path, buf, sizeof buf-1). Never forget that -1.deraadt1998-05-181-2/+2
|
* add ELOOP support; shigio@wafu.netgate.netderaadt1997-06-201-1/+6
|
* Fix RCS idstholo1996-08-191-2/+1
| | | | Make sure everything uses {SYS,}LIBC_SCCS properly
* initial import of NetBSD treederaadt1995-10-181-0/+159