pkgsrc-Bugs archive

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

Re: pkg/41996: Can't bootstrap on NetBSD 5.99, 64-bit time_t problem in bmake



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

From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/41996: Can't bootstrap on NetBSD 5.99, 64-bit time_t
        problem in bmake
Date: Mon, 7 Sep 2009 06:03:09 +0000

 On Sat, Sep 05, 2009 at 04:45:00PM +0000, Aleksej Saushev wrote:
  >     fprintf(trfile, "%ld.%06d %d %s %d %s",
  > -       rightnow.tv_sec, (int)rightnow.tv_usec,
  > +       (long int)rightnow.tv_sec, (int)rightnow.tv_usec,
 
 Well, you mean
 
    -   fprintf(trfile, "%ld.%06d %d %s %d %s",
    -       rightnow.tv_sec, (int)rightnow.tv_usec,
    +   fprintf(trfile, "%lld.%06d %d %s %d %s",
    +       (long long)rightnow.tv_sec, (int)rightnow.tv_usec,
 
 or some such, but anyway, this is fixed in HEAD make - is it
 reasonable to just update pkgsrc's copy at this point?
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index