Changeset 17713

Show
Ignore:
Timestamp:
05.11.2008 16:42:07 (11 years ago)
Author:
ak19
Message:

No longer defaults the db extension for all Macs to bdb.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • greenstone3/trunk/src/java/org/greenstone/gsdl3/util/GSFile.java

    r15323 r17713  
    307307      // assume gdbm 
    308308      db_ext = ".ldb"; 
    309       if (Misc.isMac() || Misc.isBigEndian()) { 
     309       
     310      // No longer default all Macs to .bdb extension regardless of what endian,  
     311      // they are since the Misc.isBigEndian() method does return little endian  
     312      // for rata (Intel Mac) and big endian for shuttle (Power PC). 
     313      if (Misc.isBigEndian()) { // if (Misc.isMac() || Misc.isBigEndian()) { 
    310314        db_ext = ".bdb"; 
    311315      }