[gccsdk] [Bug 234] GCC 4.1.2 Rel 2 Dev 2012-04-28, SUL 1.12: argv[0] gives full path not leaf name.

bugzilla-daemon at riscos.info bugzilla-daemon at riscos.info
Tue May 1 12:20:05 PDT 2012


John Tytgat <John.Tytgat at aaug.net> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from John Tytgat <John.Tytgat at aaug.net> 2012-05-01 12:20:05 PDT ---
It's on purpose argv[0] gets canonicalized because it makes the executable
independent on Run$Path and/or, more importantly, CWD.  As long we don't have
any hard reasons to do otherwise, there are no plans to change this behavior.

Configure bugmail: http://www.riscos.info/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the gcc mailing list