Patch: relative pathnames, take 2

Tom Tromey
Tue Nov 30 23:59:00 GMT 1999

>>>>> "Jan" == Jan Vroonhof <> writes:

Jan> The idea is that argv[0] is often not a good indication of where
Jan> the tree is, it can be a symlink (say from /usr/local/bin) into
Jan> the real tree.

Jan> progname = symlink_value(progname) and restart.

I'm not sure what you mean by symlink_value.  In the past I used to
use realpath() in my location-independence code.  Is that what you

This might be a good thing to do.  I don't plan to do it, I'm afraid.
Feel free to send a patch!


More information about the Gcc-patches mailing list