On 21/03/12 07:12, Ray Satiro wrote:
> Yes that is the way it used to be with the structs. As far as bypassing 
> stat,fstat that's probably not the best way but it works.
Good point. Below the stat define there should have been a #define fstat
_fstati64
fstat is only used at two points in wget. At main.c for checking if what
we opened was a regular file (no problem there with the original one),
and at wget_read_file if HAVE_MMAP (which is not directly available on
windows, but could be on cygwin), where it does use st_size.


Reply via email to