Page MenuHomeFreeBSD

D45999.diff
No OneTemporary

D45999.diff

diff --git a/sys/kern/sys_pipe.c b/sys/kern/sys_pipe.c
--- a/sys/kern/sys_pipe.c
+++ b/sys/kern/sys_pipe.c
@@ -941,8 +941,10 @@
uio->uio_iov->iov_len -= size;
uio->uio_iov->iov_base = (char *)uio->uio_iov->iov_base + size;
- if (uio->uio_iov->iov_len == 0)
+ if (uio->uio_iov->iov_len == 0) {
uio->uio_iov++;
+ uio->uio_iovcnt--;
+ }
uio->uio_resid -= size;
uio->uio_offset += size;
return (0);

File Metadata

Mime Type
text/plain
Expires
Mon, Jan 27, 8:58 PM (8 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16212596
Default Alt Text
D45999.diff (412 B)

Event Timeline