On Mon, 3 Feb 2003, Andrew Dunstan wrote: > I'm also fairly sure I saw something like > #define fsync _commit > in the Berkeley DB sources the other day, which might be a clue. > > I'll be happy to be corrected, though.
You'd be right: /* * Win32 has fsync, getcwd, snprintf and vsnprintf, but under different names. */ #define fsync(fd) _commit(fd) Funny Win32-ism Still not sure if it has the same semantics as Unix fsync() but sleepycat (Berkeley) DB seems to think so. Gavin ---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster