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 310656 - gnome_vfs_uri_extract_dirname () not coherent with the API documentation
gnome_vfs_uri_extract_dirname () not coherent with the API documentation
Status: RESOLVED WONTFIX
Product: gnome-vfs
Classification: Deprecated
Component: URI handling
2.14.x
Other All
: Normal normal
: 2.14
Assigned To: Christian Neumair
gnome-vfs maintainers
Depends on:
Blocks: 300597
 
 
Reported: 2005-07-17 15:51 UTC by Sebastien Bacher
Modified: 2008-09-06 19:10 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description Sebastien Bacher 2005-07-17 15:51:06 UTC
The API says:

"Extract the name of the directory in which the file pointed to by uri is stored
as a newly allocated string. The string will end with a GNOME_VFS_URI_PATH_CHR."

but "g_print ("%s\n", gnome_vfs_uri_extract_dirname (gnome_vfs_uri_new
("file:///usr/share/file")));"
prints "/usr/share" and not "/usr/share"

What should be changed, the description or the function?
Comment 1 Sebastien Bacher 2005-07-19 17:57:56 UTC
ups:
prints "/usr/share" and not "/usr/share/"
Comment 3 André Klapper 2008-09-06 19:10:35 UTC
gnome-vfs has been deprecated and superseded by gio/gvfs since GNOME 2.22, hence mass-closing many of the gnome-vfs requests/bug reports. This means that gnome-vfs is NOT actively maintained anymore, however patches are still welcome.

If your reported issue is still valid for gio/gvfs, please feel free to file a bug report against glib/gio or gvfs.

@Bugzilla mail recipients: query for gnome-vfs-mass-close to get rid of these notification emails all together.


General further information: http://en.wikipedia.org/wiki/GVFS 
Reasons behind this decision are listed at http://www.mail-archive.com/gnome-vfs-list@gnome.org/msg00899.html