[prev in list] [next in list] [prev in thread] [next in thread]
List: netbsd-bugs
Subject: PR/55808 CVS commit: src/lib/libc/stdio
From: "Jaromir Dolecek" <jdolecek () netbsd ! org>
Date: 2021-01-31 16:20:01
Message-ID: 20210131162001.F33B21A923F () mollari ! NetBSD ! org
[Download RAW message or body]
The following reply was made to PR lib/55808; it has been noted by GNATS.
From: "Jaromir Dolecek" <jdolecek@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
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.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic