projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11fb7cf
)
ash: expand comment
author
Denis Vlasenko
<vda.linux@googlemail.com>
Fri, 20 Mar 2009 10:20:08 +0000
(10:20 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Fri, 20 Mar 2009 10:20:08 +0000
(10:20 -0000)
shell/ash.c
patch
|
blob
|
history
diff --git
a/shell/ash.c
b/shell/ash.c
index bf7afaba09e0a9d631eb17a6d00c7520cc96722b..13b4329b55f25fc433d6473754f21e65f236370f 100644
(file)
--- a/
shell/ash.c
+++ b/
shell/ash.c
@@
-13878,7
+13878,8
@@
int ash_main(int argc UNUSED_PARAM, char **argv)
if (minusc) {
/* evalstring pushes parsefile stack.
* Ensure we don't falsely claim that 0 (stdin)
- * is one of stacked source fds */
+ * is one of stacked source fds.
+ * Testcase: ash -c 'exec 1>&0' must not complain. */
if (!sflag)
g_parsefile->fd = -1;
evalstring(minusc, 0);