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()
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;
>>>+
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
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