[Bug libfortran/51803] gfortran getcwd at startup

jb at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jan 12 09:59:00 GMT 2012


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



More information about the Gcc-bugs mailing list