summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib/realpath.c
AgeCommit message (Expand)Author
2025-10-13realpath: Report correct path on failureDag-Erling Smørgrav
2025-02-19libc: use __sys___realpathat directly in realpathBrooks Davis
2024-09-18realpath(3): Minor style issues.Dag-Erling Smørgrav
2024-07-13include: ssp: fortify <stdlib.h>Kyle Evans
2023-11-26lib: Remove ancient SCCS tags.Warner Losh
2023-11-01libc: Purge unneeded cdefs.hWarner Losh
2023-08-16Remove $FreeBSD$: one-line .c patternWarner Losh
2020-02-20vfs: add realpathat syscallMateusz Guzik
2019-06-26Fix -Wsign-compare warnings in realpath.cAlex Richardson
2017-11-25libc: further adoption of SPDX licensing ID tags.Pedro F. Giffuni
2017-05-15Style.Konstantin Belousov
2017-05-15Simplify cleanup on failure in realpath(3).Konstantin Belousov
2017-05-15Fix several buffer overflows in realpath(3).Konstantin Belousov
2014-04-13realpath(): Properly fail "." or ".." components after non-directories.Jilles Tjoelker
2013-04-17- Correct mispellings of the word occurrenceGabor Kovesdan
2012-09-12Avoid mapping ENOENT to ENOTDIR for non-existent path components.Ed Maste
2012-06-051) Although unpublished version of standardAndrey A. Chernov
2012-06-041) IEEE Std 1003.1-2008, "errno" section, is explicit thatAndrey A. Chernov
2012-05-11According to SUSv4, realpath(3) must fail ifKonstantin Belousov
2011-11-04Fix a warning emitted by Clang.Ed Schouten
2011-01-08Fix some style(9) issues.Konstantin Belousov
2010-04-20Free() is not allowed to modify errno, remove safety brackets around it [1].Konstantin Belousov
2010-04-20Slightly modernize realpath(3).Konstantin Belousov
2003-05-28Fix stripping last path component when only one path component left.Max Khon
2003-05-01Back out the `hiding' of strlcpy and strlcat. Several peopleJacques Vidrine
2003-04-29`Hide' strlcpy and strlcat (using the namespace.h / __weak_referenceJacques Vidrine
2003-03-29BDE'ifyMax Khon
2003-03-29fix truncation check and buffer overflow checkMax Khon
2003-03-28- MAXPATHLEN -> PATH_MAX (pass correct buffer size to readlink as well)Max Khon
2003-03-27Make realpath() thread-safe. New implementation does not use chdir(2) at all.Max Khon
2003-02-22Use strlcpy instead of strncpy.Johan Karlsson
2003-01-15realpath(3) should use PATH_MAX instead of MAXPATHLEN according to POSIX.Johan Karlsson
2002-03-22Fix the style of the SCM ID's.David E. O'Brien
2001-01-24Remove _THREAD_SAFE and make libc thread-safe by default byDaniel Eischen
2000-01-27Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(),Jason Evans
2000-01-12Add three-tier symbol naming in support of POSIX thread cancellationJason Evans
1999-02-12fix tabs lost apparently in copy&pasteAndrey A. Chernov
1998-09-16Replace memory leaking instances of realloc with non-leaking reallocf.Warner Losh
1997-07-16realpath() should break on looped symlinks.Poul-Henning Kamp
1997-03-13Part 2 of a failed commit (cvs broke). Original message:Peter Wemm
1997-03-11merge from Lite2 - realpath() now shares a lot of code with getcwd()Peter Wemm
1995-02-25Don't attempt to lstat() the POSIXLY invalid empty pathname.Bruce Evans
1994-05-27BSD 4.4 Lite Lib SourcesRodney W. Grimes