Re: .goutputstream garbage when cancelling copy



On Fri, 24 Apr 2009 22:11:25 +0200
Alexander Larsson <alexl redhat com> wrote:

> 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.

Uh, okay. I'll try to see if I can come up with a patch for this.
Shouldn't be that hard to track down, I guess.

  - Jannis

Attachment: signature.asc
Description: PGP signature



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