After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 315336 - Patch for gnome_vfs_xfer API (OPENSOURCE, OPENTARGET phases, and file_size fix)
Patch for gnome_vfs_xfer API (OPENSOURCE, OPENTARGET phases, and file_size fix)
Status: RESOLVED WONTFIX
Product: gnome-vfs
Classification: Deprecated
Component: File operations
cvs (head)
Other Linux
: Normal normal
: ---
Assigned To: gnome-vfs maintainers
gnome-vfs maintainers
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2005-09-06 08:10 UTC by Mikael Hallendal
Modified: 2018-08-17 13:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to fix the problems mentioned (2.03 KB, patch)
2005-09-06 08:11 UTC, Mikael Hallendal
none Details | Review

Description Mikael Hallendal 2005-09-06 08:10:47 UTC
This patch contains two fixes, one is to make sure that OPENSOURCE and
OPENTARGET phases are emitted to the user in the sync/progress callbacks.

The other is to fix a problem where you copy a directory with subdirectories
recursively. Currently the file_size of the children is set to be that of the
parent directory (not in the initial directory but in sub directories).
Comment 1 Mikael Hallendal 2005-09-06 08:11:22 UTC
Created attachment 51854 [details] [review]
Patch to fix the problems mentioned
Comment 2 Alexander Larsson 2006-03-03 16:10:46 UTC
I commited the OPENSOURCE callback and the copy_file fix. However, i'm not sure about the OPENTARGET callback. We already call that a bit later, with the full uris. Calling it twice might cause problems. We need to look into that later.
Comment 3 André Klapper 2018-08-17 13:47:11 UTC
gnome-vfs got deprecated in 2008.

gnome-vfs is not under active development anymore and had its last code changes
in 2011. Its codebase has been archived:
https://gitlab.gnome.org/Archive/gnome-vfs/commits/master

gio (in glib) and gvfs are its successors. See https://developer.gnome.org/gio/stable/ch33.html and https://people.gnome.org/~gicmo/gio-migration-guide/ for porting info.

Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect
reality. Feel free to open a task in GNOME Gitlab if the issue described in this task still applies to a recent + supported version of glib/gio/gvfs. Thanks!