>> What about simply modifying the code that compute the path of a file to >> open from a .vik file? For example, using >> g_path_is_absolute<https://developer.gnome.org/glib/2.37/glib-Miscellaneous-Utility-Functions.html#g-path-is-absolute> >> to decide if the path is absolute or not and concat the dirname of the >> .vik file if needed? > > Agreed that sounds like a better way of doing it. > > In fact thinking about it further - my basic chdir() method is still broken, > since when another chdir() kicks in - the relative paths against the previous > location are now changed.** > > So we always need to calculate the absolute path. >
NB I'm working on a fix for this. ------------------------------------------------------------------------------ November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk _______________________________________________ Viking-devel mailing list Viking-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/viking-devel Viking home page: http://viking.sf.net/