Commit fbf153f2 by Aaron W. LaFramboise Committed by Per Bothner

* engine/util.c (vfail): Remove unnecessary sync, fsync, and fflush.

From-SVN: r84253
parent 45fdd405
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.
......
......@@ -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 */
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment