re PR fortran/67367 (Program crashes on READ(IOSTAT=IOS, ...) on directory OPEN(...
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Sat, 29 Aug 2015 15:38:39 +0000 (15:38 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Sat, 29 Aug 2015 15:38:39 +0000 (15:38 +0000)
commit7c32549e5729741383aa482b29f45cf69bcf6740
tree777f6d57a9e500963bbf8338c8f9872e171551ec
parent4879fba9985f5781c9c9b5bfdd60680519e6c1e1
re PR fortran/67367 (Program crashes on READ(IOSTAT=IOS, ...) on directory OPEN()ed without error)

2015-08-29 Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/67367
* io/unix.c (buf_read): Check for error condition and if found
return the error code.

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