← Commit list

1cd53c15a

Denys Vlasenko
Denys Vlasenko
2025-08-11
SUCCESS Duration: 153s

Subject

ash: parser: Invalid redirections are run-time, not syntax errors

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+1 -1
@@ -12163,7 +12163,7 @@ fixredir(union node *n, const char *text, int err)
* silently truncate results to word width.
*/
if (err)
- raise_error_syntax("bad fd number");
+ ash_msg_and_raise_error("bad fd number");
n->ndup.vname = makename();
}
}