From 7a9235c5504104c2446c294fb0a4b4dcd1e82cb3 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 27 Sep 2014 14:28:20 +0100 Subject: [PATCH] slip: Remove an incorrect XXX comment There is no need to strdup anything before calling exec (or exit, of course). Signed-off-by: Ian Jackson --- slip.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/slip.c b/slip.c index c846b39..abfd922 100644 --- a/slip.c +++ b/slip.c @@ -273,8 +273,6 @@ static void userv_entry(void *sst) dup2(st->out,1); setsid(); - /* XXX We really should strdup() all of argv[] but because we'll just - exit anyway if execvp() fails it doesn't seem worth bothering. */ execvp(st->path,(char *const*)st->argv); perror("userv-entry: execvp()"); exit(1); -- 2.30.2