That should not be a problem unless offset exceeds 31 bits.
The off_t problem (32 or 64 bits) might also arise on Linux environments.

AFAIK, long long should be 64 bits.
So, the fix would be to use %lld or %llu in the format string and (long 
long)offset or (unsigned long long)offset in the argument list.

I just don't have my development environment handy, so maybe someone else can 
create a patch. Or you have to wait a few days...

Tim

Am Dienstag, 7. August 2012 schrieb Steven M. Schweda:
> > I am pleased to announce the new version of GNU wget. [...]
> 
>    I'd have been more pleased if anything had been done about this
> problem:
> 
>       http://lists.gnu.org/archive/html/bug-wget/2012-07/msg00033.html
> 
> ------------------------------------------------------------------------
> 
>    Steven M. Schweda               sms@antinode-info
>    382 South Warwick Street        (+1) 651-699-9818
>    Saint Paul  MN  55105-2547
> 
> 


Reply via email to