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 <j...@gcc.gnu.org> Tobias Burnus <bur...@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