diff options
author | Matthias Braun <matze@braunis.de> | 2025-07-09 11:19:21 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-09 11:19:21 -0700 |
commit | bdc0119e1b6001be813a540134bd1772b4d9c4dc (patch) | |
tree | 497fe98d881ebfe3d12abb7bef2ed961b1594955 /lldb/source/Commands/CommandObjectProcess.cpp | |
parent | b44c50d41626b7b81da7cdfb2292a0b58fcc838f (diff) | |
download | llvm-bdc0119e1b6001be813a540134bd1772b4d9c4dc.zip llvm-bdc0119e1b6001be813a540134bd1772b4d9c4dc.tar.gz llvm-bdc0119e1b6001be813a540134bd1772b4d9c4dc.tar.bz2 |
ErrorHandling: Check for EINTR and partial writes (#147595)
Calls to the posix `write` function can return -1 and set errno to
`EINTR` or perform partial writes when interrupted by signals. In those
cases applications are supposed to just try again. See for example the
documentation in glibc:
https://sourceware.org/glibc/manual/latest/html_node/I_002fO-Primitives.html#index-write
This fixes the uses in `ErrorHandling.cpp` to retry as needed.
Diffstat (limited to 'lldb/source/Commands/CommandObjectProcess.cpp')
0 files changed, 0 insertions, 0 deletions