[pulseaudio-commits] src/pulsecore
Arun Raghavan
arun at kemper.freedesktop.org
Fri Jun 15 22:05:14 PDT 2012
src/pulsecore/core-util.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 56ce2c67c2f6be565e7292fc3676d57d2ac39504
Author: Mihai Moldovan <ionic at ionic.de>
Date: Tue May 29 09:21:54 2012 +0200
core-util: use the generic PATH_MAX variant of pa_realpath on Mac OS X
realpath() on OS X behaves GNUish and accepts NULL for resolved_name
only on 10.6 and higher. Older versions will crash, if resolved_name is
NULL.
All versions define PATH_MAX, though. Better play it safe and use the
generic PATH_MAX version of pa_realpath on Mac OS X systems.
Signed-off-by: Mihai Moldovan <ionic at ionic.de>
diff --git a/src/pulsecore/core-util.c b/src/pulsecore/core-util.c
index 834c69b..1275c6e 100644
--- a/src/pulsecore/core-util.c
+++ b/src/pulsecore/core-util.c
@@ -3003,7 +3003,7 @@ char *pa_realpath(const char *path) {
return NULL;
}
-#if defined(__GLIBC__) || defined(__APPLE__)
+#if defined(__GLIBC__)
{
char *r;
More information about the pulseaudio-commits
mailing list