On 6/5/23 08:37, Costas Argyris via Gcc-patches wrote:
writeargv can be simplified by getting rid of the error exit mode that was only relevant many years ago when the function used to open the file descriptor internally.
[ ... ] Thanks. I've pushed this to the trunk.You could (as a follow-up) simplify it even further. There's no need for the status variable as far as I can tell. You could just have the final return be "return 0;" instead of "return status;".
Jeff