[Archit Baweja <bighead users sourceforge net>] Dealing with relative paths to local file's URIs
- From: Archit Baweja <bighead users sourceforge net>
- To: gnome-devel-list gnome org
- Subject: [Archit Baweja <bighead users sourceforge net>] Dealing with relative paths to local file's URIs
- Date: 07 Sep 2002 22:33:48 -0500
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
--- Begin Message ---
- 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-----
_______________________________________________
gnome-vfs-list mailing list
gnome-vfs-list gnome org
http://mail.gnome.org/mailman/listinfo/gnome-vfs-list
--- End Message ---
-----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/>
iD8DBQE9esUc2rWNPKmGjMcRAhIXAJ41DgdqhsfEBdryxqKS58UJGbFRBwCcDeWm
O39C2NRs7loTaJOAJCrJQrk=
=UT7D
-----END PGP SIGNATURE-----
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]