Page MenuHomeFreeBSD

D27878.id81923.diff
No OneTemporary

D27878.id81923.diff

Index: sys/kern/sys_pipe.c
===================================================================
--- sys/kern/sys_pipe.c
+++ sys/kern/sys_pipe.c
@@ -857,6 +857,8 @@
pipeselwakeup(rpipe);
PIPE_UNLOCK(rpipe);
+ if (nread > 0)
+ td->td_ru.ru_msgrcv++;
return (error);
}
@@ -1314,6 +1316,8 @@
pipeunlock(wpipe);
PIPE_UNLOCK(rpipe);
+ if (uio->uio_resid != orig_resid)
+ td->td_ru.ru_msgsnd++;
return (error);
}

File Metadata

Mime Type
text/plain
Expires
Thu, Dec 26, 11:40 PM (11 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15609041
Default Alt Text
D27878.id81923.diff (430 B)

Event Timeline