Log file with mkstemp() suffix or not? Re: r15435

Christian Stimming stimming at tuhh.de
Thu Mar 4 16:29:52 EST 2010


Am Donnerstag, 4. März 2010 schrieb Bill Nottingham:
> Christian Stimming (stimming at tuhh.de) said:
> > Can someone explain to me the intention of the following code (...)
> > From reading the code, I
> > guess it should mean "Open gnucash.trace.KSHDJS as trace file and
> > immediately after opening it, rename it back into gnucash.trace".
> 
> That's what's intended, yes. And it works for  me.

Thanks for confirming this. It seems this indeed works on Linux and other 
Unix-like OS, but apparently it never worked on Windows (mingw). There, the 
temp directory gets filled over time with all the gnucash.trace.ABCDEF files.

Seems like we need a completely different implementation of this for the 
G_OS_WIN32 part.

Regards,

Christian


More information about the gnucash-devel mailing list