* engine/util.c (vfail): Remove unnecessary sync, fsync, and fflush.
From-SVN: r84253
This commit is contained in:
parent
45fdd40502
commit
fbf153f263
@ -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.
|
||||
|
@ -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 */
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user