[PATCH] cli: handle platforms with O_CLOEXIT undefined

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

 



On Sat, Oct 31, 2009 at 01:59:33AM +0100, Lennart Poettering wrote:
> On Sat, 31.10.09 01:54, Daniel Mack (daniel at caiaq.de) wrote:
> 
> > O_CLOEXIT is undefined on Mac OS X, #define it to 0 there.
> > ---
> >  src/modules/module-cli.c |    5 +++++
> >  1 files changed, 5 insertions(+), 0 deletions(-)
> 
> I figure you mean O_CLOEXEC, right? 

Erm, of course.

> Coincidentally I have applied a number of patches yesterday that get
> rid of O_CLOEXEC entirely, and replaced it with a central function
> pa_open_cloexec() that portably uses it if it is available and
> otherwise falls back to fcntl().
> 
> If you update your tree from current git this problem should be fixed
> for you...

Ok, great. Will do.

Thanks,
Daniel




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

  Powered by Linux