From nobody Tue Jul 4 04:49:27 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Qw9Lj0Mwfz4lB4k for ; Tue, 4 Jul 2023 04:49:33 +0000 (UTC) (envelope-from pfg@freebsd.org) Received: from sonic316-22.consmr.mail.ne1.yahoo.com (sonic316-22.consmr.mail.ne1.yahoo.com [66.163.187.148]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Qw9Lh35VXz4T5m for ; Tue, 4 Jul 2023 04:49:32 +0000 (UTC) (envelope-from pfg@freebsd.org) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1688446170; bh=a+Oe5hpQpzqqgLB0R/p4IRkkilH/sJDHikIqns41MBs=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From:Subject:Reply-To; b=OnegpoQqxoyxE8CrCQc2JlRWkzYWMk9ITDGim/S6WD6E6kul035KDW93QOYN0A2taOOwaQhxlVtBqGRubH0qeLg/gg2mgMsdiBmsU2ZK6ENJPYtcS2y8RoAE9xO5cbkXoZoC+GOr87m/BXxbaNzveffie1E+jwn1gs7zXkU3m3D3TBguWhG2EPESk4lQlxzzE30tVvrDn6kW2uDhCsfe7/kXiv8fuZ5GjiYdmPqqvbhp+T+nFbluyiZ2pz3Xp0hTBjCqoaYetbqY3MoVSC/V4L+JnWY4MSzabApqXzwps2IK+E7MeIMuhjVdDZWpxQogAiQLigc/1QCb2ReDkJT9cw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1688446170; bh=3eBV8csMWyfM1RDDE9s4vbMdn34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QRns5sE4dWuu5N5ovTiYhmDNMdtLVG4wrC7vA3yQwMlICvVTaPBAMN8E0wo3m4fdwNT 5xcz5Nf.NU9xUrRthQvIWd_eFerL.oi6h1srH.cSDQ0j5wqEII8xoJh4Yi1CZkOQ.lvXwIpREuv. X02Gf5yweXqw37wotrehCPh9shbpIbq8hqLzMatOSySHgUu5AB4VlEGpkk2TD55othlrPur18fJm Y52aQz9nnTGf4iPvMRkbY4sRYLaKI4e56PFPf8OdNM4NrYtkhv53HN8NqBewCPib.voaFM4wAe76 mAyV5Tt9SCpu7cDPCCvmCBfLNghCpQaaf5L8mA1xilXlHzBOl3upgadLMwl9Jm4sZuAWxTusRIJW OA1CDFk0WxpcMkx1YX6DtNjele_KCdV4jh1hs4TRVGVgP5D2KeLyFhH..WjJSJZs6KasLEKkQ8BI ZR2iETd9QO3DRf_TL0uIbaLMQgpN2OnbB1X0AmjAbBA-- X-Sonic-MF: X-Sonic-ID: f7847eea-183f-46a3-9420-87ee8c95fb0c Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.ne1.yahoo.com with HTTP; Tue, 4 Jul 2023 04:49:30 +0000 Date: Tue, 4 Jul 2023 04:49:27 +0000 (UTC) From: Pedro Giffuni To: Warner Losh Cc: src-committers , "" , "" Message-ID: <518821019.2139852.1688446167878@mail.yahoo.com> In-Reply-To: References: <202307040308.36438MTA093771@gitrepo.freebsd.org> <1037448433.54513.1688441647903@mail.yahoo.com> <1767168745.2134945.1688443634249@mail.yahoo.com> Subject: Re: git: 4456846a1a0d - main - bin/date: Upgrade calculations List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2139851_1304661400.1688446167877" X-Mailer: WebService/1.1.21612 YMailNorrin X-Rspamd-Queue-Id: 4Qw9Lh35VXz4T5m X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36646, ipnet:66.163.184.0/21, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N ------=_Part_2139851_1304661400.1688446167877 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable OK done .. and you are right .. the fix was my responsibility .. if I didn= 't have the time to complete it I should have left it for a while longer in= my disk :-(. For the record, Dragonfly added incomplete support for the GNU -d option, b= ut I didn't find that interesting, and I have no plans to merge that. Pedro. On Monday, July 3, 2023 at 11:37:08 PM GMT-5, Warner Losh wrote: =20 =20 =20 On Mon, Jul 3, 2023, 10:07 PM Pedro Giffuni wrote: (Sorry for top posting) Oh yes, the analysis is fine, and it is quicker to fix than what I had in m= ind. I'll take a look at fixing it now, but due to external issues I may have to= leave the fix for next weekend. Ah great. I'll not have time to fix this... thanks for taking care of this.= .. sorry if i was a It grumpy... it's been a day... Warner Pedro. On Monday, July 3, 2023 at 11:00:51 PM GMT-5, Warner Losh wrote: =20 =20 =20 On Mon, Jul 3, 2023, 9:34 PM Pedro Giffuni wrote: Hmm ... Dragonfly has no armv7 or i386, so they didn't get it too wrong.I guess=C2= =A0the int64_t would be a quick fix or another option, which I was considei= rng, was to look at unsigning it but taking care of the edge cases ... I wa= s too lazy for that. Please go ahead and do the quick fix ;) What makes you say it's a quick fix? If the calculations need 64 bits, int6= 4_t is the proper data type. How is that analysis wrong? Also, it's tradition that you should fix it... Warner =20 =20 ------=_Part_2139851_1304661400.1688446167877 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
OK done .. and you are right= .. the fix was my responsibility .. if I didn't have the time to complete = it I should have left it for a while longer in my disk :-(.

For the record, Dragonfly added incomplete support for the GNU -d opti= on, but I didn't find that interesting, and I have no plans to merge that.<= /div>

Pedro.

=20
=20
On Monday, July 3, 2023 at 11:37:08 PM GMT-5, Warner Lo= sh <imp@bsdimp.com> wrote:






=20




On Mon, Jul 3, 2023, 9:34 PM Pedro Giffuni <= ;pfg@freebsd.org> wrote:
Hmm ...

<= /div>
Dragonfly has no armv7 or i386, so they didn't get it= too wrong.
I guess the int64_t would be a quick fix or another option, = which I was consideirng, was to look at unsigning it but taking care of the= edge cases ... I was too lazy for that.

Please go ahead and do the quick fix ;)
=

What makes you = say it's a quick fix? If the calculations need 64 bits, int64_t is the prop= er data type. How is that analysis wrong?

Also, it's tradition that you should fix it...

Warner
------=_Part_2139851_1304661400.1688446167877--