pkgsrc-Bugs archive

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

Re: PR/45691 CVS commit: pkgsrc/textproc/libplist



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

From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: PR/45691 CVS commit: pkgsrc/textproc/libplist
Date: Sun, 9 Dec 2012 19:06:50 +0000

 On Mon, Mar 05, 2012 at 05:40:06PM +0000, David Holland wrote:
  >   >  Log Message:
  >   >  Fix build on 5.1/amd64 (PR 45691) -- cast long tv_sec to time_t.  Not
  >   >  a problem in -current, where tv_sec is time_t.
  >  
  >   > +-    struct tm* t = gmtime ( &$1.tv_sec );
  >   > ++    struct tm* t = gmtime ( (time_t*)&$1.tv_sec );
  >  
  >  That is not correct; you're trying to change the size of the integer
  >  the pointer points to.
 
 For the record, I fixed this later on.
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index