freebsd-nq/lib/libc
Konstantin Belousov 9d79ec20fb Slightly modernize realpath(3).
SUSv4 requires that implementation returns EINVAL if supplied path is NULL,
and ENOENT if path is empty string [1].
Bring prototype in conformance with SUSv4, adding restrict keywords.
Allow the resolved path buffer pointer be NULL, in which case realpath(3)
allocates storage with malloc().

PR:	kern/121897 [1]
MFC after:	2 weeks
2010-04-20 10:16:44 +00:00
..
amd64 Mark uname(), getdomainname() and setdomainname() with COMPAT_FREEBSD4. 2008-11-09 10:45:13 +00:00
arm The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-02 22:16:40 +00:00
compat-43 Fix several typos in macros or macro misusage. 2010-03-12 10:01:06 +00:00
db libc/db/hash: cap auto-tuned block size with a value that actually works 2010-04-05 10:12:21 +00:00
gdtoa Unbreak the build for arm and powerpc. 2008-04-12 14:53:52 +00:00
gen getcwd(3): Clarify that EACCES may or may not be checked. 2010-04-17 15:52:50 +00:00
gmon Fix many "function declaration isn't a prototype" warnings in libc. 2009-12-05 19:31:38 +00:00
i386 Remove hand-written labs/abs implementations. GCC is smart enough. 2009-06-23 09:04:59 +00:00
ia64 Remove unneeded stdlib directories. 2009-06-23 14:11:41 +00:00
include The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-02 17:20:04 +00:00
inet Merge the resolver part of BIND 9.4.3 into HEAD. 2008-12-14 19:39:53 +00:00
isc
locale mdoc: remove .Pp where not needed 2010-04-14 18:29:26 +00:00
mips Reinstate the ptrace patch to restore the 'gp' register after calling 2010-02-04 05:49:59 +00:00
nameser This commit was generated by cvs2svn to compensate for changes in r174223, 2007-12-03 15:07:58 +00:00
net Use the stored length value instead of calculating it by strlen(). 2010-04-06 12:33:05 +00:00
nls - More style(9) fixups 2010-02-20 08:19:19 +00:00
posix1e mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
powerpc The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-02 22:11:14 +00:00
quad
regex Fix an off-by-one error in the marking of the O_CH operator 2009-09-16 06:32:23 +00:00
resolv Add an option to enforce strict RFC 1034 compliance. 2009-05-29 07:34:54 +00:00
rpc Fix a bug in the previous change: remove function-local definition of 2010-03-11 16:58:15 +00:00
softfloat Add #endif missed in r206490. 2010-04-11 21:22:02 +00:00
sparc64 Avoid aliasing which leads to incorrect results when compiling with the 2010-03-21 13:18:08 +00:00
stdio I feel this wording of the history is more clear. 2010-04-05 22:09:29 +00:00
stdlib Slightly modernize realpath(3). 2010-04-20 10:16:44 +00:00
stdtime Split the contributed code from libc/stdtime from lib/libc/stdtime 2010-02-26 06:44:00 +00:00
string Correct bugs fixed but not merged from my own tree. 2010-03-13 00:15:06 +00:00
sys Revert r206649. 2010-04-18 18:23:11 +00:00
uuid Move uuid_enc_le, uuid_dec_le, uuid_enc_be and uuid_dec_be symbols 2008-09-19 15:52:56 +00:00
xdr Implement support for RPCSEC_GSS authentication to both the NFS client 2008-11-03 10:38:00 +00:00
yp Eliminate more dead stores. 2009-11-25 04:45:45 +00:00
Makefile Merge r195030 from project/mips to head by hand 2010-01-09 00:01:35 +00:00
Versions.def Bump our namespace version for 9.0. 2009-09-13 13:15:36 +00:00