[Libsysio-commit] RedStorm: libsysio/drivers/native fs_native.c
Brought to you by:
lward
|
From: Ruth K. <rk...@us...> - 2003-08-04 15:37:08
|
Update of /cvsroot/libsysio/libsysio/drivers/native
In directory sc8-pr-cvs1:/tmp/cvs-serv22767
Modified Files:
Tag: RedStorm
fs_native.c
Log Message:
seek to new value
Index: fs_native.c
===================================================================
RCS file: /cvsroot/libsysio/libsysio/drivers/native/fs_native.c,v
retrieving revision 1.11.4.5
retrieving revision 1.11.4.6
diff -u -w -b -B -p -r1.11.4.5 -r1.11.4.6
--- fs_native.c 29 Jul 2003 19:05:08 -0000 1.11.4.5
+++ fs_native.c 4 Aug 2003 15:37:05 -0000 1.11.4.6
@@ -1127,7 +1127,7 @@ doio(ssize_t (*f)(int, const struct iove
* Avoid the reposition call if we're already at the right place.
* Allows us to access pipes and fifos.
*/
- result = nino->ni_fpos;
+ result = ioctx->ioctx_offset;
if (ioctx->ioctx_offset != nino->ni_fpos) {
int err;
|