diff options
author | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-07-08 01:08:49 +0000 |
---|---|---|
committer | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-07-08 01:08:49 +0000 |
commit | 71ed51a3dc79d8643efe0f846120e28adf87cf8d (patch) | |
tree | 1a669b357c19287c0d62df4bcb3bee021e671e6d /libbanshee | |
parent | ed8aa6928fbae14e64748e577a240e0c83d2a7d8 (diff) | |
download | gcc-71ed51a3dc79d8643efe0f846120e28adf87cf8d.tar.gz |
* engine/util.c (vfail): Remove unnecessary sync, fsync, and fflush.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84253 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libbanshee')
-rw-r--r-- | libbanshee/engine/ChangeLog | 4 | ||||
-rw-r--r-- | libbanshee/engine/util.c | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/libbanshee/engine/ChangeLog b/libbanshee/engine/ChangeLog index 5309328c6fa..b65636ed5e7 100644 --- a/libbanshee/engine/ChangeLog +++ b/libbanshee/engine/ChangeLog @@ -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. diff --git a/libbanshee/engine/util.c b/libbanshee/engine/util.c index 92619801af2..2d723f93343 100644 --- a/libbanshee/engine/util.c +++ b/libbanshee/engine/util.c @@ -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 */ } |