Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] [PATCH] Autotimeredit plugin for vdr-1.3.18
Here is a patch for autotimeredit-0.1.4 and vdr-1.3.18....
--- vdr-1.3.18/PLUGINS/src/autotimeredit/autotimers.c.orig 2005-01-09 22:49:40.000000000 -0800
+++ vdr-1.3.18/PLUGINS/src/autotimeredit/autotimers.c 2005-01-09 22:54:52.000000000 -0800
@@ -227,7 +227,8 @@
#define PIDCMD "ps aux | grep perl | grep vdradmind.pl | grep -v grep | awk '{printf \"%s\\n\",$2;}'"
FILE *p = popen(PIDCMD, "r");
if (p) {
- char * s = readline(p);
+ cReadLine ReadLine;
+ char * s = ReadLine.Read(p);
if (s && isnumber(s))
pid = atoi(s);
else
Home |
Main Index |
Thread Index