Changeset 15026 for greenstone3/trunk/src/java/org/greenstone/gsdl3/util
- Timestamp:
- 2008-02-29T10:56:46+13:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
greenstone3/trunk/src/java/org/greenstone/gsdl3/util/GSFile.java
r13270 r15026 291 291 /** the gdbm database file - 292 292 * 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 293 297 static public String GDBMDatabaseFile(String site_home, 294 298 String collection_name, … … 296 300 297 301 String db_ext = ".ldb"; 298 if (Misc.is BigEndian()) {302 if (Misc.isMac() || Misc.isBigEndian()) { 299 303 db_ext = ".bdb"; 300 304 }
Note:
See TracChangeset
for help on using the changeset viewer.