Re: [exiscanusers] Re: [Exim] ANNOUNCE: exiscan-acl-4.24-13

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Andreas Metzler
Ημερομηνία:  
Προς: exiscanusers, exim-users
Αντικείμενο: Re: [exiscanusers] Re: [Exim] ANNOUNCE: exiscan-acl-4.24-13
On Wed, Oct 22, 2003 at 04:30:55PM +0200, Tom Kistner wrote:
> I was asking Philip if he handles endianess in
> any way, and he doesn't, so there are no collisions at compile time.


Actually there is a little bit of endian-dependent code in exim, using
this as test

int i = 0x01020304;
uschar *ctest = (uschar *)(&i);
printf("Checking md5: %s-endian\n", (ctest[0] == 0x04)? "little" : "big");

so having this globally available might make sense.
               cu andreas