mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
No more daemon mode with REMOTE=KBD
This commit is contained in:
parent
9600eaf3f1
commit
d991a8c702
5
HISTORY
5
HISTORY
@ -168,7 +168,7 @@ Video Disk Recorder Revision History
|
|||||||
entered so far together with the name of that channel are displayed on the
|
entered so far together with the name of that channel are displayed on the
|
||||||
OSD (suggested by Martin Hammerschmid).
|
OSD (suggested by Martin Hammerschmid).
|
||||||
|
|
||||||
2000-09-19: Version 0.64
|
2000-09-20: Version 0.64
|
||||||
|
|
||||||
- NOTE: If you are using DVB driver version 0.7 you need to load the dvb.o
|
- NOTE: If you are using DVB driver version 0.7 you need to load the dvb.o
|
||||||
module with option outstream=0, so your insmod statement should read
|
module with option outstream=0, so your insmod statement should read
|
||||||
@ -201,3 +201,6 @@ Video Disk Recorder Revision History
|
|||||||
- Fixed a buffer overflow in EIT parsing.
|
- Fixed a buffer overflow in EIT parsing.
|
||||||
- Added a security warning regarding SVDRP to the INSTALL file.
|
- Added a security warning regarding SVDRP to the INSTALL file.
|
||||||
- Fixed 'confirm' dialog.
|
- Fixed 'confirm' dialog.
|
||||||
|
- The daemon mode (option '-d') now no longer works with REMOTE=KBD (there
|
||||||
|
is no stdin in daemon mode, so KBD makes no sense - plus it sometimes
|
||||||
|
crashed).
|
||||||
|
6
vdr.c
6
vdr.c
@ -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.34 2000/09/18 22:29:56 kls Exp $
|
* $Id: vdr.c 1.35 2000/09/20 16:45:01 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <getopt.h>
|
#include <getopt.h>
|
||||||
@ -137,7 +137,7 @@ int main(int argc, char *argv[])
|
|||||||
// Daemon mode:
|
// Daemon mode:
|
||||||
|
|
||||||
if (DaemonMode) {
|
if (DaemonMode) {
|
||||||
#ifndef DEBUG_OSD
|
#if !defined(DEBUG_OSD) && !defined(REMOTE_KBD)
|
||||||
pid_t pid = fork();
|
pid_t pid = fork();
|
||||||
if (pid < 0) {
|
if (pid < 0) {
|
||||||
fprintf(stderr, "%s\n", strerror(errno));
|
fprintf(stderr, "%s\n", strerror(errno));
|
||||||
@ -150,7 +150,7 @@ int main(int argc, char *argv[])
|
|||||||
fclose(stdout);
|
fclose(stdout);
|
||||||
fclose(stderr);
|
fclose(stderr);
|
||||||
#else
|
#else
|
||||||
fprintf(stderr, "vdr: can't run in daemon mode with DEBUG_OSD on!\n");
|
fprintf(stderr, "vdr: can't run in daemon mode with DEBUG_OSD or REMOTE_KBD on!\n");
|
||||||
abort();
|
abort();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user