Stefan Krah <stefan-use...@bytereef.org> added the comment: > int main(void) > { > int fd = open("ccc.c", O_RDONLY); > off_t offset=lseek(fd,0,SEEK_HOLE); > if (offset==-1) { > if (errno==ENXIO) {
Darn, the errno in test_posix should be ENOTTY. Indeed, with ENOTTY the test case for the bug is positive. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10142> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com