diff options
author | Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> | 2007-05-07 19:48:40 +0000 |
---|---|---|
committer | François-Xavier Coudert <fxcoudert@gcc.gnu.org> | 2007-05-07 19:48:40 +0000 |
commit | 25a5e75613af9aac60b3c5b6856d6b6819b1ccae (patch) | |
tree | 986b5101c17bfab4371276f257fdb9c143ab5053 /libgfortran/libgfortran.h | |
parent | adcbdf5c45c75205b243c0a9abc39e4e6685d677 (diff) | |
download | gcc-25a5e75613af9aac60b3c5b6856d6b6819b1ccae.zip gcc-25a5e75613af9aac60b3c5b6856d6b6819b1ccae.tar.gz gcc-25a5e75613af9aac60b3c5b6856d6b6819b1ccae.tar.bz2 |
re PR libfortran/31607 (CALL SYSTEM produces garbled output when writing to a buffered file)
PR libfortran/31607
* intrinsics/system.c (system_sub): Call flush_all_units.
* io/io.h (flush_all_units): Move prototype to libgfortran.h.
* libgfortran.h (flush_all_units): Add prototype.
From-SVN: r124510
Diffstat (limited to 'libgfortran/libgfortran.h')
-rw-r--r-- | libgfortran/libgfortran.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libgfortran/libgfortran.h b/libgfortran/libgfortran.h index bfbfbef..0f7d2c7 100644 --- a/libgfortran/libgfortran.h +++ b/libgfortran/libgfortran.h @@ -666,6 +666,11 @@ internal_proto(fstrcpy); extern void cf_strcpy (char *, int, const char *); internal_proto(cf_strcpy); +/* io/intrinsics.c */ + +extern void flush_all_units (void); +internal_proto(flush_all_units); + /* io.c */ extern void init_units (void); |