Re: [Gnucash-changes] r12132 - gnucash/trunk - Don't chown() the owner,

2005-12-06 Thread Christian Stimming
FTR, below is the (slightly edited) IRC discussion of this issue. warlord: re errno: If there were an ENOENT, then the chmod() before would have signalled an error already. Ahh, I see. If the save() failed it then checks.. it only falls into the chown/chmod if the save fails and the stat()

Re: [Gnucash-changes] r12132 - gnucash/trunk - Don't chown() the owner,

2005-12-06 Thread Derek Atkins
Christian Stimming <[EMAIL PROTECTED]> writes: > Chris Shoemaker schrieb: >> On Mon, Dec 05, 2005 at 03:39:35PM -0500, Christian Stimming wrote: >> >>> #if VFAT_DOESNT_SUCK /* chown always fails on vfat fs */ >>>-g_free(tmp_name); >>>-return FALSE; >>>+

Re: [Gnucash-changes] r12132 - gnucash/trunk - Don't chown() the owner,

2005-12-06 Thread Christian Stimming
Chris Shoemaker schrieb: On Mon, Dec 05, 2005 at 03:39:35PM -0500, Christian Stimming wrote: #if VFAT_DOESNT_SUCK /* chown always fails on vfat fs */ -g_free(tmp_name); -return FALSE; +/* g_free(tmp_name); + return FALSE; */ #endi

Re: [Gnucash-changes] r12132 - gnucash/trunk - Don't chown() the owner,

2005-12-05 Thread Chris Shoemaker
On Mon, Dec 05, 2005 at 03:39:35PM -0500, Christian Stimming wrote: > #if VFAT_DOESNT_SUCK /* chown always fails on vfat fs */ > -g_free(tmp_name); > -return FALSE; > +/* g_free(tmp_name); > +return FALSE; */ > #endif Is this your p