Package: apt
Version: 0.9.15.1
Severity: serious
User: debian-...@lists.debian.org
Usertags: kfreebsd

The apt 0.9.15.1 started to use futimens instead of previous utime.

The futimens() is not supported on kfreebsd.
The kfreebsd does have:

int utime(const char *filename, const struct utimbuf *times);
int utimes(const char *filename, const struct timeval times[2]);
int futimes(int fd, const struct timeval tv[2]);

but it does not have

int futimens(int fd, const struct timespec times[2]);

We cannot directly provide futimens in user space only,
as it have to also support special values like UTIME_NOW and UTIME_OMIT.

The hurd is also affected, see
https://lists.debian.org/debian-hurd/2014/02/msg00026.html

Please could you switch to futimes() ?
It seems that the subsecond part is set to zero in all apt cases,
so there is no difference between nanosecond and microsecond precision at all.

The futimes() is currently supported (at least) on linux, kfreebsd, hurd.

Thanks in advance

                        Petr


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to