Tuesday, 1 May 2012

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

http://www.riscos.info/bugzilla3/show_bug.cgi?id=234

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

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

--- Comment #1 from John Tytgat <John.Tytgat@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.

_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK

No comments:

Post a Comment