[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-debian] Bug#537919: Cause diagnosed - bug is in libc
From: |
Zack Weinberg |
Subject: |
[Monotone-debian] Bug#537919: Cause diagnosed - bug is in libc |
Date: |
Fri, 20 Nov 2009 09:53:28 -0800 |
block 537919 by 557248
thanks
I installed Debian kFreeBSD in a virtual machine and was able to debug
the problem (with some difficulty - programs crash with SIGILL on the
first instruction of main if run under gdb, strace hasn't been ported,
ktrace exists but kdump is missing). It's a bug in the C library.
Monotone expects the remove() function to delete both files and
directories (POSIX specifies that this should work). Under kFreeBSD,
however, remove() fails with EPERM if applied to a directory. I
suspect it is calling unlink() and expecting that to return EISDIR
rather than EPERM when applied to a directory.
I filed bug 557248 on libc0.1.
zw
- [Monotone-debian] Bug#537919: Cause diagnosed - bug is in libc,
Zack Weinberg <=