[pulseaudio-discuss] [PATCH] core-util: use the generic PATH_MAX variant of pa_realpath on Mac OS X

Arun Raghavan arun.raghavan at collabora.co.uk
Tue May 29 01:01:39 PDT 2012


On Tue, 2012-05-29 at 09:21 +0200, Mihai Moldovan wrote:
> 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>
> ---
>  src/pulsecore/core-util.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Daniel, since you're most aware of the situation on OS X -- any
objections to this?

-- Arun



More information about the pulseaudio-discuss mailing list