diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2003-05-24 11:08:47 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2003-05-24 11:08:47 +0200 |
commit | 38fbbb469d7cb67af27a5fc5cd0bdd4c747ca9ff (patch) | |
tree | 5877db0f86c4478a3c128c0ab6d501b589b4dc13 /vdr.c | |
parent | 9e9b2b4caff075a0938ce3963ae23e6b8f9301a7 (diff) | |
download | vdr-38fbbb469d7cb67af27a5fc5cd0bdd4c747ca9ff.tar.gz vdr-38fbbb469d7cb67af27a5fc5cd0bdd4c747ca9ff.tar.bz2 |
Fixed I/O handling in case an explicit controlling terminal is given
Diffstat (limited to 'vdr.c')
-rw-r--r-- | vdr.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -22,7 +22,7 @@ * * The project's page is at http://www.cadsoft.de/people/kls/vdr * - * $Id: vdr.c 1.155 2003/05/16 12:11:45 kls Exp $ + * $Id: vdr.c 1.156 2003/05/24 11:06:53 kls Exp $ */ #include <getopt.h> @@ -323,6 +323,7 @@ int main(int argc, char *argv[]) stdin = freopen(Terminal, "r", stdin); stdout = freopen(Terminal, "w", stdout); stderr = freopen(Terminal, "w", stderr); + HasStdin = true; } isyslog("VDR version %s started", VDRVERSION); |