From: GNU Libc Maintainers Date: Fri, 26 Jan 2018 22:35:29 +0000 (+0000) Subject: git-preadwritev2 X-Git-Tag: archive/raspbian/2.26-6+rpi1^2~86 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=aed1f9600517def4a8548e4810feabaddce2673d;p=glibc.git git-preadwritev2 commit dd2b31dec0c0e792bec0486d72c8a049eea4bee1 Author: Samuel Thibault 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 --- diff --git a/sysdeps/posix/preadv2.c b/sysdeps/posix/preadv2.c index d27f7028e..b79b7b1bc 100644 --- a/sysdeps/posix/preadv2.c +++ b/sysdeps/posix/preadv2.c @@ -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) diff --git a/sysdeps/posix/preadv64v2.c b/sysdeps/posix/preadv64v2.c index ce7cb40bf..ab71f027d 100644 --- a/sysdeps/posix/preadv64v2.c +++ b/sysdeps/posix/preadv64v2.c @@ -20,7 +20,7 @@ #include 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) diff --git a/sysdeps/posix/pwritev2.c b/sysdeps/posix/pwritev2.c index 7ec8cbc40..d746059d4 100644 --- a/sysdeps/posix/pwritev2.c +++ b/sysdeps/posix/pwritev2.c @@ -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) diff --git a/sysdeps/posix/pwritev64v2.c b/sysdeps/posix/pwritev64v2.c index be98aeed9..bf62d7419 100644 --- a/sysdeps/posix/pwritev64v2.c +++ b/sysdeps/posix/pwritev64v2.c @@ -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)