> From: Giuseppe Scrivano <[email protected]>
> Ray Satiro <[email protected]> writes: > >> A few other issues need to be addressed for mingw compile. >> 1. it seems gnulib does not address large file aware fstat/stat for >> mingw. I overrode this for my own build using a patch similar to that >> posted by Ángel González in the bootstrap thread. > > I haven't looked at it, but in case it is a gnulib bug and it has to be > fixed there, I am sure they will accept such a fix. Fixed, thanks to Bruno Haible who put a lot of work in on it. http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=3f3d9b41ce3bcc3f4664512c3756621126a5eab2 I tested 2603 with the updated gnulib modules and everything looks ok. C:\Users\Internet\Desktop>stat -c %s Fedora-16-i386-DVD.iso 2161128630 C:\Users\Internet\Desktop>c:\wget\root\bin\wget.exe --debug -c http://mirrors.ke rnel.org/fedora/releases/16/Fedora/i386/iso/Fedora-16-i386-DVD.iso [...] ---request begin--- GET /fedora/releases/16/Fedora/i386/iso/Fedora-16-i386-DVD.iso HTTP/1.1 Range: bytes=2161128630- User-Agent: Wget/1.13.4-2603-dirty (mingw32) Accept: */* Host: mirrors.kernel.org Connection: Keep-Alive Hash check ok. The build I tested with is available here: http://sourceforge.net/projects/getgnuwin32/files/getgnuwin32/test%20builds/wget_2603__mingw__04-22-12.zip/download >> 2. gnulib ioctl.c mingw section does not have HANDLE type defined. I >> think that might be a gnulib oversight so I'll write them > > hm.. where do we use it? I can see it only in mswindows.c. Fixed thanks to LRN <[email protected]> and Bruno Haible <[email protected]>. http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=7a147d8739ad85c2485c79a3b1715212c85460a1 mswindows needs it to make sure the socket stays in blocking mode. Jay
