Re: Trying to use AUTHOR_DATE
- From
Junio C Hamano <junkio@cox.net>
- Date
- Apr 30, 2005, 05:43 UTC
- Message-ID
- <7vacng3jln.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <Pine.LNX.4.58.0504292114580.2296@ppc970.osdl.org>
>>>>> "LT" == Linus Torvalds <torvalds@osdl.org> writes:
LT> On Fri, 29 Apr 2005, Linus Torvalds wrote:
>> >> I'll happily depend on libcurl, but I put my foot down on that tool of the >> devil called "autoconf".
LT> Btw, looking at curl's "getdate.c", it doesn't seem to be _that_ much more LT> different from the date parsing we used to have. In particular, it LT> actually uses "mktime()" twice and subtracts out the difference.
If we are going to lift code from somewhere, why don't we steal from a pro who knows what he is doing?
One careful implementation of my-mktime() I know of is the one by Paul Eggert, found in patch (maketime.c::tm2time).