Changeset 982 for trunk/gsdl/src/txt2db


Ignore:
Timestamp:
2000-02-28T11:04:58+13:00 (24 years ago)
Author:
sjboddie
Message:

windows version of gdbm_open takes a sixth parameter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/txt2db/txt2db.cpp

    r625 r982  
    8989  if (append) read_write = GDBM_WRCREAT | GDBM_FAST;
    9090 
     91#ifdef __WIN32__
     92  dbf = gdbm_open (dbname, block_size, read_write, 00664, NULL, 1);
     93#else
    9194  dbf = gdbm_open  (dbname, block_size, read_write, 00664, NULL);
     95#endif
    9296  if (dbf == NULL) {
    9397    cerr << "couldn't create " << dbname << "\n";
Note: See TracChangeset for help on using the changeset viewer.