Changeset c881d2 in git


Ignore:
Timestamp:
Feb 13, 2017, 3:42:23 PM (7 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
61fc1e3830fd4a8b592475b8c88639f3d860b87d
Parents:
b7a600dbf47e619fa9c9d7f852021b2894df4489
Message:
add: recognize windows *dll files
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Singular/mod_lib.cc

    rb7a600 rc881d2  
    3737  const unsigned char utf8ms[]={0xEF,0xBB,0xBF,0};
    3838
     39  const unsigned char dll[]={'M','Z',0};
    3940  int i=0;
    4041  while(si_builtin_libs[i]!=NULL)
     
    131132    goto lib_type_end;
    132133  }
     134  if (strncmp(buf,(const char *)dll,2)==0)
     135  {
     136    LT=LT_DLL;
     137    goto lib_type_end;
     138  }
    133139  if(isprint(buf[0]) || buf[0]=='\n')
    134140  { LT = LT_SINGULAR; goto lib_type_end; }
  • libpolys/polys/mod_raw.h

    rb7a600 rc881d2  
    1414*/
    1515
    16 typedef enum { LT_NONE, LT_NOTFOUND, LT_SINGULAR, LT_ELF, LT_HPUX, LT_MACH_O, LT_BUILTIN} lib_types;
     16typedef enum { LT_NONE, LT_NOTFOUND, LT_SINGULAR, LT_ELF, LT_HPUX, LT_MACH_O, LT_BUILTIN, LT_DLL} lib_types;
    1717
    1818
Note: See TracChangeset for help on using the changeset viewer.