greenstone.org greenstone wiki greenstone trac planet greenstone
Show
Ignore:
Timestamp:
2008-11-05 16:42:07 (2 months ago)
Author:
ak19
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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          }