http transactions create strange temp files (on MacOS X)
Christian Ebert
blacktrash at gmx.net
Thu Oct 11 13:50:02 CDT 2007
* Jens Alfke on Thursday, October 11, 2007 at 09:41:16 -0700
> On 11 Oct '07, at 8:23 AM, Christian Ebert wrote:
>> Very very weird.
>
> Agreed. You can try running "sudo fs_usage -w" to catch the creation of
> these files.
Yeah, that's what I wanted to do next.
I found out that
/usr/local/lib/python2.5/plat-mac/errors.rsrc
is written to the temporary file.
I then tried with Apple shipped Python2.3, and the temp file
wasn't there.
Hunch:
$ locate errors.rsrc
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/plat-mac/errors.rsrc
/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/plat-mac/errors.rsrc.df.rsrc
/usr/local/lib/python2.5/plat-mac/errors.rsrc
I copied errors.rsrc.df.rsrc to
/usr/local/lib/python2.5/plat-mac/
and voilà! /tmp stays clean.
Apparently something went not well with my own Python
installation. I don't know what exactly, and what the df thing
means. At least it /seems/ to work now.
Thanks for taking the time to look into this!
c
--
keyword extension for Mercurial (http://selenic.com/mercurial):
<http://www.blacktrash.org/hg/hgkeyword/> (0.9.2 backwards compatible)
Mercurial crew development repository + keyword extension:
<http://www.blacktrash.org/hg/hg-crew-keyword/>
More information about the Mercurial
mailing list