projects
/
profile
/
ivi
/
pulseaudio-panda.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8222f12
)
instead of checking for directly use new function pa_in_valgrind()
author
Lennart Poettering
<lennart@poettering.net>
Fri, 3 Oct 2008 22:13:05 +0000
(
00:13
+0200)
committer
Lennart Poettering
<lennart@poettering.net>
Fri, 3 Oct 2008 22:13:05 +0000
(
00:13
+0200)
src/daemon/caps.c
patch
|
blob
|
history
diff --git
a/src/daemon/caps.c
b/src/daemon/caps.c
index
f7b6658
..
25a09fd
100644
(file)
--- a/
src/daemon/caps.c
+++ b/
src/daemon/caps.c
@@
-112,9
+112,9
@@
void pa_drop_caps(void) {
#ifndef __OPTIMIZE__
/* Valgrind doesn't not know set_caps, so we bypass it here -- but
- *
only in development built
s.*/
+ *
only in development build
s.*/
- if (
getenv("VALGRIND"
) && !pa_have_caps())
+ if (
pa_in_valgrind(
) && !pa_have_caps())
return;
#endif