• 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
..
RPM Loading commit data...
TextMate/Python-Dev.tmbundle Loading commit data...
Vim Loading commit data...
ACKS Loading commit data...
HISTORY Loading commit data...
NEWS Loading commit data...
Porting Loading commit data...
README Loading commit data...
README.AIX Loading commit data...
README.coverity Loading commit data...
README.valgrind Loading commit data...
SpecialBuilds.txt Loading commit data...
build.sh Loading commit data...
gdbinit Loading commit data...
indent.pro Loading commit data...
python-config.in Loading commit data...
python-wing3.wpr Loading commit data...
python-wing4.wpr Loading commit data...
python.man Loading commit data...
python.pc.in Loading commit data...
valgrind-python.supp Loading commit data...
vgrindefs Loading commit data...