GNOME Bugzilla – Bug 615899
[PATCH] add g_file_get_full_path
Last modified: 2010-04-16 13:10:15 UTC
Getting a canonical file name, possibly following symlinks and correctly handling trailing slashes, is not portable and much more complicated than it sounds like! (And realpath is buggy as well as not portable.) This patch adds a function that does this, behaving the same way under Win32 and Unix, with GError, additional knobs and testcases.
Created attachment 158853 [details] [review] patch
*** This bug has been marked as a duplicate of bug 111848 ***