Bug#990265: utilities and write errors

2021-06-29 Thread Thorsten Glaser
tags 990265 = pending thanks Vincent Lefevre dixit: >> Vincent will probably see whether this solves his problem; he’s got to >> notify me if there are any other builtins to take care of. > >There are "ulimit", "alias" and "type". But I don't know whether they >are also handled by call_builtin...

Bug#990265: utilities and write errors

2021-06-29 Thread Vincent Lefevre
On 2021-06-30 00:46:00 +, mirabilos via austin-group-l at The Open Group wrote: > Using the same shorthand, I changed mksh tonight to do pretty much > what you described, in a second patch: > > @@ pseudo @@ > int > call_builtin(func_t builtinfunc, int argc, char *argv[]) > { > int exi

Bug#990265: utilities and write errors

2021-06-29 Thread mirabilos
Robert Elz via austin-group-l at The Open Group dixit: > | > You might prefer that it "fflush(stdout); if (ferror(stdout)) ..." but > | > there's nothing explicit in the standard that says that it has to do > that. >There was no argument based upon C functions - the use of them was >just a sho