This is the mail archive of the
mailing list for the Cygwin project.
Re: autoconf / autoheader tmp files
- From: Charles Wilson <cwilson at ece dot gatech dot edu>
- To: Conrad Scott <Conrad dot Scott at dsl dot pipex dot com>
- Cc: Corinna Vinschen <cygwin-apps at cygwin dot com>
- Date: Thu, 04 Jul 2002 11:19:16 -0400
- Subject: Re: autoconf / autoheader tmp files
- References: <038d01c22355$829bb4f0$6132bc3e@BABEL>
Conrad Scott wrote:
The wrapper scripts for autoconf and autoheader use temporary files
that they (are supposed to) remove on exit (using trap 0). But I tend
to find *lots* of these directories in /tmp (e.g. /tmp/acXXXXX and
/tmp/ahXXXXX). Just running autoconf or autoheader with no arguments
creates a nice example.
But I can't see what the problem is with the scripts: they set a trap
to clean up and it looks fine to me.
Yeah, I've noticed that too. Perhaps I outsmarted myself: the wrapper
script never actually "exits" -- it *execs* the real autoconf/make/whatever.
So perhaps the trap doesn't get triggered when you exec.
Maybe I should rm the tmp files/dirs explicitly. before exec'ing the