diff options
Diffstat (limited to 'libgfortran/io/unix.c')
-rw-r--r-- | libgfortran/io/unix.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libgfortran/io/unix.c b/libgfortran/io/unix.c index 4966726..28ac6ca 100644 --- a/libgfortran/io/unix.c +++ b/libgfortran/io/unix.c @@ -630,10 +630,7 @@ mem_alloc_w_at (unix_stream * s, int *len, gfc_offset where) return NULL; if (m > s->file_length) - { - generate_error (ERROR_END, NULL); - return NULL; - } + return NULL; s->logical_offset = m; |