opnsense-src/lib
Andrey A. Chernov 5f5a50728c 1) Although unpublished version of standard
http://austingroupbugs.net/view.php?id=385#c713
(Resolved state) recommend this way for the current standard (called
"earlier" in the text)

"However, earlier versions of this standard did not require this, and the
same example had to be written as:

    // buf was obtained by malloc(buflen)
    ret = write(fd, buf, buflen);
    if (ret < 0) {
        int save = errno;
        free(buf);
        errno = save;
        return ret;
    }
"

from feedback I have for previous commit it seems that many people prefer
to avoid mass code change needed for current standard compliance
and prefer to track unpublished standard instead, which requires now
that free() itself must save errno, not its usage code.

So, I back out "save errno across free()" part of previous commit,
and will fill PR for changing free() isntead.

2) Remove now unused serrno.

MFC after:      1 week
2012-06-05 16:16:33 +00:00
..
bind Upgrade to BIND version 9.8.3, the latest from ISC. 2012-05-28 19:47:56 +00:00
clang Upgrade our copy of llvm/clang to 3.1 release. Release notes can be 2012-05-23 21:48:49 +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 General mdoc(7) and typo fixes. 2012-05-11 20:06:46 +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 1) Although unpublished version of standard 2012-06-05 16:16:33 +00:00
libc++ Install libcxxrt's C++ ABI and unwind headers. This is done in libc++'s 2012-06-02 11:07:19 +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 Switch sparc64 to using libcompiler_rt; since r230021 we have a workaround 2012-05-15 22:47:34 +00:00
libcrypt mdoc: minor Bl improvements. 2012-06-02 08:47:26 +00:00
libcxxrt Tabify libcxxrt and libc++'s Makefiles. 2012-06-02 11:00:48 +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 mdoc: minor Bl improvements. 2012-06-02 08:47:26 +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 libfetch: Avoid SIGPIPE on network connections. 2012-05-28 19:22:23 +00:00
libgeom Back out r233646. Although it fixed most libgeom consumers under 32-bit 2012-04-10 17:37:24 +00:00
libgpib mdoc: minor Bl improvements. 2012-06-02 08:47:26 +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 The fix in r235291 re-broke the "allow.nomount" case. Re-fix it 2012-05-22 18:30:32 +00:00
libkiconv - Include forgotten bsd.own.mk and fix condition 2012-05-28 14:45:12 +00:00
libkse Fix typo in ".PATH" 2012-04-18 07:02:53 +00:00
libkvm General mdoc(7) and typo fixes. 2012-05-11 20:06:46 +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 Don't depend on getline being on the build machine. That's 2012-05-19 02:30:10 +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
libnandfs Import work done under project/nand (@235533) into head. 2012-05-17 10:11:18 +00:00
libncp Add characters mapping for codepages used in Germany. 2012-06-01 03:59:08 +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 Update to OpenPAM Micrampelis. 2012-05-26 17:10:16 +00:00
libpcap Merge from vendor branch: update libpcap to 1.2.1. 2012-05-14 05:12:56 +00:00
libpmc mdoc: minor Bl improvements. 2012-06-02 08:47:26 +00:00
libproc Make libproc compilable for MIPS 2012-03-23 23:07:02 +00:00
libprocstat Don't cast inode number or file size down to long or unsigned. 2012-05-18 10:15:46 +00:00
libradius General mdoc(7) and typo fixes. 2012-05-11 20:06:46 +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 Consitently use "__LP64__". 2012-05-24 21:44:46 +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 General mdoc(7) and typo fixes. 2012-05-11 20:06:46 +00:00
libtelnet - Do not use deprecated krb5 error message reporting functions in libtelnet. 2012-04-06 00:03:45 +00:00
libthr Return EBUSY for PTHREAD_MUTEX_ADAPTIVE_NP too when the mutex could not 2012-05-27 01:24:51 +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 mdoc: minor Bl improvements. 2012-06-02 08:47:26 +00:00
libusbhid HID Report ID is unsigned value, so clear the rest of bits from possible 2012-05-16 17:51:56 +00:00
libutil General mdoc(7) and typo fixes. 2012-05-12 15:08:22 +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 Allow inclusion of libc++ <cmath> to work after including math.h 2012-05-27 12:54:41 +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 Import work done under project/nand (@235533) into head. 2012-05-17 10:11:18 +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