summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/quick_exit.c
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2012-05-11 11:29:08 +0000
committerkib <kib@FreeBSD.org>2012-05-11 11:29:08 +0000
commit01660ab3d54ad0440b7c193a6fea999259cc5165 (patch)
tree59dba3c6b0d4c42a99eee48be8b64ee14f158644 /lib/libc/stdlib/quick_exit.c
parentde60317f67ebe09acba5170c8ecb3ce44229d388 (diff)
downloadFreeBSD-src-01660ab3d54ad0440b7c193a6fea999259cc5165.zip
FreeBSD-src-01660ab3d54ad0440b7c193a6fea999259cc5165.tar.gz
According to SUSv4, realpath(3) must fail if
[ENOENT] A component of file_name does not name an existing file or file_name points to an empty string. [ENOTDIR] A component of the path prefix is not a directory, or the file_name argument contains at least one non- <slash> character and ends with one or more trailing <slash> characters and the last pathname component names an existing file that is neither a directory nor a symbolic link to a directory. Add checks for the listed conditions, and set errno accordingly. Update the realpath(3) manpage to mention SUS behaviour. Remove the requirement to include sys/param.h before stdlib.h. PR: 128933 MFC after: 3 weeks
Diffstat (limited to 'lib/libc/stdlib/quick_exit.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud