NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/55808 CVS commit: [netbsd-9] src/lib/libc/stdio

The following reply was made to PR lib/55808; it has been noted by GNATS.

From: "Martin Husemann" <>
Subject: PR/55808 CVS commit: [netbsd-9] src/lib/libc/stdio
Date: Sun, 7 Feb 2021 17:41:02 +0000

 Module Name:	src
 Committed By:	martin
 Date:		Sun Feb  7 17:41:02 UTC 2021
 Modified Files:
 	src/lib/libc/stdio [netbsd-9]: fread.c
 Log Message:
 Pull up following revision(s) (requested by jdolecek in ticket #1198):
 	lib/libc/stdio/fread.c: revision 1.24 (via patch)
 for unbuffered I/O arrange for the destination buffer to be filled in one
 go, instead of triggering long series of 1 byte read(2)s; this speeds up
 fread() several order of magnitudes for this case, directly proportional
 to the size of the supplied buffer
 change adapted from OpenBSD rev. 1.19
 fixes PR lib/55808 by Roland Illig
 To generate a diff of this commit:
 cvs rdiff -u -r1.22 -r1.22.34.1 src/lib/libc/stdio/fread.c
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index