From: Junio C Hamano <gitster@pobox.com>
To: Jeff King <peff@peff.net>
Cc: Bernd Ahlers <bernd@ba-net.org>, git@vger.kernel.org
Subject: Re: [PATCH] 64-bit fix for date.c.
Date: Tue, 05 May 2009 22:51:43 -0700 [thread overview]
Message-ID: <7vvdoeye1c.fsf@alter.siamese.dyndns.org> (raw)
In-Reply-To: 20090504143112.GA14214@coredump.intra.peff.net
Jeff King <peff@peff.net> writes:
> On Mon, May 04, 2009 at 04:26:14PM +0200, Bernd Ahlers wrote:
>
>> Jeff King [Mon, Apr 06, 2009 at 03:06:58PM -0400] wrote:
>> >On Mon, Apr 06, 2009 at 07:26:37PM +0200, Bernd Ahlers wrote:
>> >
>> >> @@ -871,13 +871,15 @@ unsigned long approxidate(const char *date)
>> >> struct timeval tv;
>> >> + time_t time_sec;
>> >> [...]
>> >> gettimeofday(&tv, NULL);
>> >> - localtime_r(&tv.tv_sec, &tm);
>> >> + time_sec = tv.tv_sec;
>> >> + localtime_r(&time_sec, &tm);
>> >
>> >Hmph. According to POSIX, tv_sec _is_ a time_t. But I see on FreeBSD,
>> >also, it is actually a "long". So I think this fix makes sense.
>> >
>> Okay. So what's the next step to get this committed? :)
>
> Looks like Junio missed it the first time around, so re-send it to him,
> cc'ing the list. And you can add my
>
> Acked-by: Jeff King <peff@peff.net>
Thanks.
next prev parent reply other threads:[~2009-05-06 5:51 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-06 17:26 [PATCH] 64-bit fix for date.c Bernd Ahlers
2009-04-06 19:06 ` Jeff King
2009-05-04 14:26 ` Bernd Ahlers
2009-05-04 14:31 ` Jeff King
2009-05-06 5:51 ` Junio C Hamano [this message]
2009-05-06 14:26 ` Tony Finch
2009-05-06 16:49 ` Jeff King
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7vvdoeye1c.fsf@alter.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=bernd@ba-net.org \
--cc=git@vger.kernel.org \
--cc=peff@peff.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).