[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNU enhancement -- $(xargs cmd, list)

From: Paul D. Smith
Subject: Re: GNU enhancement -- $(xargs cmd, list)
Date: Mon, 6 Nov 2000 17:45:45 -0500

%% Reid Madsen <address@hidden> 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 <address@hidden>          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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]