After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 629171 - Realpath portable function
Realpath portable function
Status: RESOLVED DUPLICATE of bug 111848
Product: glib
Classification: Platform
Component: general
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2010-09-09 14:01 UTC by Luca Bruno
Modified: 2010-09-09 14:33 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Luca Bruno 2010-09-09 14:01:18 UTC
Hello,
several GNOME modules use realpath() and its usage is not often portable due to PATH_MAX (e.g. for Hurd), and it involves a series of #ifdef'ing and copy&paste from other code. Also other applications (like Vala) has its own realpath utility function (except it doesn't expand symbolic links).

I'd like to request inclusion for a portable g_realpath (or such) for obtaining the full path of a filename equal (or similar) to realpath.
Comment 1 Tor Lillqvist 2010-09-09 14:33:21 UTC
Essentially a duplicate of bug #111848 , I'd say.

*** This bug has been marked as a duplicate of bug 111848 ***