When there is no file (zPath)
Linux: fsync(fd) Result: 0
AIX: fsync(fd) result: -1
need file check
if( fsync(fd) )
if( osAccess(zPath, 0) == 0 && fsync(fd) )
But
I'm not certainty
--
View this message in context:
http://sqlite.1065341.n5.nabble.com/fsync-of-directories-on-AIX-t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello there!
In os_unix.c, the following logic appears in unixSync:
/* Also fsync the directory containing the file if the DIRSYNC flag
** is set. This is a one-time occurrance. Many systems (examples: AIX)
** are unable to fsync a directory
2 matches
Mail list logo