NetBSD-Bugs archive

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

PR/55808 CVS commit: src/lib/libc/stdio

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

From: "Jaromir Dolecek" <>
Subject: PR/55808 CVS commit: src/lib/libc/stdio
Date: Sun, 31 Jan 2021 16:18:22 +0000

 Module Name:	src
 Committed By:	jdolecek
 Date:		Sun Jan 31 16:18:22 UTC 2021
 Modified Files:
 	src/lib/libc/stdio: fread.c
 Log Message:
 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.23 -r1.24 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