Home
last modified time | relevance | path

Searched hist:"77822 acff7bf72c4a8e4020fb9256372f851c65e" (Results 1 – 2 of 2) sorted by relevance

/freebsd/lib/libc/stdio/
H A Dfwrite.cdiff 77822acff7bf72c4a8e4020fb9256372f851c65e Sun Jul 12 15:09:43 CEST 2009 Ed Schouten <ed@FreeBSD.org> 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)
diff 77822acff7bf72c4a8e4020fb9256372f851c65e Sun Jul 12 15:09:43 CEST 2009 Ed Schouten <ed@FreeBSD.org> 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)
H A Dfread.cdiff 77822acff7bf72c4a8e4020fb9256372f851c65e Sun Jul 12 15:09:43 CEST 2009 Ed Schouten <ed@FreeBSD.org> 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)
diff 77822acff7bf72c4a8e4020fb9256372f851c65e Sun Jul 12 15:09:43 CEST 2009 Ed Schouten <ed@FreeBSD.org> 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)