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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux