• Brian Curtin's avatar
    Fix #12084. os.stat on Windows wasn't working properly with relative symlinks. · d25aef55
    Brian Curtin yazdı
    Use of DeviceIoControl to obtain the symlink path via the reparse tag was
    removed. The code now uses GetFinalPathNameByHandle in the case of a
    symbolic link and works properly given the added test which creates a symbolic
    link and calls os.stat on it from multiple locations.
    
    Victor Stinner also noticed an issue with os.lstat following the os.stat
    code path when being passed bytes. The posix_lstat function was adjusted to
    properly hook up win32_lstat instead of the previous STAT macro (win32_stat).
    d25aef55
Adı
Son kayıt (commit)
Son güncelleme
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...
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...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...
pyconfig.h.in Loading commit data...
setup.py Loading commit data...