diff options
author | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2015-12-27 19:33:27 +0000 |
---|---|---|
committer | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2015-12-27 19:33:27 +0000 |
commit | 0938e7018a6de2a8393c316315ca155116a122c4 (patch) | |
tree | c4b2012a08aef4642a9f9dbeacf47fadfc947285 /bin/ksh | |
parent | c484cb25187625eab5e9ab2a4f873323883123bd (diff) |
Tweak comment: we now always make a copy of argv.
ok halex@
Diffstat (limited to 'bin/ksh')
-rw-r--r-- | bin/ksh/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/ksh/main.c b/bin/ksh/main.c index 200931820a6..0edd0019628 100644 --- a/bin/ksh/main.c +++ b/bin/ksh/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.76 2015/12/27 09:24:00 halex Exp $ */ +/* $OpenBSD: main.c,v 1.77 2015/12/27 19:33:26 jca Exp $ */ /* * startup, main loop, environments and error handling @@ -120,8 +120,8 @@ char username[_PW_NAME_LEN + 1]; /* The shell uses its own variation on argv, to build variables like * $0 and $@. - * If we need to alter argv, allocate a new array first since - * modifying the original argv will modify ps output. + * Allocate a new array since modifying the original argv will modify + * ps output. */ static char ** make_argv(int argc, char *argv[]) |