Subject: Re: pkg/36655: pkgtools/pkg_install: fails to build on linux
To: None <adrianp@NetBSD.org, gnats-admin@netbsd.org,>
From: Tobias Nygren <tnn@NetBSD.org>
List: pkgsrc-bugs
Date: 07/16/2007 19:55:02
The following reply was made to PR pkg/36655; it has been noted by GNATS.

From: "Tobias Nygren" <tnn@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: yx@x.ua, pkgsrc-bugs@NetBSD.org, adrianp@NetBSD.org
Subject: Re: pkg/36655: pkgtools/pkg_install: fails to build on linux
Date: Mon, 16 Jul 2007 21:53:58 +0200 (CEST)

 > +#ifdef __USE_GNU
 > +		t_pvfile = pvstat.st_ctime;
 > +#else
 >  		t_pvfile = pvstat.st_ctimespec.tv_sec;
 > +#endif
 
 Regarding the above: st_ctime is SUSv3, not GNU :-)
 I don't see a reason for using st_ctimespec at all, since
 we don't look at the nanosecond part.
 (The fix is needed on HP-UX as well)