mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 15:36:14 +01:00
Bug 547080 – g_file_copy leaks expected errors
2008-08-10 Felix Riemann <friemann@svn.gnome.org> Bug 547080 – g_file_copy leaks expected errors * gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors before trying the next fallback routine. svn path=/trunk/; revision=7331
This commit is contained in:
parent
15f92bfc3d
commit
26f2a3b93c
@ -1,3 +1,10 @@
|
||||
2008-08-10 Felix Riemann <friemann@svn.gnome.org>
|
||||
|
||||
Bug 547080 – g_file_copy leaks expected errors
|
||||
|
||||
* gfile.c: (g_file_copy): Clear G_IO_ERROR_NOT_SUPPORTED errors
|
||||
before trying the next fallback routine.
|
||||
|
||||
2008-08-09 Loïc Minier <lool@dooz.org>
|
||||
|
||||
Bug 535124 – umask 002 not being applied for new directories, new
|
||||
|
@ -2447,6 +2447,8 @@ g_file_copy (GFile *source,
|
||||
g_propagate_error (error, my_error);
|
||||
return FALSE;
|
||||
}
|
||||
else
|
||||
g_clear_error (&my_error);
|
||||
}
|
||||
|
||||
/* If the types are different, and the destination method failed
|
||||
@ -2471,6 +2473,8 @@ g_file_copy (GFile *source,
|
||||
g_propagate_error (error, my_error);
|
||||
return FALSE;
|
||||
}
|
||||
else
|
||||
g_clear_error (&my_error);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user