diff options
Diffstat (limited to '')
-rw-r--r-- | exec.c | 8 | ||||
-rw-r--r-- | processor.c | 8 |
2 files changed, 12 insertions, 4 deletions
@@ -1,4 +1,4 @@ -/* $Id: exec.c,v 1.1 2001/03/07 18:10:21 ltoetsch Exp $ +/* $Id: exec.c,v 1.2 2001/03/08 08:39:54 reinelt Exp $ * * exec ('x*') functions * @@ -20,6 +20,10 @@ * * * $Log: exec.c,v $ + * Revision 1.2 2001/03/08 08:39:54 reinelt + * + * fixed two typos + * * Revision 1.1 2001/03/07 18:10:21 ltoetsch * added e(x)ec commands * @@ -55,7 +59,7 @@ int Exec(int index, char buff[EXEC_TXT_LEN]) pipe = popen(command, "r"); if (pipe == NULL) { - error("Couln't run pip '%s'", command); + error("Couln't run pipe '%s'", command); return -1; } fread(buff, EXEC_TXT_LEN, 1, pipe); diff --git a/processor.c b/processor.c index e65b475..0f9913c 100644 --- a/processor.c +++ b/processor.c @@ -1,4 +1,4 @@ -/* $Id: processor.c,v 1.16 2001/03/07 18:10:21 ltoetsch Exp $ +/* $Id: processor.c,v 1.17 2001/03/08 08:39:55 reinelt Exp $ * * main data processing * @@ -20,6 +20,10 @@ * * * $Log: processor.c,v $ + * Revision 1.17 2001/03/08 08:39:55 reinelt + * + * fixed two typos + * * Revision 1.16 2001/03/07 18:10:21 ltoetsch * added e(x)ec commands * @@ -521,7 +525,7 @@ static void collect_data (void) for (i=1; i<EXECS; i++) { if (token_usage[T_EXEC]&(1<<i)) { - Exec (i, &exec[i].s); + Exec (i, exec[i].s); } } } |