1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Fixed I/O handling in case an explicit controlling terminal is given

This commit is contained in:
Klaus Schmidinger 2003-05-24 11:08:47 +02:00
parent 9e9b2b4caf
commit 38fbbb469d
3 changed files with 5 additions and 1 deletions

View File

@ -475,6 +475,7 @@ Oliver Endriss <o.endriss@gmx.de>
for reporting a problem with cPlugin::Start() being called after trying to learn for reporting a problem with cPlugin::Start() being called after trying to learn
the remote control keys the remote control keys
for reporting a bug in reading 'epg.data' for channels with non-zero RID 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 <rw.buchner@freenet.de> Reinhard Walter Buchner <rw.buchner@freenet.de>
for adding some satellites to 'sources.conf' for adding some satellites to 'sources.conf'

View File

@ -2180,3 +2180,5 @@ Video Disk Recorder Revision History
- Fixed a memory leak in cNonBlockingFileReader (thanks to Stefan Huelswitt). - Fixed a memory leak in cNonBlockingFileReader (thanks to Stefan Huelswitt).
- Completed the French OSD texts (thanks to Gregoire Favre). - Completed the French OSD texts (thanks to Gregoire Favre).
- Completed the Finnish OSD texts (thanks to Niko Tarnanen and Rolf Ahrenberg). - 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).

3
vdr.c
View File

@ -22,7 +22,7 @@
* *
* The project's page is at http://www.cadsoft.de/people/kls/vdr * 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> #include <getopt.h>
@ -323,6 +323,7 @@ int main(int argc, char *argv[])
stdin = freopen(Terminal, "r", stdin); stdin = freopen(Terminal, "r", stdin);
stdout = freopen(Terminal, "w", stdout); stdout = freopen(Terminal, "w", stdout);
stderr = freopen(Terminal, "w", stderr); stderr = freopen(Terminal, "w", stderr);
HasStdin = true;
} }
isyslog("VDR version %s started", VDRVERSION); isyslog("VDR version %s started", VDRVERSION);