From patchwork Sun Sep 3 01:01:34 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Thibault X-Patchwork-Id: 809183 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-84131-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="hmlLEWLX"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3xlF724F1xz9s7M for ; Sun, 3 Sep 2017 11:01:50 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id; q=dns; s= default; b=K4/3T8D2vgfdGU7VUND3Q6jjk+9nkkIeYtSqNx8FuPWmAQraUC+79 oEaeyxPrnDnQw4U8KUsh0Kyybr8lqiofSyoHhVMhravgx/liKyIVGgDlAv3W4+/T lQYRINCKEXfL/U05u+7UHC37ThgpMyDwBXcLReCF4FXOfU/X7805DY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id; s=default; bh=4SPnfCd8UTl0oSmpHjAoSJy/jhU=; b=hmlLEWLXgDAvB/SaampE1RVfcMi1 BeUZ+8qcvkmNy2f7FLKtk8tOzYRU3Zq/kEuMMV5qXQ2WlrTfvj6/sy5KUHjcWqn7 79Jv1cYnY31NWDIYt72tj0uHQ7asr8kSikhQeKSyAVWHwHqbs/otMHSCX9GLs9jm 67zVvABgHoM3AyQ= Received: (qmail 127130 invoked by alias); 3 Sep 2017 01:01:44 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 127118 invoked by uid 89); 3 Sep 2017 01:01:43 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.1 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS, SPF_NEUTRAL, URIBL_RED autolearn=ham version=3.3.2 spammy= X-HELO: hera.aquilenet.fr From: Samuel Thibault To: libc-alpha@sourceware.org Cc: Samuel Thibault Subject: [hurd,commited] hurd: Fix p{read,write}v64v2.c build Date: Sun, 3 Sep 2017 03:01:34 +0200 Message-Id: <20170903010134.11914-1-samuel.thibault@ens-lyon.org> * sysdeps/posix/preadv64v2.c: Use off64_t instead of off_t. * sysdeps/posix/pwritev64v2.c: Use off64_t instead of off_t. --- ChangeLog | 4 ++-- sysdeps/posix/preadv64v2.c | 2 +- sysdeps/posix/pwritev64v2.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index a4634b7fdb..f8c12c0a46 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 ab71f027d4..263f9b77c4 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 bf62d74190..f340c8a46d 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)