Re: core subdirectories

"William J. Mills" <[email protected]> Mon, 12 Aug 2002 15:30:34 -0500
Newsgroups gmane.network.beep.beepcore.c.general
Message-ID <[email protected]>
My question is which of these do the exect to be a directory?  WHy the heck do they
have the -rf rather than just -f?

	trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15

This seems overly aggressive.

-bill

On Sun, Aug 11, 2002 at 11:46:03PM -0700, Matt Small wrote:
> Hmm.  I think this is a version difference; the original configure script was
> generated with autoconf 2.13, and I've generated mine with 2.53.  Unfortunately,
> the new version always executes the cleanup code, on exits from all signals.
> 
> Sorry that I didn't see the version difference, though; I didn't even think of 
> looking for that.
> 
> -matt
> 
> > This looks like a real problem, but only if the configure script is
> > interrupted.  The problem lines are of the form
> > 
> > trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
> > 
> > and they appear throughout the script.  These lines appear to be
> > generated automatically by autoconf.
> > 
> > It hasn't been my experience that running configure causes the core
> > directory to be deleted.  (That would be really awful!)  But from
> > looking at the code, just typing C-c at the wrong time during its
> > execution would cause core to be deleted.


-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31