PR 66861 Fix null pointer crash on mingw.
authorJanne Blomqvist <jb@gcc.gnu.org>
Tue, 14 Jul 2015 20:26:06 +0000 (23:26 +0300)
committerJanne Blomqvist <jb@gcc.gnu.org>
Tue, 14 Jul 2015 20:26:06 +0000 (23:26 +0300)
commit5fd6ec3e4b29ed0e4ba1ca81d642ee718004db7d
treeee02c3ee48d669a7eb32f32bdba9440b622651bc
parent5faebb89f57ead4ac4ddfb88c2e9037cac2724ba
PR 66861 Fix null pointer crash on mingw.

2015-07-14  Janne Blomqvist  <jb@gcc.gnu.org>

PR libfortran/66861
* io/unix.c (compare_file_filename): Verify that u->filename is
non-NULL before strcmp.
(find_file0): Likewise.

From-SVN: r225788
libgfortran/ChangeLog
libgfortran/io/unix.c