void-packages/srcpkgs/sndio/patches/fflush.patch

13 lines
447 B
Diff

diff --git a/sndioctl/sndioctl.c b/sndioctl/sndioctl.c
index 4c4a85a..71ae298 100644
--- sndioctl/sndioctl.c
+++ sndioctl/sndioctl.c
@@ -1014,6 +1014,7 @@ main(int argc, char **argv)
perror("malloc");
exit(1);
}
for (;;) {
+ fflush(stdout);
nfds = sioctl_pollfd(hdl, pfds, POLLIN);
if (nfds == 0)