]> git.ipfire.org Git - thirdparty/libarchive.git/commit
windows: Preserve GetExitCodeProcess error
authorTobias Stoeckmann <tobias@stoeckmann.org>
Mon, 2 Jun 2025 21:21:26 +0000 (23:21 +0200)
committerTobias Stoeckmann <tobias@stoeckmann.org>
Mon, 2 Jun 2025 21:21:26 +0000 (23:21 +0200)
commitd7d1d19bb63ac9e234927dda420f17c37b76948f
tree18b67d0428bca91904492e915e53d2c6f8d784b7
parent0f9a06d6abb1ab00e48580d488facbd78240ee50
windows: Preserve GetExitCodeProcess error

If the waitpid version for Windows fails, preserve the error code and
avoid overwriting it with a possible CloseHandle error.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
libarchive/archive_windows.c