PulseAudio Marge Bot pushed to branch master at PulseAudio / pulseaudio
Commits: 96bd4e57 by Alistair Leslie-Hughes at 2022-12-14T13:29:20+11:00 pulsecore: Set errno before calling read Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/759> - - - - - 1 changed file: - src/pulsecore/core-util.c Changes: ===================================== src/pulsecore/core-util.c ===================================== @@ -407,6 +407,7 @@ finish: * by the caller. */ ssize_t pa_read(int fd, void *buf, size_t count, int *type) { + errno = 0; #ifdef OS_IS_WIN32 if (!type || *type == 0) { View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/96bd4e57b5b02dc04b61528033f283f5fea7e723 -- View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/96bd4e57b5b02dc04b61528033f283f5fea7e723 You're receiving this email because of your account on gitlab.freedesktop.org.
