Displaying 1 result from an estimated 1 matches for "setarg0".
Did you mean:
setarg
2020 Mar 28
0
[klibc:update-dash] dash: options: Do not set commandname in procargs
...decadent.org.uk>
---
usr/dash/options.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/usr/dash/options.c b/usr/dash/options.c
index 6f381e61..a46c23b9 100644
--- a/usr/dash/options.c
+++ b/usr/dash/options.c
@@ -159,7 +159,6 @@ procargs(int argc, char **argv)
setinputfile(*xargv, 0);
setarg0:
arg0 = *xargv++;
- commandname = arg0;
}
shellparam.p = xargv;