Restrict the amount to read when --stop-at-size is active so that reads, as well as writes, never go past --size bytes (#166).

This commit is contained in:
Andrew Wood
2025-09-30 22:27:25 +01:00
parent 6a1ad7d374
commit be066f6c8c
4 changed files with 43 additions and 17 deletions
+1
View File
@@ -2,6 +2,7 @@
* *feature:* permit multiple arguments to **--watchfd** ([#12](https://codeberg.org/ivarch/pv/issues/12))
* *fix:* improve support for changing the format of a **--watchfd** process with **--remote**
* *fix:* don't read more than **--size** bytes when using **--stop-at-size** ([#166](https://codeberg.org/ivarch/pv/issues/166))
### 1.9.34 - 26 July 2025