Changeset 1ea9a7 in git
- Timestamp:
- Sep 13, 2005, 9:15:23 PM (19 years ago)
- Branches:
- (u'spielwiese', '5b153614cbc72bfa198d75b1e9e33dab2645d9fe')
- Children:
- 754d1dabdd55293db230b67bc9aeb922e6f1cd00
- Parents:
- a675fcb30922f056ecdcbd0e77cdd66c2c919faf
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/iparith.cc
ra675fc r1ea9a7 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: iparith.cc,v 1.37 7 2005-09-05 12:30:27 SingularExp $ */4 /* $Id: iparith.cc,v 1.378 2005-09-13 19:15:00 bricken Exp $ */ 5 5 6 6 /* … … 4045 4045 extern BOOLEAN load_modules(char *newlib, char *fullpath, BOOLEAN autoexport); 4046 4046 #endif /* HAVE_DYNAMIC_LOADING */ 4047 4048 4047 switch(LT) 4049 4048 { … … 4081 4080 return bo; 4082 4081 } 4082 case LT_MACH_O: 4083 4083 case LT_ELF: 4084 4084 case LT_HPUX: -
kernel/mod_raw.cc
ra675fc r1ea9a7 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: mod_raw.cc,v 1. 7 2005-05-12 12:47:14 SingularExp $ */4 /* $Id: mod_raw.cc,v 1.8 2005-09-13 19:15:23 bricken Exp $ */ 5 5 /* 6 6 * ABSTRACT: machine depend code for dynamic modules … … 32 32 lib_types type_of_LIB(char *newlib, char *libnamebuf) 33 33 { 34 const char mach_o[]={0xfe,0xed,0xfa,0xce,0}; 34 35 char buf[BYTES_TO_CHECK+1]; /* one extra for terminating '\0' */ 35 36 struct stat sb; … … 63 64 { 64 65 LT = LT_ELF; 66 //omFree(newlib); 67 //newlib = omStrDup(libnamebuf); 68 goto lib_type_end; 69 } 70 71 72 73 if( (strncmp(buf, &mach_o[0], 4)==0)) /* generic Mach-O module */ 74 { 75 LT = LT_MACH_O; 65 76 //omFree(newlib); 66 77 //newlib = omStrDup(libnamebuf); -
kernel/structs.h
ra675fc r1ea9a7 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: structs.h,v 1. 9 2005-07-05 16:11:36 SingularExp $ */6 /* $Id: structs.h,v 1.10 2005-09-13 19:15:23 bricken Exp $ */ 7 7 /* 8 8 * ABSTRACT … … 87 87 #endif 88 88 89 typedef enum { LT_NONE, LT_NOTFOUND, LT_SINGULAR, LT_ELF, LT_HPUX } lib_types;89 typedef enum { LT_NONE, LT_NOTFOUND, LT_SINGULAR, LT_ELF, LT_HPUX, LT_MACH_O} lib_types; 90 90 91 91 /* C++-part */
Note: See TracChangeset
for help on using the changeset viewer.