git-preadwritev2-2
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 ed95bf5638748068ef05ccbaa0a008b50ebecb42
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Sep 3 03:00:32 2017 +0200

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

            * sysdeps/posix/preadv64v2.c: Use off64_t instead of off_t.
            * sysdeps/posix/pwritev64v2.c: Use off64_t instead of off_t.

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

sysdeps/posix/preadv64v2.c
sysdeps/posix/pwritev64v2.c

index ab71f027d4149b51e961df7c3ea6496af6b07ce1..263f9b77c44451b509665fcbbc78412244facadb 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, off64_t offset,
            int flags)
 {
   if (flags != 0)
index bf62d7419031dba019939510a6eec0c690a42cba..f340c8a46d676de96a98fa8fc9dc454f5956880a 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, off64_t offset,
             int flags)
 {
   if (flags != 0)