diff options
author | Francois-Xavier Coudert <coudert@clipper.ens.fr> | 2005-07-31 09:30:34 +0200 |
---|---|---|
committer | François-Xavier Coudert <fxcoudert@gcc.gnu.org> | 2005-07-31 07:30:34 +0000 |
commit | d4d145acd44e23a5112044df548de4f70711f031 (patch) | |
tree | fbaa28317dd8998c7c27bd5d7bb9de528d4b48ee | |
parent | 41500b747d5cc657d57e4cad30a0f74165de62a1 (diff) | |
download | gcc-d4d145acd44e23a5112044df548de4f70711f031.zip gcc-d4d145acd44e23a5112044df548de4f70711f031.tar.gz gcc-d4d145acd44e23a5112044df548de4f70711f031.tar.bz2 |
re PR libfortran/21787 (flush I/O before calling abort())
PR libfortran/21787
* intrinsics/abort.c (abort): Close units before aborting.
Updated copyright years.
From-SVN: r102600
-rw-r--r-- | libgfortran/ChangeLog | 6 | ||||
-rw-r--r-- | libgfortran/intrinsics/abort.c | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 55bbfa2..27bb483 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,9 @@ +2005-07-31 Francois-Xavier Coudert <coudert@clipper.ens.fr> + + PR libfortran/21787 + * intrinsics/abort.c (abort): Close units before aborting. + Updated copyright years. + 2005-07-30 Francois-Xavier Coudert <coudert@clipper.ens.fr> PR libfortran/22436 diff --git a/libgfortran/intrinsics/abort.c b/libgfortran/intrinsics/abort.c index 83b4212..bbf7e5f 100644 --- a/libgfortran/intrinsics/abort.c +++ b/libgfortran/intrinsics/abort.c @@ -1,5 +1,5 @@ /* Implementation of the ABORT intrinsic. - Copyright (C) 2003, 2004 Free Software Foundation, Inc. + Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. This file is part of the GNU Fortran 95 runtime library (libgfortran). @@ -35,5 +35,6 @@ export_proto_np(PREFIX(abort)); void PREFIX(abort) (void) { + close_units (); abort (); } |