Re: mingw and AC_SYS_LARGEFILE

2012-04-21 Thread Ray Satiro
> From: Bruno Haible >> 2012-04-15  Bruno Haible  >> >>         Large File Support for native Windows platforms. > >I've pushed this patch now. > >Bruno Hi Bruno, I compiled the latest wget and gnulib modules in msys and wget mingw build is able to properly resume large files again. Thank yo

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 use the AC_SYS_LARGEFI

Re: blocking socket is nonblocking after calling gnulib select() in windows

2011-04-22 Thread Ray Satiro
> Really nice to see that, ntdeviceiocontrol thread could be put in > alertable state and thus safely stopable by an APC. APC to stop? Do you mean call WSAIoctl and then use an APC to terminate the thread? I don't think that would be safe and I assume there would remain a pending operation if

Re: blocking socket is nonblocking after calling gnulib select() in windows

2011-04-20 Thread Ray Satiro
> On Wed, Apr 20, 2011 at 7:17 PM, Bastien ROUCARIES > wrote: > >> Is the gnulib select() only intended to be used with nonblocking sockets on > >> windows? > > > > I have just tested the program at the end of the file, it thread is > > blocked when enable =0 (block socket) and enable=1 it fa

blocking socket is nonblocking after calling gnulib select() in windows

2011-04-19 Thread Ray Satiro
Hi, Thank you all for your continuous work on gnulib. Every time I look at it it's evolving. Is the gnulib select() only intended to be used with nonblocking sockets on windows? The Wget project has recently switched to gnulib's replacement select function in their dev builds. Wget uses sock