diff tests/test-init.t @ 20542:be27652675ce

util: debugstacktrace, flush before and after writing Close another stream (default stdout, which often is buffered) before writing to the primary stream (default stderr, which often is unbuffered). The primary stream is also flushed after writing (in case it is buffered). This fixes non-deterministic output order, especially on windows.
author Mads Kiilerich <madski@unity3d.com>
date Thu, 20 Feb 2014 02:38:36 +0100
parents 969148b49fc6
children 5b6cd8526d56
line wrap: on
line diff