Eric Blake asked:
> > +/* Fix up the FD_* macros. */
> > +
> > +#ifndef FD_CLOEXEC
> > +# define FD_CLOEXEC 1
> > +#endif
>
> Is mingw the only known platform that lacks this?
Yes. And on all Unix platforms, FD_CLOEXEC has the value 1.
Bruno
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Paolo Bonzini on 8/20/2009 2:27 AM:
> While the discussion proceeds, what about this very tiny preliminary
> step?
>
> Paolo
>
> 2009-08-20 Paolo Bonzini
>
> * lib/cloexec.c: Do not define FD_CLOEXEC here.
> * lib/popen-s
While the discussion proceeds, what about this very tiny preliminary
step?
Paolo
2009-08-20 Paolo Bonzini
* lib/cloexec.c: Do not define FD_CLOEXEC here.
* lib/popen-safer.c: Do not alias O_NOINHERIT to O_CLOEXEC here.
* lib/fcntl.in.h: Do both things here.
---
Change