aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/io/io.h
diff options
context:
space:
mode:
authorJerry DeLisle <jvdelisle@gcc.gnu.org>2015-02-07 15:13:15 +0000
committerJerry DeLisle <jvdelisle@gcc.gnu.org>2015-02-07 15:13:15 +0000
commit1060d9404d1ab275b540efe1c7868d08c07a81e1 (patch)
tree81fec064d6dc7d20671ba02ca25c864dc9cec2f8 /libgfortran/io/io.h
parentc0c91386b7ebd2c241d6ee2d5c172e57f5185472 (diff)
downloadgcc-1060d9404d1ab275b540efe1c7868d08c07a81e1.zip
gcc-1060d9404d1ab275b540efe1c7868d08c07a81e1.tar.gz
gcc-1060d9404d1ab275b540efe1c7868d08c07a81e1.tar.bz2
re PR fortran/60956 (error reading (and writing) large text files in gfortran)
2015-02-07 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/60956 * io/fbuf.c (fbuf_flush_list): New function that only flushes if current fbuf position exceeds a limit. * io/fbuf.h: Declare the new function. * io/io.h (enum unit_mode): Add two new modes. * io/list_read.c (list_formatted_read_scalar): Call new function. * io/write.c: Include fbuf.h. (list_formatted_write_scalar): Call new function. From-SVN: r220505
Diffstat (limited to 'libgfortran/io/io.h')
-rw-r--r--libgfortran/io/io.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgfortran/io/io.h b/libgfortran/io/io.h
index 928123b..f34d0c3 100644
--- a/libgfortran/io/io.h
+++ b/libgfortran/io/io.h
@@ -231,7 +231,7 @@ typedef enum
unit_advance;
typedef enum
-{READING, WRITING}
+{READING, WRITING, LIST_READING, LIST_WRITING}
unit_mode;
typedef enum