| 81 | | dbf = gdbm_open (argv[1], block_size, GDBM_WRITER, 00664, NULL, 0); |
|---|
| | 83 | // On Windows need to make sure the database is generated if it does not already exist |
|---|
| | 84 | // GDBM_WRCREAT flag means: open database for read/write, create if necessary |
|---|
| | 85 | // http://www.rt.com/man/gdbm.3.html is the Unix man page on gdbm_open |
|---|
| | 86 | // http://trac.greenstone.org/changeset/928 - the 6th param of gdbm_open (only in the |
|---|
| | 87 | // Windows version of the function) was set to 1 when using WRCREAT |
|---|
| | 88 | // http://www.sfr-fresh.com/unix/misc/q-7.11.tar.gz:a/q-7.11/modules/gdbm/README-Gdbm |
|---|
| | 89 | dbf = gdbm_open (argv[1], block_size, GDBM_WRCREAT, 00664, NULL, 1); |
|---|