Re: .goutputstream garbage when cancelling copy



On Fri, 2009-04-24 at 11:02 +0200, Jannis Pohlmann wrote:
> Hey,
> 
> I have a strange problem. When I copy a file with g_file_copy() and
> cancel the operation using the GCancellable, a .goutputstream-...
> garbage file is left behind in the target directory.
> 
> I'm using GLib 2.18 and GVfs 1.0.4 (which shouldn't matter as I'm only
> copying local files at the moment).
> 
> Any ideas why that is and how I can get rid of it? It's not exactly a
> minor problem in a file manager like Thunar where people copy files
> around a lot.

I'd say this is a bug in glib (gio) where it needs to remove the target
if cancelled at the "wrong" place.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]