• Ned Deily's avatar
    Issue #17111: Prevent test_surrogates (test_fileio) failure on OS X 10.4. · aa1e1a27
    Ned Deily yazdı
    An odd bug in OS X 10.4 causes open(2) on a non-existent,
    invalid-encoded filename to return errno 22, EINVAL: Invalid argument,
    instead of the expected errno 2, ENOENT: No such file or directory,
    *if* the containing directory is not empty.  That caused frequent
    failures when running the buildbot tests on 10.4 depending on the state
    of the test working directory.  The failure is easy to reproduce on
    10.4 by running the test directly (not with regrtest), first in an empty
    directory, then after adding a file to it.  The fix is to check for and
    pass if either errno is returned.
    aa1e1a27
Adı
Son kayıt (commit)
Son güncelleme
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
RISCOS Loading commit data...
Tools Loading commit data...
.bzrignore Loading commit data...
.gitignore Loading commit data...
.hgeol Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
README Loading commit data...
config.guess Loading commit data...
config.sub Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...
install-sh Loading commit data...
pyconfig.h.in Loading commit data...
setup.py Loading commit data...