projects
/
free-sw
/
xcb
/
libxcb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
605c778
)
Send locking assertion backtraces to stderr. Improve the heading on the backtrace.
author
Josh Triplett
<josh@freedesktop.org>
Thu, 14 Jun 2007 06:46:37 +0000
(23:46 -0700)
committer
Josh Triplett
<josh@freedesktop.org>
Thu, 14 Jun 2007 06:46:37 +0000
(23:46 -0700)
src/xcb_xlib.c
patch
|
blob
|
history
diff --git
a/src/xcb_xlib.c
b/src/xcb_xlib.c
index
07d530c
..
35ad3c3
100644
(file)
--- a/
src/xcb_xlib.c
+++ b/
src/xcb_xlib.c
@@
-45,10
+45,10
@@
static void xcb_xlib_printbt(void)
size = backtrace(array, 20);
strings = backtrace_symbols(array, size);
-
printf("Got a b
acktrace:\n");
+
fprintf(stderr, "Locking assertion failure. B
acktrace:\n");
for (i = 0; i < size; ++i)
-
printf(
"#%i %s\n", i, strings[i]);
+
fprintf(stderr,
"#%i %s\n", i, strings[i]);
free(strings);
#endif