Commit b9a640a
upstream: If write() returned short, the subsequent write would restart
from the beginning of the buffer not the end of what was written. Fix, since
we want modpipe to corrupt data for testing purposes deliberately not
accidentally. ok djm@
OpenBSD-Regress-ID: 50ca74d287445c58944f070bb92dc13b1d054b431 parent a0e5446 commit b9a640a
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| |||
0 commit comments