As Sven says, the bug is caused by debian/patches/any/cvs-futimens.diff,
reporting the 'bad file descriptor' error. Without this patch, futimens()
failed silently, as utimensat() has been added in kernel 2.6.22.
Useful links:
- eglibc 2.10 futimens.c original code:
http://www.eglibc.org/cgi-bin/viewcvs.cgi/branches/eglibc-2_10/libc/sysdeps/unix/sysv/linux/futimens.c?view=markup
- upstream patch in eglibc trunk backported in Debian:
http://www.eglibc.org/cgi-bin/viewcvs.cgi/trunk/libc/sysdeps/unix/sysv/linux/futimens.c?r1=text&tr1=2244&r2=text&tr2=9570&diff_format=h
--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
The patch is actually correct, it makes futimens() conform to POSIX [1],
and reject bad descriptors. The fact that the kernel has utimensat() or
not should not change anything here. I'll investigate that more in
details tomorrow.
[1] http://www.opengroup.org/onlinepubs/9699919799/functions/utimensat.html
--
Aurelien Jarno GPG: 1024D/F1BCDB73
aure...@aurel32.net http://www.aurel32.net
As Sven says, the bug is caused by debian/patches/any/cvs-futimens.diff,
reporting the 'bad file descriptor' error. Without this patch, futimens()
failed silently, as utimensat() has been added in kernel 2.6.22.
Useful links:
- eglibc 2.10 futimens.c original code:
http://www.eglibc.org/cgi-bin/viewcvs.cgi/branches/eglibc-2_10/libc/sysdeps/unix/sysv/linux/futimens.c?view=markup
- upstream patch in eglibc trunk backported in Debian:
http://www.eglibc.org/cgi-bin/viewcvs.cgi/trunk/libc/sysdeps/unix/sysv/linux/futimens.c?r1=text&tr1=2244&r2=text&tr2=9570&diff_format=h
--