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



> +#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