diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ChangeLog | 4 | ||||
-rw-r--r-- | src/clef/edible.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 192e1f26..790deb0c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2009-03-25 Gabriel Dos Reis <gdr@cs.tamu.edu> + + * clef/edible.c (main): Properly null-terminate varargs call. + 2009-03-08 Gabriel Dos Reis <gdr@cs.tamu.edu> * interp/fnewmeta.lisp (PARSE-Import): Parse extern entity diff --git a/src/clef/edible.c b/src/clef/edible.c index 204c8312..65dfac89 100644 --- a/src/clef/edible.c +++ b/src/clef/edible.c @@ -220,7 +220,7 @@ main(int argc, char *argv[]) program = strdup("/bin/sh"); else program = strdup (program); - execlp( program,program, 0); + execlp( program,program, (char *) 0); perror("clef trying to execlp the default child"); fprintf(stderr, "Process --> %s\n", program); } |