re PR libfortran/21787 (flush I/O before calling abort())
authorFrancois-Xavier Coudert <coudert@clipper.ens.fr>
Sun, 31 Jul 2005 07:30:34 +0000 (09:30 +0200)
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Sun, 31 Jul 2005 07:30:34 +0000 (07:30 +0000)
PR libfortran/21787
* intrinsics/abort.c (abort): Close units before aborting.
Updated copyright years.

From-SVN: r102600

libgfortran/ChangeLog
libgfortran/intrinsics/abort.c

index 55bbfa207bce4792b61e5c936b944de4f1e2decf..27bb48378ef389d95717121c7ae67787be2ce598 100644 (file)
@@ -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
index 83b42125e58aeaa979d4f1fc5a04295aa31071b8..bbf7e5f3a792923ce8225a97cd7304aae1d58c68 100644 (file)
@@ -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 ();
 }