[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#563726: More information



On Mon, Jan 04, 2010 at 11:49:09PM +0100, Guillaume Ayoub wrote:
> More information can be found at:
> http://www.mail-archive.com/debian-user@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
aurelien@aurel32.net                 http://www.aurel32.net



Reply to: