Code Review
/
staging
/
windowmanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
util: add scope tracer utility (hack, but more or less useful)
[staging/windowmanager.git]
/
src
/
util.cpp
diff --git
a/src/util.cpp
b/src/util.cpp
index
1f2bc05
..
db61bc2
100644
(file)
--- a/
src/util.cpp
+++ b/
src/util.cpp
@@
-24,6
+24,8
@@
#include <unistd.h>
+thread_local int ScopeTrace::indent = 0;
+
unique_fd::~unique_fd() {
if (this->fd != -1) {
close(this->fd);