On Fri, Aug 28, 2009 at 11:36 AM, Eric Wilhelm<enoba...@gmail.com> wrote:
> Of course, maybe what we really need is for DistGen to be able to create
> the temp dir in the constructor, then call remove() from DESTROY.

Could have DistGen create a tmp dir that doesn't set CLEANUP and
records initial directory.  Then DistGen's DESTROY could chdir to the
original and remove the temp.  That keeps it all in DistGen rather
than MBTest.  It's not that MBTest's chdir in END is a bad idea,  but
I don't like relying on it for DistGen destruction.

How does that sound?

-- David

Reply via email to