[gpgme] gpgme_data_seek error

Albrecht Dreß albrecht.dress at arcor.de
Thu Oct 14 19:42:25 CEST 2004


Am 14.10.04 15:05 schrieb(en) micron:
> I'm using gpgme on a ppc (ibook G4) and I forget to try this code on a
> x86
> machine, I've always thought it was one of my mistakes... :)
> But now it seems to be only a ppc bug, anybody can confirm it?

I don't think so... I developed the GnuPG support for the Gnome MUA balsa  
completely on a PowerMac G4 Silver running YellowDog Linux 3.01, kernel  
2.4.25-ben1, glibc 2.3.1, various gcc 3.2 and 3.3 versions and using  
almost all gpgme releases between 0.4.1 and 1.0.0 - I never saw any real  
problem.

I only missed at some point in the docs that the large file support had  
changed (as Werner pointed out in an earlier message), of course leading  
to problems with gpgme_data_seek() and the seek callback. Adding  
AC_SYS_LARGEFILE to configure.in fixed the problem. So I guess there is  
some conflict with Gentoo and large files, i.e. `_FILE_OFFSET_BITS' and  
`_LARGE_FILES' are not set implicitly?

If you have a Gnome 2 installation on your box, you might want to give  
Balsa a try (see http://balsa.gnome.org), or have a look at the core  
source file (which does not use the seek methods and should work safely  
with *and* without large file support):  
http://cvs.gnome.org/viewcvs/balsa/libbalsa/gmime-gpgme-context.c

Hth,
Cheers,

	Albrecht.


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Albrecht Dreß  -  Johanna-Kirchner-Straße 13  -  D-53123 Bonn (Germany)
       Phone (+49) 228 6199571  -  mailto:albrecht.dress at arcor.de
_________________________________________________________________________

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /pipermail/attachments/20041014/5e67e403/attachment.bin


More information about the Gnupg-devel mailing list