Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#563726: More information

0 views
Skip to first unread message

Guillaume Ayoub

unread,
Jan 4, 2010, 6:00:02 PM1/4/10
to
More information can be found at:
http://www.mail-archive.com/debia...@lists.debian.org/msg562576.html

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

Aurelien Jarno

unread,
Jan 4, 2010, 6:40:02 PM1/4/10
to
On Mon, Jan 04, 2010 at 11:49:09PM +0100, Guillaume Ayoub wrote:
> More information can be found at:
> http://www.mail-archive.com/debia...@lists.debian.org/msg562576.html
>
> 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.

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

Guillaume Ayoub

unread,
Jan 4, 2010, 10:00:02 PM1/4/10
to

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:

--

0 new messages