OSDN Git Service

* engine/util.c (vfail): Remove unnecessary sync, fsync, and fflush.
authorbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Jul 2004 01:08:49 +0000 (01:08 +0000)
committerbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Jul 2004 01:08:49 +0000 (01:08 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84253 138bc75d-0d04-0410-961f-82ee72b054a4

libbanshee/engine/ChangeLog
libbanshee/engine/util.c

index 5309328..b65636e 100644 (file)
@@ -1,3 +1,7 @@
+2004-05-28 Aaron W. LaFramboise <aaronraolete36@aaronwl.com>
+
+       * engine/util.c (vfail): Remove unnecessary sync, fsync, and fflush.
+
 2003-07-01  Daniel Berlin  <dberlin@dberlin.org>
 
        * bool.h: Can't include gcc's system.h and bool.h at the same time.
index 9261980..2d723f9 100644 (file)
@@ -44,13 +44,8 @@ static void vfail(const char *fmt, va_list args) __attribute__((__noreturn__));
 static void vfail(const char *fmt, va_list args)
 {
   vfprintf(stderr, fmt, args);
-  fflush(stdin);
   fflush(stderr);
   fflush(stdout);
-  sync();
-  fsync(STDIN_FILENO);
-  fsync(STDERR_FILENO);
-  fsync(STDOUT_FILENO);
   abort();
   while (1); /* Work around stupid gcc-2.96-85 bug */
 }