projects
/
platform
/
upstream
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e55f4ed
)
caps: Fix compilation on Windows
author
Tanu Kaskinen
<tanu.kaskinen@linux.intel.com>
Sun, 14 Jul 2013 10:26:24 +0000
(13:26 +0300)
committer
Tanu Kaskinen
<tanu.kaskinen@linux.intel.com>
Sun, 14 Jul 2013 10:26:24 +0000
(13:26 +0300)
Thanks to Pierre Ossman for the patch.
src/daemon/caps.c
patch
|
blob
|
history
diff --git
a/src/daemon/caps.c
b/src/daemon/caps.c
index 36b76a90acfb22a410f409699001bbbfca8f2b91..2251cb3738367d0855f9df8c339ab3c0be02bff2 100644
(file)
--- a/
src/daemon/caps.c
+++ b/
src/daemon/caps.c
@@
-72,10
+72,10
@@
void pa_drop_root(void) {
pa_assert_se(geteuid() == uid);
pa_assert_se(getgid() == gid);
pa_assert_se(getegid() == gid);
-#endif
if (uid != 0)
pa_drop_caps();
+#endif
}
void pa_drop_caps(void) {