This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libfortran/51803] gfortran getcwd at startup


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51803

--- Comment #4 from mrs at gcc dot gnu.org <mrs at gcc dot gnu.org> 2012-01-10 16:44:24 UTC ---
Oh, a related, but different bug would be, if getcwd isn't on the system, or
fails, I think "." might be better than "", as we form getcwd '/' argv[0], and
that doesn't make any sense as "" really.  ./a.out seems better than /a.out for
example.  I merely copied the bug from the other code path for uniformity, not
because I thought it was the right value.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]