OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
2009-04-08 Janne Blomqvist <jb@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git]
/
libgfortran
/
io
/
unit.c
diff --git
a/libgfortran/io/unit.c
b/libgfortran/io/unit.c
index
4c46016
..
00bea5a
100644
(file)
--- a/
libgfortran/io/unit.c
+++ b/
libgfortran/io/unit.c
@@
-626,7
+626,7
@@
close_unit_1 (gfc_unit *u, int locked)
if (u->previous_nonadvancing_write)
finish_last_advance_record (u);
- rc = (u->s == NULL) ? 0 : sclose (u->s) ==
FAILURE
;
+ rc = (u->s == NULL) ? 0 : sclose (u->s) ==
-1
;
u->closed = 1;
if (!locked)