← Commit list

5368ad53e

Denis Vlasenko
Denis Vlasenko
2009-03-20
FAILED Duration: 31s

Subject

ash: expand comment

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

shell/ash.c+2 -1
@@ -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);