Stefan Krah <[email protected]> added the comment:
> This looks like a bug in freebsd:
>
> http://lists.freebsd.org/pipermail/freebsd-amd64/2012-January/014332.html
I tested that one already yesterday (it was late, so I forgot to mention
it) and the test case attached to the bug report runs fine on the buildbot:
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
int main(void)
{
int fd = open("ccc.c", O_RDONLY);
off_t offset=lseek(fd,0,SEEK_HOLE);
if (offset==-1) {
if (errno==ENXIO) {
// No more data
printf("no more data\n");
close(fd);
exit(-1);
}
}
return 0;
}
The skip looks good to me though, I wouldn't be surprised if there is a kernel
bug. This bug is still present on my machine:
http://www.freebsd.org/cgi/query-pr.cgi?pr=94729
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue10142>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com