Update of /cvsroot/libsysio/libsysio/src
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv22404
Modified Files:
Tag: unification
rw.c
Log Message:
use off64_t
Index: rw.c
===================================================================
RCS file: /cvsroot/libsysio/libsysio/src/rw.c,v
retrieving revision 1.16.4.3
retrieving revision 1.16.4.4
diff -u -w -b -B -p -r1.16.4.3 -r1.16.4.4
--- rw.c 19 Apr 2007 22:11:01 -0000 1.16.4.3
+++ rw.c 20 Apr 2007 15:17:32 -0000 1.16.4.4
@@ -781,15 +781,16 @@ _do_pio(int fd,
#if _LARGEFILE64_SOURCE
ssize_t
-SYSIO_INTERFACE_NAME(pread64)(int fd, void *buf, size_t count, off_t offset)
+SYSIO_INTERFACE_NAME(pread64)(int fd, void *buf, size_t count, off64_t offset)
{
return _do_pio(fd, _do_ireadx, buf, count, offset);
}
ssize_t
-SYSIO_INTERFACE_NAME(pwrite64)(int fd, const void *buf,
- size_t count, off_t offset)
+SYSIO_INTERFACE_NAME(pwrite64)(int fd,
+ const void *buf, size_t count,
+ off64_t offset)
{
return _do_pio(fd, _do_iwritex, buf, count, offset);
|