Re: [sqlite] fsync of directories on AIX

2014-05-29 Thread boove
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

[sqlite] fsync of directories on AIX

2011-11-30 Thread Alaric Snell-Pym
-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