git-preadwritev2
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Sun, 14 Jan 2018 10:24:48 +0000 (10:24 +0000)
committerAurelien Jarno <aurel32@debian.org>
Sun, 14 Jan 2018 10:24:48 +0000 (10:24 +0000)
commit dd2b31dec0c0e792bec0486d72c8a049eea4bee1
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Sep 3 02:45:06 2017 +0200

    hurd: Fix p{read,write}{,v64}v2.c build

            * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
            * sysdeps/posix/preadv64v2.c: Use off_t instead of OFF_T.
            * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
            * sysdeps/posix/pwritev64v2.c: Use off_t instead of OFF_T.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-preadwritev2.diff

sysdeps/posix/preadv2.c
sysdeps/posix/preadv64v2.c
sysdeps/posix/pwritev2.c
sysdeps/posix/pwritev64v2.c

index d27f7028ed8754aed1ee4fa3b1644b17ccf277c4..b79b7b1bc3ca8e80ed7bf53388426b3f8d8bf44b 100644 (file)
@@ -23,7 +23,7 @@
 
 /* Since we define no flags for preadv2 just route to preadv.  */
 ssize_t
-preadv2 (int fd, const struct iovec *vector, int count, OFF_T offset,
+preadv2 (int fd, const struct iovec *vector, int count, off_t offset,
         int flags)
 {
   if (flags != 0)
index ce7cb40bf2014ddc72f9a057b72985d2e5143152..ab71f027d4149b51e961df7c3ea6496af6b07ce1 100644 (file)
@@ -20,7 +20,7 @@
 #include <sys/uio.h>
 
 ssize_t
-preadv64v2 (int fd, const struct iovec *vector, int count, OFF_T offset,
+preadv64v2 (int fd, const struct iovec *vector, int count, off_t offset,
            int flags)
 {
   if (flags != 0)
index 7ec8cbc4074a3c0aeb016a71ce51aa52ba3f3e88..d746059d421ff66b6fb14091555b8cda0305274f 100644 (file)
@@ -23,7 +23,7 @@
 
 /* Since we define no flags for pwritev2 just route to pwritev.  */
 ssize_t
-pwritev2 (int fd, const struct iovec *vector, int count, OFF_T offset,
+pwritev2 (int fd, const struct iovec *vector, int count, off_t offset,
          int flags)
 {
   if (flags != 0)
index be98aeed9d574beb7ccf32b676df1d584cd22abb..bf62d7419031dba019939510a6eec0c690a42cba 100644 (file)
@@ -21,7 +21,7 @@
 
 /* Since we define no flags for pwritev2 just route to pwritev.  */
 ssize_t
-pwritev64v2 (int fd, const struct iovec *vector, int count, OFF_T offset,
+pwritev64v2 (int fd, const struct iovec *vector, int count, off_t offset,
             int flags)
 {
   if (flags != 0)