-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ken wrote:

> open("/home/ixion/ix_propagator/data/db/ajax102/batch", O_RDONLY|O_LARGEFILE) 
> = 10
> kfcntl(10, F_GETFD, 0x00000000)                 = 0
> kfcntl(10, F_SETFD, 0x00000001)                 = 0
> fsync(10)                                       Err#9  EBADF

My best guess is that the call is rejected is because the directory was
not opened for writing.
http://publibn.boulder.ibm.com/doc_link/en_US/a_doc_lib/libs/basetrf1/fsync.htm

In the error code section:

EBADF   The FileDescriptor parameter is not a valid file descriptor open
for writing.

(I doubt there is an modern UNIX that does allow opening directories for
write though).

Roger
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIfATSmOOfHg372QQRArQsAJ4iw+aihcm0GEoc2ZALldkCMGsnQACgsu1z
CN2cNegKQ2+rofzihItbLlM=
=dkcK
-----END PGP SIGNATURE-----
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to