This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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 <1340441915.82.0.719535169566.issue10142@psf.upfronthosting.co.za>
In-reply-to
Content
> 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
History
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: <1340441915.82.0.719535169566.issue10142@psf.upfronthosting.co.za>
2012-06-23 08:58:34skrahlinkissue10142 messages
2012-06-23 08:58:32skrahcreate