Message163554
> 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 |
|
Date |
User |
Action |
Args |
2012-06-23 08:58:36 | skrah | set | recipients:
+ skrah, loewis, rhettinger, terry.reedy, jcea, amaury.forgeotdarc, pitrou, vstinner, benjamin.peterson, python-dev, hynek, aklauer |
2012-06-23 08:58:35 | skrah | set | messageid: <1340441915.82.0.719535169566.issue10142@psf.upfronthosting.co.za> |
2012-06-23 08:58:34 | skrah | link | issue10142 messages |
2012-06-23 08:58:32 | skrah | create | |
|