From: Ian Jackson Date: Sat, 27 Sep 2014 13:28:20 +0000 (+0100) Subject: slip: Remove an incorrect XXX comment X-Git-Tag: proposed.polypath.v3~27 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=secnet.git;a=commitdiff_plain;h=7a9235c5504104c2446c294fb0a4b4dcd1e82cb3 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 --- 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);