%% Reid Madsen <[EMAIL PROTECTED]> writes:
>> Also, it might be a Good Thing to try to integrate the temporary file
>> with the ^C handling in GNU make so that the temp file was removed even
>> if the user used ^C. And, any creation of temp files needs to be
>> hardened to avoid DOS, etc. attacks.
rm> I thought of this too. If you give me some pointers, I'll try to
rm> prototype it.
For the latter, there's an open_tmpfile() function in main.c which
should do what you want; hopefully the interface is sufficient (see its
use in main.c as well).
For the former, I don't have any brainstorms; the "current" temp file
names will just have to be kept somewhere, I guess.
--
-------------------------------------------------------------------------------
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org http://www.paulandlesley.org/gmake/
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
_______________________________________________
Bug-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-make