[pulseaudio-discuss] [PATCH] cli: handle platforms with O_CLOEXIT undefined

Lennart Poettering lennart at poettering.net
Fri Oct 30 17:59:33 PDT 2009

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? 

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...


Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/           GnuPG 0x1A015CC4

More information about the pulseaudio-discuss mailing list