Date: Fri, 7 Jul 2000 19:31:36 -0500
From: Mike Castle <[EMAIL PROTECTED]>
> My suggestion was to search for both possible strings. If both are
> found, the test has failed. In that case, the program must test at
> run time, or must require the user to specify an option to the
> configure script.
But what if the string is found in the header, but neither string is found
in the body. Won't that still give you a false answer?
I suppose you're right. That does sound like a pretty unlikely
scenario to me, but I suppose it is theoretically possible.
Of course, I'd argue that programs should be written so that endianness
doesn't matter.
I entirely agree.
Ian