diff options
Diffstat (limited to 'gdbm-1.15-win32.patch')
-rw-r--r-- | gdbm-1.15-win32.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdbm-1.15-win32.patch b/gdbm-1.15-win32.patch index 8ff093aaebc9..2fae94c6529e 100644 --- a/gdbm-1.15-win32.patch +++ b/gdbm-1.15-win32.patch @@ -705,9 +705,9 @@ diff -urN gdbm-1.15_orig/src/proto.h gdbm-1.15/src/proto.h --- gdbm-1.15_orig/src/proto.h 2018-05-30 14:14:11.000000000 +0300 +++ gdbm-1.15/src/proto.h 2018-06-17 22:10:50.270163800 +0300 @@ -122,6 +122,8 @@ - _gdbm_mapped_sync (dbf); - #elif HAVE_FSYNC - fsync (dbf->desc); + GDBM_SET_ERRNO (dbf, GDBM_FILE_SYNC_ERROR, TRUE); + return 1; + } +#elif _WIN32 + FlushFileBuffers(dbf); #else |