public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3520704
)
'!' tracing is now always emitted; tracing goes to stderr.
author
David Given
<dg@cowlark.com>
Tue, 18 Oct 2016 20:32:09 +0000
(22:32 +0200)
committer
David Given
<dg@cowlark.com>
Tue, 18 Oct 2016 20:32:09 +0000
(22:32 +0200)
mach/proto/mcg/main.c
patch
|
blob
|
history
diff --git
a/mach/proto/mcg/main.c
b/mach/proto/mcg/main.c
index
b518bff
..
cf8a443
100644
(file)
--- a/
mach/proto/mcg/main.c
+++ b/
mach/proto/mcg/main.c
@@
-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);
- v
printf(
fmt, ap);
+ v
fprintf(stderr,
fmt, ap);
va_end(ap);
}
}