[pulseaudio-discuss] realpath segfault
David Yoder
davidmyoder at gmail.com
Fri Oct 30 07:54:08 PDT 2009
Lennart,
Apparently I was debugging this at the same time as you. I can't figure out
why my Fedora 11 install with glibc-2.10 has a glibc realpath that doesn't
match the gnu documentation and returns null. But it does.
Your commit aa8ce5bb9b159abb2ffb0f43996340566fc2e9c6 almost fixed my
problem, but it needs a tweak.
Thanks,
David Yoder
diff -rupN pulseaudio-git-latest/src/daemon/main.c
pulseaudio-dmy-20091030/src/daemon/main.c
--- pulseaudio-git-latest/src/daemon/main.c 2009-10-30 09:37:50.644334433
-0500
+++ pulseaudio-dmy-20091030/src/daemon/main.c 2009-10-30
09:40:44.135336003 -0500
@@ -425,7 +425,7 @@ int main(int argc, char *argv[]) {
pa_set_env("LD_BIND_NOW", "1");
- if (!(canonical_rp = pa_realpath(PA_BINARY))) {
+ if ((canonical_rp = pa_realpath(PA_BINARY))) {
if ((rp = pa_readlink("/proc/self/exe"))) {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20091030/9613cbf3/attachment.htm>
More information about the pulseaudio-discuss
mailing list