freebsd-skq/lib/libc
Konstantin Belousov fdbe55fccb 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
2012-05-11 11:29:08 +00:00
..
amd64 Make the sys/ucontext.h self-contained by changing the return type 2012-02-01 13:33:53 +00:00
arm Replace the C implementation of __aeabi_read_tp with an assembly version. 2012-04-16 09:38:20 +00:00
compat-43 General mdoc(7) and typo fixes. 2012-05-08 18:56:21 +00:00
db Globally replace u_int*_t from (non-contributed) man pages. 2012-02-12 18:29:56 +00:00
gdtoa Implement xlocale APIs from Darwin, mainly for use by libc++. This adds a 2011-11-20 14:45:42 +00:00
gen Use the .Bx macro instead of BSD 2012-04-26 19:21:58 +00:00
gmon Allow users of gprof to get per run output files (using the pid) 2012-04-29 22:19:58 +00:00
i386 mdoc: sort prologue macros. 2012-03-26 19:23:57 +00:00
ia64 Make the sys/ucontext.h self-contained by changing the return type 2012-02-01 13:33:53 +00:00
iconv Fix Fo arguments. 2012-03-28 19:20:28 +00:00
include Take the spinlock around clearing of the fp->_flags in fclose(3), which 2012-04-24 17:51:36 +00:00
inet A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
isc A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
locale Fix copy/paste error in lib/libc/locale/toupper.c. 2012-05-10 20:03:34 +00:00
mips Implement _set_tp 2012-03-06 03:30:09 +00:00
nameser A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
net Remove debug output. 2012-05-04 10:26:50 +00:00
nls A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
posix1e mandoc complains loudly when <TAB>s are misused in columnated lists. Fix 2012-03-29 16:02:40 +00:00
powerpc Do not restore the register holding the TLS pointer when doing various 2012-04-11 00:00:40 +00:00
powerpc64 Do not restore the register holding the TLS pointer when doing various 2012-04-11 00:00:40 +00:00
quad A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
regex Remove some duplicated copyright notices. 2012-03-06 12:53:44 +00:00
resolv Remove meaningless self-assignment in res_send.c, otherwise clang will 2011-12-15 20:10:12 +00:00
rpc Plug a leak. 2012-05-08 19:47:52 +00:00
softfloat Conditionalize the __floatunsisf and __floatunsidf functions, added in 2012-01-20 14:44:21 +00:00
sparc64 Make the sys/ucontext.h self-contained by changing the return type 2012-02-01 13:33:53 +00:00
stdio Remove reference to non-existent FreeBSD Security Architecture 2012-05-09 17:27:49 +00:00
stdlib According to SUSv4, realpath(3) must fail if 2012-05-11 11:29:08 +00:00
stdtime Implement xlocale APIs from Darwin, mainly for use by libc++. This adds a 2011-11-20 14:45:42 +00:00
string Remove trailing whitespace per mdoc lint warning 2012-03-29 05:02:12 +00:00
sys General mdoc(7) and typo fixes. 2012-05-08 18:56:21 +00:00
uuid Note that memory should be freed after uuid_to_string(3) call. 2012-03-01 14:39:01 +00:00
xdr Add a HISTORY section 2011-07-10 06:57:00 +00:00
yp Consistently set RPCGEN_CPP when running rpcgen, so the C preprocessor 2012-02-07 09:27:07 +00:00
Makefile Import jemalloc 9ef7f5dc34ff02f50d401e41c8d9a4a928e7c2aa (dev branch, 2012-04-17 07:22:14 +00:00
Versions.def Add a FBSD_1.3 namespace for FreeBSD 10. 2011-10-10 15:42:33 +00:00