PATCH: Get rid of superfluous dup() and close() calls.
wine-devel at sun.consumer.org.il
Sat Feb 1 03:09:19 CST 2003
Alexandre Julliard wrote:
>... and it's better to risk an fd leak than to risk invalidating the
>cached value in case someone closes the fd when they shouldn't.
I'm not sure I agree. When someone closes a fd they shouldn't, that
would lead to program crashing, and attention being brought to the
problem. When someone leaks a fd, noone will notice.
More information about the wine-devel