On Wed, 28 Nov 2007 10:06, [EMAIL PROTECTED] said:

> Werner, do you use GetFileSize or GetFileSizeEx? There are also

Since 1.4.3 we are using GetFileSizeEx if available on the platform.  We
use it todecide whether a file is close to 4GB - if this is the case we
use OpenPGP's partial encoding format even if we know the full file
length and could go with one straigth length header.  There used to be a
bug that we were not able to detect the 4GB limit. 

To exlude potential problems with gpg's file I/O it is often better to
redirect input and output to gpg.  Actually, gpg has been written to
allow for this and to be agnostic to the file length.

Agreed, I am not doing large file test cases before a new release, so
there is a possibility that something broke. 

> WriteFileEx and any number of other -Ex file-related functions to
> handle files larger than 4 GB.

WriteFileEx is only useful if you need an I/O completion function.



Salam-Shalom,

   Werner

-- 
Die Gedanken sind frei.  Auschnahme regelt ein Bundeschgesetz.


_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to