diff options
author | tkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-08-29 20:40:02 +0000 |
---|---|---|
committer | tkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-08-29 20:40:02 +0000 |
commit | 59a000b8b528b28bb13eafd52f867f3b3c50fc12 (patch) | |
tree | bc29b9e028673558a3d81e84dae7800d4cf5877a /libgfortran/io/lock.c | |
parent | 04e684e39c30989c60268a8d571bbc90c44d68f2 (diff) | |
download | gcc-59a000b8b528b28bb13eafd52f867f3b3c50fc12.tar.gz |
2005-08-29 Thomas Koenig <Thomas.Koenig@online.de>
PR libfortran/23598
* io/lock.c(library_start): If ioparm.iostat is present, clear
it unconditionally.
2005-02-29 Thomas Koenig <Thomas.Koenig@online.de>
PR libfortran/23598
* gfortran.dg/iostat_1.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103613 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/io/lock.c')
-rw-r--r-- | libgfortran/io/lock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgfortran/io/lock.c b/libgfortran/io/lock.c index 9541fc521c6..7dc08e1d828 100644 --- a/libgfortran/io/lock.c +++ b/libgfortran/io/lock.c @@ -54,7 +54,7 @@ library_start (void) stay within the library. */ g.in_library = 1; - if (ioparm.iostat != NULL && ioparm.library_return == LIBRARY_OK) + if (ioparm.iostat != NULL) *ioparm.iostat = ERROR_OK; ioparm.library_return = LIBRARY_OK; |