mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
daemon: realpath segfault fix
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 aa8ce5bb9b almost fixed my
problem, but it needs a tweak.
Thanks,
David Yoder
This commit is contained in:
parent
542fa468c2
commit
5c57650769
1 changed files with 1 additions and 1 deletions
|
|
@ -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"))) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue