freebsd-skq/lib
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
..
bind Update to version 9.8.2, the latest from ISC, which contains numerous bug fixes. 2012-04-05 04:29:35 +00:00
clang Make sure a few new internal clang headers get installed, I missed these 2012-05-05 15:35:22 +00:00
csu Revert r234356 for now, as it leads to run-time problems on 32-bit 2012-04-23 06:33:27 +00:00
libalias A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
libarchive Silence alignment warnings from clang in libarchive's ppmd code (which 2012-03-23 11:18:07 +00:00
libauditd A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
libbegemot A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
libblocksruntime Import libcompiler_rt into HEAD and add Makefiles. 2010-11-11 15:13:11 +00:00
libbluetooth Remove trailing whitespace per mdoc lint warning 2012-03-29 05:02:12 +00:00
libbsm A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
libbsnmp Bump shared libraries version numbers in preparation for 9.0. 2011-08-28 09:26:48 +00:00
libbz2 A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
libc According to SUSv4, realpath(3) must fail if 2012-05-11 11:29:08 +00:00
libc++ Make sure libgcc_s is finished building in _startup_libs before 2012-03-17 22:12:09 +00:00
libcalendar A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
libcam Use snprintf(3) constantly when generating CAM error messages. 2012-03-03 09:19:20 +00:00
libcom_err - Update FreeBSD Heimdal distribution to version 1.5.1. This also brings 2012-03-22 08:48:42 +00:00
libcompat A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
libcompiler_rt Upgrade libcompiler_rt to upstream revision 147390. 2011-12-31 19:01:48 +00:00
libcrypt Make the item numbers match the crypt magic number 2012-04-11 14:12:28 +00:00
libcxxrt Import new version of libcxxrt. Now works correctly with libobjc2 to implement 2012-03-20 17:58:15 +00:00
libdevinfo sys/rman.h now requires sys/types.h. Include it to make the API match 2011-02-10 04:53:09 +00:00
libdevstat Globally replace u_int*_t from (non-contributed) man pages. 2012-02-12 18:29:56 +00:00
libdisk Remove an errant `#define dprintf printf'. It seems to be leftover 2012-01-20 06:59:29 +00:00
libdwarf Bump shared libraries version numbers in preparation for 9.0. 2011-08-28 09:26:48 +00:00
libedit Correct r228114 and use the same implementation for tilde.h as for history.h 2012-04-26 00:51:43 +00:00
libefi A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
libelf Remove trailing whitespace per mdoc lint warning 2012-03-29 05:02:12 +00:00
libexpat A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
libfetch Don't reuse credentials if redirected to a different host. 2012-04-30 12:12:48 +00:00
libgeom Back out r233646. Although it fixed most libgeom consumers under 32-bit 2012-04-10 17:37:24 +00:00
libgpib Remove superfluous paragraph macro. 2012-03-25 12:13:24 +00:00
libgssapi - Use __NO_TLS preprocessor value to make assumptions about TLS support 2012-04-08 03:55:25 +00:00
libiconv Remove redundant assignments to WARNS. 2011-06-06 20:24:17 +00:00
libiconv_modules Add the BSD-licensed Citrus iconv to the base system with default off 2011-02-25 00:04:39 +00:00
libipsec MFp4 204292: 2012-02-11 20:43:01 +00:00
libipx A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
libjail Handle the case where a boolean parameter is also a node. 2012-03-01 15:09:41 +00:00
libkiconv Add unicode support to msdosfs and smbfs; original pathes from imura, 2011-11-18 03:05:20 +00:00
libkse Fix typo in ".PATH" 2012-04-18 07:02:53 +00:00
libkvm Try to avoid ambiguity when sysctl returns ENOMEM additionally 2012-02-01 18:02:13 +00:00
liblzma Update xz to git snapshot of v5.0 branch as of 20110711 (post-5.0.3) 2011-07-11 14:15:27 +00:00
libmagic Update file(1) to version 5.11. 2012-04-19 03:20:13 +00:00
libmd Remove the RFC 1319 MD2 Message-Digest Algorithm routines from libmd. 2012-04-28 02:48:51 +00:00
libmemstat Fix various typos in manual pages. 2012-02-25 14:31:25 +00:00
libmilter A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
libmp Fix whitespace inconsistencies found in homegrown Symbol.maps. 2011-10-07 15:05:24 +00:00
libncp Change ncp_scan_bindery_object() to pass a constant search string. 2011-10-16 08:44:03 +00:00
libnetgraph A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
libngatm A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
libopie X11BASE has been deprecated for a long time and will die soon 2012-01-09 00:48:19 +00:00
libpam Fix error messages containing the executed command name 2012-04-12 14:02:59 +00:00
libpcap Bump shared libraries version numbers in preparation for 9.0. 2011-08-28 09:26:48 +00:00
libpmc mdoc: sort prologue macros. 2012-03-29 06:19:00 +00:00
libproc Make libproc compilable for MIPS 2012-03-23 23:07:02 +00:00
libprocstat Export some more useful info about shared memory objects to userland 2012-04-01 18:22:48 +00:00
libradius Globally replace u_int*_t from (non-contributed) man pages. 2012-02-12 18:29:56 +00:00
librpcsec_gss Remove trailing whitespace per mdoc lint warning 2012-03-29 05:02:12 +00:00
librpcsvc Consistently set RPCGEN_CPP when running rpcgen, so the C preprocessor 2012-02-07 09:27:07 +00:00
librt Register signal 33 explicitly as reserved by real-time library, and 2012-03-26 19:12:09 +00:00
librtld_db Bump shared libraries version numbers in preparation for 9.0. 2011-08-28 09:26:48 +00:00
libsbuf Ok, so we use different comment conventions in Symbol.map and Version.def 2011-05-17 19:20:32 +00:00
libsdp Change the SDP_GET* macros to cast to a const buffer. 2011-10-16 08:45:16 +00:00
libsm Define several extra macros in bsd.sys.mk and sys/conf/kern.pre.mk, to 2012-02-28 18:30:18 +00:00
libsmb A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
libsmdb A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
libsmutil A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
libstand Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
libstdbuf Fix small documentation mistakes. 2012-04-28 21:50:30 +00:00
libstdthreads Pull up vendor changes to mdoc(7) 2012-01-05 21:36:12 +00:00
libtacplus Remove trailing whitespace per mdoc lint warning 2012-03-29 05:02:12 +00:00
libtelnet - Do not use deprecated krb5 error message reporting functions in libtelnet. 2012-04-06 00:03:45 +00:00
libthr Create a common function lookup() to search a chan, this eliminates 2012-05-10 09:30:37 +00:00
libthread_db Define several extra macros in bsd.sys.mk and sys/conf/kern.pre.mk, to 2012-02-28 18:30:18 +00:00
libufs Make berase() work on platforms whose kernel lacks DIOCGDELETE ioctl. 2011-12-08 12:31:47 +00:00
libugidfw Quiet clang warnings by using string literal format strings. 2011-01-04 13:02:52 +00:00
libulog Properly use SHA1_Final() instead of SHA_Final(). 2012-04-19 15:28:15 +00:00
libusb Add missing LibUSB 1.0 API function: libusb_get_string_descriptor(). 2012-05-07 14:07:13 +00:00
libusbhid MFprojects/hid: 2011-09-28 14:52:25 +00:00
libutil mdoc: terminate quoted strings. 2012-03-30 12:34:34 +00:00
libvgl Fix various typos in manual pages. 2012-02-25 14:31:25 +00:00
libwrap A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
liby A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
libypclnt Consistently set RPCGEN_CPP when running rpcgen, so the C preprocessor 2012-02-07 09:27:07 +00:00
libz Define several extra macros in bsd.sys.mk and sys/conf/kern.pre.mk, to 2012-02-28 18:30:18 +00:00
msun I stopped using my middle name years ago. 2012-04-25 18:07:35 +00:00
ncurses A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00
Makefile Vendor import of clang release_31 branch r155985: 2012-05-03 16:53:59 +00:00
Makefile.inc A new jail(8) with a configuration file, to replace the work currently done 2010-10-19 21:32:13 +00:00