[pulseaudio-commits] [Git][pulseaudio/pulseaudio][master] pulsecore: Set errno before calling read
PulseAudio Marge Bot (@pulseaudio-merge-bot)
gitlab at gitlab.freedesktop.org
Wed Dec 14 18:49:01 UTC 2022
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-commits/attachments/20221214/68a4672a/attachment.htm>
More information about the pulseaudio-commits
mailing list