'!' tracing is now always emitted; tracing goes to stderr.
This commit is contained in:
parent
3520704ea8
commit
5413d47029
|
@ -10,6 +10,8 @@ FILE* cfg_dot_file = NULL;
|
|||
|
||||
bool tracing(char k)
|
||||
{
|
||||
if (k == '!')
|
||||
return true;
|
||||
if (!tracechars)
|
||||
return false;
|
||||
|
||||
|
@ -23,7 +25,7 @@ void tracef(char k, const char* fmt, ...)
|
|||
if (tracing(k))
|
||||
{
|
||||
va_start(ap, fmt);
|
||||
vprintf(fmt, ap);
|
||||
vfprintf(stderr, fmt, ap);
|
||||
va_end(ap);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue