NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/46782: date -r (8) returns incorrect values



The following reply was made to PR bin/46782; it has been noted by GNATS.

From: Matthew Mondor <mm_lists%pulsar-zone.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/46782: date -r  (8) returns incorrect values
Date: Tue, 7 Aug 2012 23:03:11 -0400

 On Tue,  7 Aug 2012 22:35:00 +0000 (UTC)
 mac%SS.Culver.Net@localhost wrote:
 
 > >Description:
 >      date -r overflows
 > >How-To-Repeat:
 >      date -r `echo '2^31-1'|bc` ; date -r `echo '2^31'|bc`
 > >Fix:
 
 Could this be because on NetBSD versions prior to 6, time_t was
 int32_t?  It is int64_t on netbsd-6 and I cannot reproduce this
 problem on it.
 
 Thanks,
 -- 
 Matt
 


Home | Main Index | Thread Index | Old Index