[issue10027] os.lstat/os.stat don't set st_nlink on Windows

Hirokazu Yamamoto report at bugs.python.org
Tue Oct 19 04:21:22 CEST 2010


Hirokazu Yamamoto <ocean-city at m2.ccsnet.ne.jp> added the comment:

How about this patch?

* st_nlink support for stat()/lstat().
* lstat() for junction read attributes of junction not target.
* stat() for symlink of system locked file (ie: c:/pagefile.sys)
  should read attributes from target locked file not of symlink
  even via FindFirstFile. (I cannot test this, sorry)

I hope other behavior was not changed by this patch.

----------
Added file: http://bugs.python.org/file19278/py3k_posixpath_v1.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10027>
_______________________________________


More information about the Python-bugs-list mailing list