Mailing List Archive

File size limit.
I have been having some problems decrpting large files (over 4 gig). Is there
any know file size limit? What might affect this?

Thanks.

Clay B. Meyer
Software Engineer
LodgeNet Entertainment

claym@lodgenet.com

--
Archive is at http://lists.gnupg.org - Unsubscribe by sending mail
with a subject of "unsubscribe" to gnupg-users-request@gnupg.org
Re: File size limit. [ In reply to ]
Clay B. Meyer wrote:

> I have been having some problems decrpting large files (over 4 gig).

This problem is probably due to a long overflow in fseek(FILE*, long, int).
There is no easy solution for that, except compiling both OS and Gnupg
anainst a libc that uses 64 (or higher) bit longs.

Linux is known to be unable to cope with > 2GB files (signed long), NT
seems to do better. I gues we'll have to wait for the Itanium processor.

--
ir. J.C.A. Wevers // Physics and science fiction site:
johanw@vulcan.xs4all.nl // http://www.xs4all.nl/~johanw/index.html
PGP/GPG public keys at http://www.xs4all.nl/~johanw/pgpkeys.html

--
Archive is at http://lists.gnupg.org - Unsubscribe by sending mail
with a subject of "unsubscribe" to gnupg-users-request@gnupg.org
Re: File size limit. [ In reply to ]
On Tue, Sep 05, 2000 at 09:16:56PM +0200, Johan Wevers wrote:
>
> Linux is known to be unable to cope with > 2GB files (signed long), NT
> seems to do better. I gues we'll have to wait for the Itanium processor.
>

I think that we should only wait for linux 2.4.0 and new glibc...

--
Fabio Coatti http://www.ferrara.linux.it/members/cova
Ferrara Linux Users Group http://ferrara.linux.it
GnuPG fp:9765 A5B6 6843 17BC A646 BE8C FA56 373A 5374 C703
Old SysOps never die... they simply forget their password.

--
Archive is at http://lists.gnupg.org - Unsubscribe by sending mail
with a subject of "unsubscribe" to gnupg-users-request@gnupg.org
Re: File size limit. [ In reply to ]
On Tue, 5 Sep 2000, Clay B. Meyer wrote:

> I have been having some problems decrpting large files (over 4 gig). Is there
> any know file size limit? What might affect this?

We can make GnuPG process files >2G simply by using the open64
function. To allow piping data to or from gpg you need a shell which
can also handle this (i.e. uses open64). GnuPG does not use lseek
so this is not a problem.

Werner

--
Werner Koch GnuPG key: 621CC013
OpenIT GmbH http://www.OpenIT.de

--
Archive is at http://lists.gnupg.org - Unsubscribe by sending mail
with a subject of "unsubscribe" to gnupg-users-request@gnupg.org