summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8e77d8c)
raw | patch | inline | side by side (parent: 8e77d8c)
author | Max Kellermann <max@duempel.org> | |
Sun, 13 Sep 2009 06:37:26 +0000 (08:37 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Sun, 13 Sep 2009 06:37:26 +0000 (08:37 +0200) |
Due to a typo, stdout was redirected twice to the pipe, and stderr was
forgotten.
forgotten.
NEWS | patch | blob | history | |
src/plugin.c | patch | blob | history |
index 6f09d2651a04a1f7f72a07df6ab84868a4cb9e13..de9f1a3aa663fb6dcb3d4c2560380d871de9ba8c 100644 (file)
--- a/NEWS
+++ b/NEWS
* added CMD_SELECT_PLAYING
* display song duration in the playlist
* added the "hardware_cursor" option
+* show plugin error messages on the screen
* new translation: Hebrew
diff --git a/src/plugin.c b/src/plugin.c
index 0aa13b5c10c9a98ac8c4f6b1e9346d50a790cdf1..88cc305044737d3ed0680588c40e230476dfa277 100644 (file)
--- a/src/plugin.c
+++ b/src/plugin.c
if (pid == 0) {
dup2(fds[1], 1);
- dup2(fds[1], 1);
+ dup2(fds[1], 2);
close(fds[0]);
close(fds[1]);
close(0);