[Bug libfortran/51803] gfortran getcwd at startup

2012-01-12 Thread jb at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51803 --- Comment #7 from Janne Blomqvist 2012-01-12 09:58:39 UTC --- Author: jb Date: Thu Jan 12 09:58:34 2012 New Revision: 183122 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183122 Log: PR 51803 Avoid malloc if getcwd fails or is not avai

[Bug libfortran/51803] gfortran getcwd at startup

2012-01-10 Thread jb at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51803 Janne Blomqvist changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug libfortran/51803] gfortran getcwd at startup

2012-01-10 Thread jb at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51803 --- Comment #5 from Janne Blomqvist 2012-01-11 07:34:22 UTC --- Author: jb Date: Wed Jan 11 07:34:16 2012 New Revision: 183090 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183090 Log: PR 51803 Handle getcwd failure and lack of the funct

[Bug libfortran/51803] gfortran getcwd at startup

2012-01-10 Thread mrs at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51803 --- Comment #4 from 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 a

[Bug libfortran/51803] gfortran getcwd at startup

2012-01-10 Thread mrs at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51803 --- Comment #3 from mrs at gcc dot gnu.org 2012-01-10 16:39:33 UTC --- Mike Stump

[Bug libfortran/51803] gfortran getcwd at startup

2012-01-10 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51803 --- Comment #2 from Richard Guenther 2012-01-10 10:04:17 UTC --- (In reply to comment #1) > Confirmed. I'll fix it for 4.8, while the patch is trivial we're already in > stage 4 for 4.7. It's certainly fine for 4.7. > Also, can you state your n

[Bug libfortran/51803] gfortran getcwd at startup

2012-01-09 Thread jb at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51803 Janne Blomqvist changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|