Re: ioctl.c

2012-04-12 Thread Bruno Haible
CT_CHECKING=1 -I/usr/local/mingw/include -Wall -g -O2 -MT ioctl.o -MD -MP -MF .deps/ioctl.Tpo -c -o ioctl.o ioctl.c ioctl.c: In function `primary_ioctl': ioctl.c:60: error: `HANDLE' undeclared (first use in this function) ioctl.c:60: error: (Each undeclared identifier is reported only o

mingw: ioctl.c HANDLE not defined and fstat question

2012-04-11 Thread Ray Satiro
I had to add #include to get ioctl.c to compile for mingw. Without it the HANDLE type was not defined. The gnulib fstat doc says: "On platforms where off_t is a 32-bit type, stat may not correctly report the size of files or block devices larger than 2 GB. The fix is to us

Re: ioctl.c

2012-04-10 Thread Nikos Mavrogiannopoulos
On 04/10/2012 08:07 PM, Eric Blake wrote: > From whom? We should credit the correct author before applying anything > (at least it is small enough to be trivial and not require copyright > assignment). I forward you the original e-mail. regards, Nikos Original Message Subjec

Re: ioctl.c

2012-04-10 Thread Eric Blake
On 04/10/2012 12:04 PM, Nikos Mavrogiannopoulos wrote: > Hello, > I received this patch in gnutls for ioctl.c. From whom? We should credit the correct author before applying anything (at least it is small enough to be trivial and not require copyright assignment). -- Eric Blake

ioctl.c

2012-04-10 Thread Nikos Mavrogiannopoulos
Hello, I received this patch in gnutls for ioctl.c. regards, Nikos diff --git a/lib/ioctl.c b/lib/ioctl.c index 2e51c92..e6ba46b 100644 --- a/lib/ioctl.c +++ b/lib/ioctl.c @@ -49,6 +49,9 @@ rpl_ioctl (int fd, int request, ... /* {void *,char *} arg */) # include "fd-hook.h&quo