From: Samuel Thibault Date: Sun, 3 Sep 2017 01:00:32 +0000 (+0200) Subject: hurd: Fix p{read,write}v64v2.c build X-Git-Tag: glibc-2.27~983 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed95bf5638748068ef05ccbaa0a008b50ebecb42;p=thirdparty%2Fglibc.git 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. --- diff --git a/ChangeLog b/ChangeLog index a4634b7fdba..f8c12c0a46e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,9 +6,9 @@ * sysdeps/mach/hurd/bits/socket.h: Include instead of just . * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T. - * sysdeps/posix/preadv64v2.c: Use off_t instead of OFF_T. + * sysdeps/posix/preadv64v2.c: Use off64_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. + * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T. 2017-09-01 Joseph Myers diff --git a/sysdeps/posix/preadv64v2.c b/sysdeps/posix/preadv64v2.c index ab71f027d41..263f9b77c44 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, off64_t offset, int flags) { if (flags != 0) diff --git a/sysdeps/posix/pwritev64v2.c b/sysdeps/posix/pwritev64v2.c index bf62d741903..f340c8a46d6 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, off64_t offset, int flags) { if (flags != 0)