]> code.delx.au - pulseaudio/commit
pacat: Enable binary mode on Windows.
authorThomas Martitz <kugel@rockbox.org>
Mon, 20 Aug 2012 21:50:35 +0000 (23:50 +0200)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Tue, 23 Oct 2012 06:27:08 +0000 (11:57 +0530)
commitc1637652eaf3682dc2b5aa8c87b45552a8e1cf67
tree64ae2396131fd8ebf00b27d49250072aa470df01
parent0b72a87c26ea3dc3b23176f4ebbc5b4dd789fc59
pacat: Enable binary mode on Windows.

Without this reading from stdin will eventually end with EOF (if there happens
to be a newline sign in the stream), because read() returns 0.

This patch fixes raw data input and piping to pacat on Windows.
src/utils/pacat.c