cc: [email protected]
Subject: Re: Re: [ast-developers] Possible bug in sh_iorestore
--------
> No and It's actually difficult to remember how did I come the what I have
> written above... It's completely wrong (maybe not completely -- I still think
> not checking the sh_fcntl return code is not quite OK).
>
>
Since the codes does
sh_close(origfd);
just before
sh_fcntl(savefd, F_DUPFD, origfd);
and it checks that savefd >=0, how can the sh_fcntl() fail?
I can add a check, but it is not likely to change anything.
David Korn
[email protected]
_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers