Changeset 17883 for gsdl


Ignore:
Timestamp:
2008-11-18T14:19:21+13:00 (15 years ago)
Author:
ak19
Message:

For a MAC, also need to use the GDBM_WRCREAT flag to ensure the databases archiveinf-doc and archiveinf-src exist so that they can be written to.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/common-src/src/gdbmedit/gdbmset/gdbmset.cpp

    r17879 r17883  
    8989  dbf = gdbm_open (argv[1], block_size, GDBM_WRCREAT, 00664, NULL, 1);
    9090#else
    91   dbf = gdbm_open  (argv[1], block_size, GDBM_WRITER, 00664, NULL);
     91  dbf = gdbm_open  (argv[1], block_size, GDBM_WRCREAT, 00664, NULL);
     92  // dbf = gdbm_open  (argv[1], block_size, GDBM_WRITER, 00664, NULL);
    9293#endif
    9394  if (dbf == NULL)
Note: See TracChangeset for help on using the changeset viewer.