diff options
author | Max Kellermann <max@duempel.org> | 2010-05-19 07:43:22 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2010-05-19 11:37:39 +0200 |
commit | 8248f498b280f278f85a5bd6fad59245858f66cb (patch) | |
tree | 71f13f33097c22368d30ed6c1fe9821d9ec1f371 /src/command.c | |
parent | 22f3ffb0997be4953888d0e5c61fc66256aeef5b (diff) | |
download | mpd-8248f498b280f278f85a5bd6fad59245858f66cb.tar.gz mpd-8248f498b280f278f85a5bd6fad59245858f66cb.tar.xz mpd-8248f498b280f278f85a5bd6fad59245858f66cb.zip |
event_pipe: use g_io_channel_read_chars() to drain the pipe
For some unknown reason, read() blocks on WIN32, even though it was
invoked inside the G_IO_IN callback. By switching to GIOChannel
functions, this problem is solved, and it works on both Linux and
Windows.
Diffstat (limited to 'src/command.c')
0 files changed, 0 insertions, 0 deletions