forked from OSchip/llvm-project
debugserver should fflush its log stream in FileLogCallback, now it does.
<rdar://problem/24728287> llvm-svn: 268325
This commit is contained in:
parent
133ebe5bc7
commit
7301d39401
|
@ -824,8 +824,9 @@ FileLogCallback(void *baton, uint32_t flags, const char *format, va_list args)
|
|||
if (baton == NULL || format == NULL)
|
||||
return;
|
||||
|
||||
::vfprintf ((FILE *)baton, format, args);
|
||||
::fprintf ((FILE *)baton, "\n");
|
||||
::vfprintf((FILE *)baton, format, args);
|
||||
::fprintf((FILE *)baton, "\n");
|
||||
::fflush((FILE *)baton);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue