Follow-up Comment #10, bug #63157 (project make):

If temp_stdin is fclosed, then there's no need to call close on its fileno.

I don't think I follow your reasoning.  Could you tell more details, including
pointers to the source code?  What do you mean by "We won't be able to use
fclose, which is okay, since make is exiting."?

In general, yes, a file must be closed before we try to unlink it, otherwise
the deletion will fail and the file will not be deleted.



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63157>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/


Reply via email to