From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id 8362B3858D1E for ; Sun, 12 Feb 2023 15:00:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8362B3858D1E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gnu.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gnu.org Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pRDq3-0004I0-QS; Sun, 12 Feb 2023 10:00:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=In-Reply-To:MIME-Version:References:Subject:To:From: Date; bh=CMj3399gZY+sPn7YkAX1DBCNNuW4p/++t6BjWTSiGOU=; b=TtjkFraVMEeydGPG/x8a SnTCcpeMmygiRVMshnpRlcwWa0xZDURMm/t5Snkk8HUeY4WM+T7vnACuW7U2YZ9r8aNjsdQ7n7pj1 6Sf6n19PNeQPW5YwJNDAs2GqJmKsxSuabd/YulYfvbIWdj1wPv2QQbrDcZJucoOSZNWHz2C/QxOTD iN3TXMdkuL2n3tEKqfulTaV0V36RtjsdmWB81+YfBUmBlJTsEqJ9atjr4o574wlIhoK1Zra4SbekS kvtvQC31280F55dnRtnuecvWyhQZCcTJVzd64vnjntzYtWIBkY8Vg78uWvu03kAfy0+xek6qMjw3y Z2v1x1QWdoa8hw==; Received: from lfbn-bor-1-1163-184.w92-158.abo.wanadoo.fr ([92.158.138.184] helo=begin) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pRDps-0001B8-BT; Sun, 12 Feb 2023 10:00:23 -0500 Received: from samy by begin with local (Exim 4.96) (envelope-from ) id 1pRDpr-004npw-0D; Sun, 12 Feb 2023 16:00:11 +0100 Date: Sun, 12 Feb 2023 16:00:11 +0100 From: Samuel Thibault To: Sergey Bugaev Cc: bug-hurd@gnu.org, libc-alpha@sourceware.org, =?utf-8?Q?Fl=C3=A1vio?= Cruz Subject: Re: [RFC PATCH hurd 6/12] hurd: Fix modes_t and speeds_t types on 64-bit Message-ID: <20230212150011.sjntfvmkxzuu6iqt@begin> Mail-Followup-To: Sergey Bugaev , bug-hurd@gnu.org, libc-alpha@sourceware.org, =?utf-8?Q?Fl=C3=A1vio?= Cruz References: <20230212111044.610942-1-bugaevc@gmail.com> <20230212111044.610942-7-bugaevc@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230212111044.610942-7-bugaevc@gmail.com> Organization: I am not organized User-Agent: NeoMutt/20170609 (1.8.3) X-Spam-Status: No, score=-11.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: We don't need these to be 64bits, 32bit will be completely large enough. Which issue did you actually encounter? Samuel Sergey Bugaev, le dim. 12 févr. 2023 14:10:37 +0300, a ecrit: > --- > hurd/tioctl.defs | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/hurd/tioctl.defs b/hurd/tioctl.defs > index 905a4a38..a04f5ae4 100644 > --- a/hurd/tioctl.defs > +++ b/hurd/tioctl.defs > @@ -34,9 +34,9 @@ import ; /* XXX */ > > /* These are the pieces of a struct termios as specified by the > definition of _IOT_termios in . */ > -type modes_t = array[4] of int; > +type modes_t = array[4] of long; > type ccs_t = array[20] of char; > -type speeds_t = array[2] of int; > +type speeds_t = array[2] of long; > > /* This is the arg for a struct winsize as specified by the > definition of _IOT_winsize in . */ > -- > 2.39.1