pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/36655: pkgtools/pkg_install: fails to build on linux
The following reply was made to PR pkg/36655; it has been noted by GNATS.
From: "Tobias Nygren" <tnn%NetBSD.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: yx%x.ua@localhost, pkgsrc-bugs%NetBSD.org@localhost,
adrianp%NetBSD.org@localhost
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)
Home |
Main Index |
Thread Index |
Old Index