Author skrah
Recipients aklauer, amaury.forgeotdarc, benjamin.peterson, hynek, jcea, loewis, pitrou, python-dev, rhettinger, skrah, terry.reedy, vstinner
Date 2012-06-23.08:58:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> This looks like a bug in freebsd:

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");
    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:
Date User Action Args
2012-06-23 08:58:36skrahsetrecipients: + skrah, loewis, rhettinger, terry.reedy, jcea, amaury.forgeotdarc, pitrou, vstinner, benjamin.peterson, python-dev, hynek, aklauer
2012-06-23 08:58:35skrahsetmessageid: <>
2012-06-23 08:58:34skrahlinkissue10142 messages
2012-06-23 08:58:32skrahcreate