From patchwork Sun Sep 3 00:49:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Thibault X-Patchwork-Id: 809182 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-84130-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="tKSoGTK7"; 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 3xlDsP5fqgz9sNr for ; Sun, 3 Sep 2017 10:50:01 +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=ld6vyKatayLHgx0bqa0JBNfvE12FarQGK6YGbCRtBdntZEGDbjPdQ XjhxWBRXnYUq4M6OFuDo840QQ1bA2L8TG52zl6j64MEw6IaMQiUKUEToe4M4Taw8 HXY5WFWnhXWC2WODaHZWc5aw5E5mOE0iZnZmIUgTZwDMoZ4g81U38c= 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=QBeUWG8X9eg+BPLEplUZf7+Wj7U=; b=tKSoGTK7lDoRTzYpRvtQ+BixAwGt XVTBjVirERkEpN7lZMwWnkLkpB98gSGnrrncq0sjddcEZ8Hpgx5VY4jXF4UAiy0D T2OkkbhC24U+4COiLJpvUnllF32aUtO6FybjXAGzhSWXPQHzNDbFlxSV+RplUodV KRThKs/fwag+3Go= Received: (qmail 29061 invoked by alias); 3 Sep 2017 00:49:55 -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 29040 invoked by uid 89); 3 Sep 2017 00:49:54 -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}{,v64}v2.c build Date: Sun, 3 Sep 2017 02:49:45 +0200 Message-Id: <20170903004945.9234-1-samuel.thibault@ens-lyon.org> * 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. --- ChangeLog | 4 ++++ sysdeps/posix/preadv2.c | 2 +- sysdeps/posix/preadv64v2.c | 2 +- sysdeps/posix/pwritev2.c | 2 +- sysdeps/posix/pwritev64v2.c | 2 +- 5 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index cf6866cd11..a4634b7fdb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,10 @@ parameter. * 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/pwritev2.c: Use off_t instead of OFF_T. + * sysdeps/posix/pwritev64v2.c: Use off_t instead of OFF_T. 2017-09-01 Joseph Myers diff --git a/sysdeps/posix/preadv2.c b/sysdeps/posix/preadv2.c index d27f7028ed..b79b7b1bc3 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 ce7cb40bf2..ab71f027d4 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 7ec8cbc407..d746059d42 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 be98aeed9d..bf62d74190 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)