int is_bigendian() { static int i=1; return (int)(*(char *)i); }
Oh heck, go all the way:
From: Marc W. Mengel [[EMAIL PROTECTED]]
Sent: Tuesday, March 16, 1999 4:25 PM
To:
Subject: From the dim-and-musty department
Someone wanted this a while back, and I had occasion to find it and touch
FYI:
ar -V
GNU ar version 2.5.2
Too old, but I don't beleive it causes the problem... But who knows...
To be honest I never ran GNU binutils under Solaris as there is really
*no* reason for doing so. I just compare your versioin numbers with to
what they have in RedHat 6.0 for UltraSPARC
"-0" is not possible, so I believe the function is correct.
Is that true? You can set the negative flag on zero, surely?
None of the OpenSSL functions does that. Obviously you can do a lot
of things by messing around with the BIGNUM structure.