This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/51803] gfortran getcwd at startup
- From: "jb at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 12 Jan 2012 09:58:39 +0000
- Subject: [Bug libfortran/51803] gfortran getcwd at startup
- Auto-submitted: auto-generated
- References: <bug-51803-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51803
--- Comment #7 from Janne Blomqvist <jb at gcc dot gnu.org> 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 available.
2012-01-12 Janne Blomqvist <jb@gcc.gnu.org>
Tobias Burnus <burnus@net-b.de>
PR libfortran/51803
* runtime/main.c (store_exe_path): Avoid malloc if getcwd fails or
is not available.
Modified:
trunk/libgfortran/ChangeLog
trunk/libgfortran/runtime/main.c