Re: fcntl for mingw

2012-03-23 Thread Michael Kerrisk (man-pages)
Hello, On Tue, Dec 15, 2009 at 6:16 PM, Eric Blake wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > According to Bruno Haible on 12/11/2009 8:38 AM: >>> +  switch (action) >>> +    { >>> +    case F_DUPFD_CLOEXEC: >>> +      { >>> +        int target = va_arg (arg, int); >> >> Is the

Re: fcntl for mingw

2009-12-15 Thread Eric Blake
Bruno Haible clisp.org> writes: > > #elif defined GNULIB_POSIXCHECK > > -# undef openat > > -# define openat(f,u,g) \ > > -(GL_LINK_WARNING ("openat is not portable - " \ > > - "use gnulib module openat for portability"), \ > > - openat) > > +/* Can't provide link wa

Re: fcntl for mingw

2009-12-14 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Bruno Haible on 12/11/2009 8:38 AM: >> + switch (action) >> +{ >> +case F_DUPFD_CLOEXEC: >> + { >> +int target = va_arg (arg, int); > > Is the arg of type 'int' or 'long'? POSIX says it's an 'int'. But > the Linux ma

Re: fcntl for mingw

2009-12-11 Thread Bruno Haible
Eric Blake wrote: > --- a/doc/posix-functions/fcntl.texi > +++ b/doc/posix-functions/fcntl.texi > @@ -4,10 +4,16 @@ fcntl > > POSIX specification: @url > {http://www.opengroup.org/onlinepubs/9699919799/functions/fcntl.html} > > -Gnulib module: --- > +Gnulib module: fcntl > > Portability proble