ash - problem/bug with redirection and internal command
Rob Landley
rob at landley.net
Wed Jul 5 18:10:43 PDT 2006
On Wednesday 05 July 2006 11:47 am, Paul Fox wrote:
> if that's the case, then i agree that simply clearing the error
> is probably the right thing to do. this is vodz's change, referred
> to above:
>
> --- busybox/svn/shell/ash.c 2006-06-15 22:19:41.000000000 -0400
> +++ vodz/shell/ash.c 2006-05-05 09:33:54.000000000 -0400
> @@ -3473,6 +3459,7 @@
> flushall();
> cmddone:
> exitstatus |= ferror(stdout);
> + clearerr(stdout);
> commandname = savecmdname;
> exsig = 0;
> handler = savehandler;
Applied.
Rob
--
Never bet against the cheap plastic solution.
More information about the busybox
mailing list