Re: Re[2]: Relative path



Hi,

Alexander Chemeris <chemeris mail ru> writes:

> Thursday, August 22, 2002, 11:31:57 PM, you wrote:
> > Alexander Chemeris <chemeris mail ru> writes:
> >> Is there system independent way to get relative path from current
> >> directory and full path to the file? If there is no standard way how
> >> you do it? :-)
> > http://developer.gnome.org/doc/API/2.0/glib/glib-miscellaneous-utility-functions.html
> Yes, read this several times. :-)
> There are g_path_is_absolute() and g_path_skip_root() functions, but
> there is no g_path_make_relative() or something like this.

I must admit I haven't understood exactly what you want to do. I'm
pretty sure however that you should be able to find a way by using the
functions I've pointed you at. Did you look at g_build_filename()?


Salut, Sven



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