large file support in Win32

Werner Koch wk at gnupg.org
Thu Sep 22 09:58:02 CEST 2005


On Wed, 21 Sep 2005 22:47:10 -0500, Ryan Malayter said:

> 09/18/2005 05:44 AM 45,284,360,192 myfile.bkf

> :literal data packet:
>  mode b (62), created 1127307875, name="myfile.bkf",
>  raw data: 2334687232 bytes

This number is exactly the remainder of 45284360192 / 2^32.

Thus my conclusion is that GetFizeSize does not return a proper error
as ist should according to the documentation. Maybe this did not
happen with W98.

The easiest way of fixing it would be using GetFileSizeEx but that
function is only available with W2000 Professional. So either I try to
figure out why GetFileSize does not return an error anymore or I need
to dynamically load GetFileSizeEx; did the later at other places too.

Many thanks for running this test.

  Werner




More information about the Gnupg-devel mailing list