Changeset 6e81fc in git
- Timestamp:
- Jul 27, 2012, 7:06:33 PM (12 years ago)
- Branches:
- (u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
- Children:
- ed667705fe7e65276090037dbcb57ee42dc3023f
- Parents:
- 56bce656d03daaefa0813464effa1185b38c6673
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-07-27 19:06:33+02:00
- git-committer:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-07-27 19:07:29+02:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/mod_raw.cc
r56bce65 r6e81fc 38 38 const unsigned char mach_o[]={0xfe,0xed,0xfa,0xce,0}; 39 39 const unsigned char mach_O[]={0xce,0xfa,0xed,0xfe,0}; 40 41 const unsigned char mach_o64[]={0xfe,0xed,0xfa,0xcf,0}; 42 const unsigned char mach_O64[]={0xcf,0xfa,0xed,0xfe,0}; 43 40 44 char buf[BYTES_TO_CHECK+1]; /* one extra for terminating '\0' */ 41 45 struct stat sb; … … 82 86 } 83 87 84 if( (strncmp(buf, (const char *)mach_ O, 4)==0)) /* Mach-O bundle */88 if( (strncmp(buf, (const char *)mach_o64, 4)==0) || (strncmp(buf, (const char *)mach_O64, 4)==0)) /* generic Mach-O 64-bit module */ 85 89 { 86 90 LT = LT_MACH_O; … … 89 93 goto lib_type_end; 90 94 } 91 92 95 93 96 if( (strncmp(buf, "\02\020\01\016\05\022@", 7)==0)) 94 97 {
Note: See TracChangeset
for help on using the changeset viewer.