Date: Tue, 4 Jul 2023 04:49:27 +0000 (UTC) From: Pedro Giffuni <pfg@freebsd.org> To: Warner Losh <imp@bsdimp.com> Cc: src-committers <src-committers@freebsd.org>, "<dev-commits-src-all@freebsd.org>" <dev-commits-src-all@freebsd.org>, "<dev-commits-src-main@freebsd.org>" <dev-commits-src-main@freebsd.org> Subject: Re: git: 4456846a1a0d - main - bin/date: Upgrade calculations Message-ID: <518821019.2139852.1688446167878@mail.yahoo.com> In-Reply-To: <CANCZdfo%2BAZYU0EzRtZv-mNQhGogUddD%2BgJijkJyrGS-SQ19jqA@mail.gmail.com> References: <202307040308.36438MTA093771@gitrepo.freebsd.org> <CANCZdfqMvf1QuS=fNQjRPe3YUbp1zPQW4aorh=VTRHk%2Bf_e8qg@mail.gmail.com> <1037448433.54513.1688441647903@mail.yahoo.com> <CANCZdfrSnS5Xq020jwsY-pgmTCJEn5Ka3Zr5vqt6OK%2Buawc4tA@mail.gmail.com> <1767168745.2134945.1688443634249@mail.yahoo.com> <CANCZdfo%2BAZYU0EzRtZv-mNQhGogUddD%2BgJijkJyrGS-SQ19jqA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
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, but 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 <imp@bsdimp.com> wrote:
On Mon, Jul 3, 2023, 10:07 PM Pedro Giffuni <pfg@freebsd.org> wrote:
(Sorry for top posting)
Oh yes, the analysis is fine, and it is quicker to fix than what I had in mind.
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 <imp@bsdimp.com> wrote:
On Mon, Jul 3, 2023, 9:34 PM Pedro Giffuni <pfg@freebsd.org> wrote:
Hmm ...
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 proper data type. How is that analysis wrong?
Also, it's tradition that you should fix it...
Warner
[-- Attachment #2 --]
<html><head></head><body><div class="ydpc54ddde5yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div></div>
<div dir="ltr" data-setdir="false">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 :-(.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">For the record, Dragonfly added incomplete support for the GNU -d option, but I didn't find that interesting, and I have no plans to merge that.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Pedro.</div><div dir="ltr" data-setdir="false"><br></div>
</div><div id="ydp4d5a4912yahoo_quoted_8450583316" class="ydp4d5a4912yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
On Monday, July 3, 2023 at 11:37:08 PM GMT-5, Warner Losh <imp@bsdimp.com> wrote:
</div>
<div><br></div>
<div><br></div>
<div><div id="ydp4d5a4912yiv5496367686"><div><div><div><br clear="none"><br clear="none"><div class="ydp4d5a4912yiv5496367686gmail_quote"><div dir="ltr" class="ydp4d5a4912yiv5496367686gmail_attr">On Mon, Jul 3, 2023, 10:07 PM Pedro Giffuni <<a shape="rect" href="mailto:pfg@freebsd.org" rel="nofollow" target="_blank">pfg@freebsd.org</a>> wrote:<br clear="none"></div><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;" class="ydp4d5a4912yiv5496367686gmail_quote"><div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div></div>
<div dir="ltr">(Sorry for top posting)</div><div><br clear="none"></div><div dir="ltr">Oh yes, the analysis is fine, and it is quicker to fix than what I had in mind.</div><div dir="ltr"><br clear="none"></div><div dir="ltr">I'll take a look at fixing it now, but due to external issues I may have to leave the fix for next weekend.</div></div></div></blockquote></div></div><div><br clear="none"></div><div>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...</div><div><br clear="none"></div><div>Warner</div><div id="ydp4d5a4912yiv5496367686yqtfd20868" class="ydp4d5a4912yiv5496367686yqt0992661216"><div><br clear="none"></div><div><div class="ydp4d5a4912yiv5496367686gmail_quote"><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;" class="ydp4d5a4912yiv5496367686gmail_quote"><div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div dir="ltr">Pedro.</div><div><br clear="none"></div><div><br clear="none"></div>
</div><div id="ydp4d5a4912yiv5496367686m_-2495992665827709045ydp39addca9yahoo_quoted_9236065441">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
On Monday, July 3, 2023 at 11:00:51 PM GMT-5, Warner Losh <<a shape="rect" href="mailto:imp@bsdimp.com" rel="nofollow" target="_blank">imp@bsdimp.com</a>> wrote:
</div>
<div><br clear="none"></div>
<div><br clear="none"></div>
<div><div id="ydp4d5a4912yiv5496367686m_-2495992665827709045ydp39addca9yiv4277734352"><div><div><div><br clear="none"><br clear="none"><div><div dir="ltr">On Mon, Jul 3, 2023, 9:34 PM Pedro Giffuni <<a shape="rect" href="mailto:pfg@freebsd.org" rel="nofollow" target="_blank">pfg@freebsd.org</a>> wrote:<br clear="none"></div><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div></div>
<div dir="ltr">Hmm ...</div><div dir="ltr"><br clear="none"></div><div dir="ltr">Dragonfly has no armv7 or i386, so they didn't get it too wrong.</div><div dir="ltr">I guess <span><span style="color:rgb(0,0,0);font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;">the int64_t would be a quick fix or</span></span> 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.</div><div><br clear="none"></div><div dir="ltr">Please go ahead and do the quick fix ;)</div></div></div></blockquote></div></div><div><br clear="none"></div><div>What makes you say it's a quick fix? If the calculations need 64 bits, int64_t is the proper data type. How is that analysis wrong?</div><div><br clear="none"></div><div>Also, it's tradition that you should fix it...</div><div><br clear="none"></div><div>Warner</div></div><div id="ydp4d5a4912yiv5496367686m_-2495992665827709045ydp39addca9yiv4277734352yqtfd43229">
</div></div></div></div>
</div>
</div></div></blockquote></div></div></div></div><div id="ydp4d5a4912yiv5496367686yqtfd23873" class="ydp4d5a4912yiv5496367686yqt0992661216">
</div></div></div></div>
</div>
</div></body></html>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?518821019.2139852.1688446167878>
