freebsd-dev/lib/libc
Ed Schouten 77822acff7 Fix fwrite() to return 0 when size or nmemb are zero.
Right now nmemb is returned when size is 0. In newer versions of the
standards, it is explicitly required that fwrite() should return 0.

Submitted by:	Christoph Mallon
Approved by:	re (kib)
2009-07-12 13:09:43 +00:00
..
amd64 Mark uname(), getdomainname() and setdomainname() with COMPAT_FREEBSD4. 2008-11-09 10:45:13 +00:00
arm Remove unneeded stdlib directories. 2009-06-23 14:11:41 +00:00
compat-43 Use C comments since we now preprocess these files with CPP. 2007-04-29 14:05:22 +00:00
db Update SCCS IDs for Berkeley DB 1.86 merge. 2009-06-24 01:15:10 +00:00
gdtoa Unbreak the build for arm and powerpc. 2008-04-12 14:53:52 +00:00
gen Make the structure definitions in the man pages match the real code, and 2009-06-29 18:54:17 +00:00
gmon Remove .mcount from gmon's Symbol map and add it to the appropriate 2007-05-13 14:16:55 +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 Change the ABI of some of the structures used by the SYSV IPC API: 2009-06-24 21:10:52 +00:00
inet Merge the resolver part of BIND 9.4.3 into HEAD. 2008-12-14 19:39:53 +00:00
isc Merge BIND 9.4.1 into main chunk. 2007-06-03 17:20:27 +00:00
locale Change dstp to be const and remove bogus cast. 2009-01-15 20:45:59 +00:00
mips Remove unneeded stdlib directories. 2009-06-23 14:11:41 +00:00
nameser This commit was generated by cvs2svn to compensate for changes in r174223, 2007-12-03 15:07:58 +00:00
net Document how to enable strict RFC 1034 enforcements. 2009-05-29 07:55:44 +00:00
nls Improve the German translation. 2009-03-25 12:36:37 +00:00
posix1e Fix acl_set_fd(3) and acl_get_fd(3) for cases where the kernel doesn't know 2009-06-25 20:57:53 +00:00
powerpc Mark uname(), getdomainname() and setdomainname() with COMPAT_FREEBSD4. 2008-11-09 10:45:13 +00:00
quad Fix a typo that prevented the quad symbols from being exported 2007-07-06 13:42:24 +00:00
regex Add two example regexps: (1) one for matching all the characters 2008-09-05 17:41:20 +00:00
resolv Add an option to enforce strict RFC 1034 compliance. 2009-05-29 07:34:54 +00:00
rpc Lock around access to nc_file and netconfig_info ("ni"). The RPC 2009-06-24 23:17:16 +00:00
softfloat Reflect license change from NetBSD. 2009-03-10 21:13:26 +00:00
sparc64 Remove unneeded stdlib directories. 2009-06-23 14:11:41 +00:00
stdio Fix fwrite() to return 0 when size or nmemb are zero. 2009-07-12 13:09:43 +00:00
stdlib Simplify. We can just use .sinclude here. 2009-06-23 14:10:46 +00:00
stdtime Implement %z for strptime. 2009-06-25 23:59:23 +00:00
string Correct the information about when the respective functionality first 2009-04-23 08:37:56 +00:00
sys There is an optimization in chmod(1), that makes it not to call chmod(2) 2009-07-08 15:23:18 +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 Fix some "in in" typos in comments. 2008-03-26 07:32:08 +00:00
Makefile Back out previous revision until better tested fix is ready. 2009-06-29 01:33:59 +00:00
Versions.def Keep versions on a dependency chain to exclude even remote possiblity 2008-05-07 15:39:34 +00:00