diff options
author | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2003-07-07 14:23:09 +0000 |
---|---|---|
committer | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2003-07-07 14:23:09 +0000 |
commit | 835d643ead1257e6346cf703c234d7bb246f71d3 (patch) | |
tree | d418efa039c0becf0031050116f0098d30a4fefc /src/main/WarnLevel.c | |
parent | d073115c19c060605bbf0b6b2273a9280ab3f43d (diff) |
Flush stdout before writing stderr for warnings.
Fixes Cactus/1505
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3261 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/main/WarnLevel.c')
-rw-r--r-- | src/main/WarnLevel.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/WarnLevel.c b/src/main/WarnLevel.c index fc5a486d..c03d3933 100644 --- a/src/main/WarnLevel.c +++ b/src/main/WarnLevel.c @@ -295,6 +295,8 @@ int CCTK_VWarn (int level, if (level <= warning_level) { + + fflush(stdout); myproc = CCTK_MyProc(NULL); cctk_full_warnings = (const CCTK_INT *) |