From 38fbbb469d7cb67af27a5fc5cd0bdd4c747ca9ff Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 24 May 2003 11:08:47 +0200 Subject: [PATCH] Fixed I/O handling in case an explicit controlling terminal is given --- CONTRIBUTORS | 1 + HISTORY | 2 ++ vdr.c | 3 ++- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 54aebded..9bc2909c 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -475,6 +475,7 @@ Oliver Endriss for reporting a problem with cPlugin::Start() being called after trying to learn the remote control keys for reporting a bug in reading 'epg.data' for channels with non-zero RID + for fixing I/O handling in case an explicit controlling terminal is given Reinhard Walter Buchner for adding some satellites to 'sources.conf' diff --git a/HISTORY b/HISTORY index e1e85fee..61f5d022 100644 --- a/HISTORY +++ b/HISTORY @@ -2180,3 +2180,5 @@ Video Disk Recorder Revision History - Fixed a memory leak in cNonBlockingFileReader (thanks to Stefan Huelswitt). - Completed the French OSD texts (thanks to Gregoire Favre). - Completed the Finnish OSD texts (thanks to Niko Tarnanen and Rolf Ahrenberg). +- Fixed I/O handling in case an explicit controlling terminal is given (thanks + to Oliver Endriss). diff --git a/vdr.c b/vdr.c index 7962c0a4..89e45c38 100644 --- a/vdr.c +++ b/vdr.c @@ -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 @@ -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);