Ignore:
Timestamp:
2008-04-14T16:20:45+12:00 (16 years ago)
Author:
dmn
Message:

updating branch from trunk

File:
1 edited

Legend:

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

    r13270 r15191  
    291291    /** the gdbm database file -
    292292     * note, need to change extension depending on OS */
     293    // The perl code can't detect big vs little endian on a Mac, so the Perl
     294    // code will always name the gdbm db file .bdb on a Mac whether its little
     295    // endian or not. A Mac little endian file is NOT the same as a Linux
     296    // little endian file
    293297    static public String GDBMDatabaseFile(String site_home,
    294298                      String collection_name,
     
    296300
    297301    String db_ext = ".ldb";
    298     if (Misc.isBigEndian()) {
     302    if (Misc.isMac() || Misc.isBigEndian()) {
    299303        db_ext = ".bdb";
    300304    }
Note: See TracChangeset for help on using the changeset viewer.