[pulseaudio-discuss] [PATCH] cli: handle platforms with O_CLOEXIT undefined
daniel at caiaq.de
Fri Oct 30 18:15:36 PDT 2009
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.
More information about the pulseaudio-discuss