diff options
| author | David Kalnischkies <david@kalnischkies.de> | 2024-03-04 14:50:44 +0000 |
|---|---|---|
| committer | David Kalnischkies <david@kalnischkies.de> | 2024-03-05 11:57:03 +0000 |
| commit | 1437dcbe489ee9bcd39000cfef30324ad0260b41 (patch) | |
| tree | 1970643d5e9a258ec816dc6b1b84185ba3224186 /doc | |
| parent | 5bcff085a04fea5b109c6020152f3d5f51bf0978 (diff) | |
Handle EINTR in the static FileFd::Write overload
While the code claims to handle it by just continuing the loop, the
looping condition will actually cause a break from the loop failing the
interrupted writing. The non-static FileFd::Write (and ::Read) deal with
this by setting acceptable values for the loop condition as well – but
for more simplicity and consistency we can instead remove this extra loop
condition and perform the continue/break due to error handling more
explicitly.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions
