[Libsysio-commit] strided-io: libsysio/drivers/native fs_native.c
Brought to you by:
lward
|
From: Sonja T. <so...@us...> - 2004-01-30 19:57:19
|
Update of /cvsroot/libsysio/libsysio/drivers/native In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19342/drivers/native Modified Files: Tag: strided-io fs_native.c Log Message: Fixed bug in lockop_all that sent in the wrong command to fcntl. Added more calls to the test driver Added a rw test to the test suite. This calls all of the write/read combos: write, iwrite, writev, iwritev, pwrite, ipwrite, ipwritev, writex, iwritex. Ensures that what they wrote out and what they read back matches. Removed for now the statvfs test. Index: fs_native.c =================================================================== RCS file: /cvsroot/libsysio/libsysio/drivers/native/fs_native.c,v retrieving revision 1.25.6.7 retrieving revision 1.25.6.8 diff -u -w -b -B -p -r1.25.6.7 -r1.25.6.8 --- fs_native.c 29 Jan 2004 20:41:33 -0000 1.25.6.7 +++ fs_native.c 30 Jan 2004 19:55:33 -0000 1.25.6.8 @@ -1282,7 +1282,7 @@ lockop_all(struct native_inode *nino, #endif , nino->ni_fd, - op, + F_SETLK, &flock); if (err != 0) return -errno; |