[79538] branches/gsoc11-rev-upgrade/base/src/pextlib1.0/Pextlib.c

Ryan Schmidt ryandesign at macports.org
Thu Jun 16 17:44:13 PDT 2011


On Jun 16, 2011, at 18:41, cal at macports.org wrote:

> Revision: 79538
>          http://trac.macports.org/changeset/79538
> Author:   cal at macports.org
> Date:     2011-06-16 16:41:48 -0700 (Thu, 16 Jun 2011)
> Log Message:
> -----------
> rev-upgrade: new pextlib command to find out whether a file is binary
> 
> Modified Paths:
> --------------
>    branches/gsoc11-rev-upgrade/base/src/pextlib1.0/Pextlib.c

> +#define MH_MAGIC    (0xfeedface)
> +#define MH_MAGIC_64 (0xfeedfacf)
> +#define FAT_MAGIC   (0xcafebabe)

Aren't there 5 Mach-O magic numbers?

0xFEEDFACE: ppc
0xFEEDFACF: ppc64
0xCEFAEDFE: i386
0xCFFAEDFE: x86_64
0xCAFEBABE: any combination of two or more architectures





More information about the macports-dev mailing list