avoid use of readv syscall in __stdio_read backend when not needed
authorRich Felker <dalias@aerifal.cx>
Sat, 24 Feb 2018 16:19:54 +0000 (11:19 -0500)
committerRich Felker <dalias@aerifal.cx>
Sat, 24 Feb 2018 16:19:54 +0000 (11:19 -0500)
formally, calling readv with a zero-length first iov component should
behave identically to calling read on just the second component, but
presence of a zero-length iov component has triggered bugs in some
kernels and performs significantly worse than a simple read on some
file types.


No differences found