Ignore:
Timestamp:
2008-12-04T12:15:04+13:00 (15 years ago)
Author:
mdewsnip
Message:

Transferred Windows-specific customisations from the old GDBM package in common-src\packages\windows\gdbm\gdbm.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/common-src/packages/gdbm/gdbm-1.8.3/gdbmreorg.c

    r18019 r18060  
    164164  /* Move the new file to old name. */
    165165
     166#ifdef MSDOS
     167  if (close (new_dbf->desc)
     168      || unlink (dbf->name)
     169      || rename (new_name, dbf->name)
     170      || (new_dbf->desc = open (dbf->name, O_RDWR|O_BINARY)) < 0)
     171#else /* not MSDOS */
    166172  if (rename (new_name, dbf->name) != 0)
     173#endif /* not MSDOS */
    167174    {
    168175      gdbm_errno = GDBM_REORGANIZE_FAILED;
Note: See TracChangeset for help on using the changeset viewer.