Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: VDR developer version 1.1.23
On Sun, Feb 02, 2003 at 05:18:55PM +0100, Klaus Schmidinger wrote:
> VDR developer version 1.1.23 is now available at
>
> ftp://ftp.cadsoft.de/vdr/Developer/vdr-1.1.23.tar.bz2
>
> The changes since version 1.1.22:
>
> - Fixed a new/delete malloc/free mismatch in ringbuffer.c (thanks to Stefan
> Huelswitt for reporting this one).
> - Improved CAM handling.
Doesn't the terminal patch I've send work for you?
Without this patch it isn't possible to use vdr
on a virtual console together with runvdr.
Werner
---------------------------------------------------------------------------
--- vdr.c
+++ vdr.c Wed Jan 29 18:14:52 2003
@@ -81,7 +81,9 @@
// Save terminal settings:
struct termios savedTm;
- bool HasStdin = tcgetpgrp(STDIN_FILENO) == getpid() && tcgetattr(STDIN_FILENO, &savedTm) == 0;
+ pid_t pgrp = tcgetpgrp(STDIN_FILENO);
+ pid_t ppid = getppid();
+ bool HasStdin = (pgrp == getpid() || ppid != (pid_t)1) && tcgetattr(STDIN_FILENO, &savedTm) == 0;
// Initiate locale:
---------------------------------------------------------------------------
--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.
Home |
Main Index |
Thread Index