Dealing with relative paths to local file's URIs
- From: Archit Baweja <bighead users sourceforge net>
- To: gnome-vfs-list gnome org
- Subject: Dealing with relative paths to local file's URIs
- Date: Fri, 6 Sep 2002 23:15:10 -0500
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi
I recently converted the File I/O of my HTML Editor to GnomeVFS (it previously
used the standard FILE* API of the standard C lib).
However for local files, now it only accepts the absolute path to the file.
Relative paths like some/weird/foo/bar/dir/file or ./filename or ../filename
are no longer accepted, and gnome_vfs_open_uri gives the "Invalid URI" error.
So any suggested way to deal with this shortcoming/problem of GnomeVFS? Maybe
using stat in conjungtion with GnomeVFS or is there a helper API to the
GnomeVFSURI API?
Thanks in advance
Archit Bawja
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.6 and Gnu Privacy Guard <http://www.gnupg.org/>
iD8DBQE9eX1O2rWNPKmGjMcRAsM0AJ4sZTfxPLXagf52qZ7pz676jrsaBACgm6aP
I5XZlj8aBsBTdF1arofJedY=
=o88R
-----END PGP SIGNATURE-----
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]