[OpenBIOS] [PATCH] ppc: add Apple copyright hack to Adler-32
segher at kernel.crashing.org
Wed Jun 10 16:19:38 CEST 2015
On Wed, Jun 10, 2015 at 11:03:45AM +0200, Alexander Graf wrote:
> > + " Copyright 1983-2001 Apple Computer, Inc. THIS MESSAGE FOR COMPATIBILITY ONLY"
> Segher suggested that the code doesn't verify the year part, so you could make this "Copyright not-by Apple Computer, Inc."
Not exactly that, the "year part" is exactly nine chars; it's a
memcmp(s, ".. ", 10) and a memcmp(s+19, " ..", 21).
So my suggestion (on IRC?) was "Copyright OpenBIOS; Apple Computer, Inc. made
Mac OS and that wants to see a string like this" or something like that.
More information about the OpenBIOS