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

Hirokazu Yamamoto report at bugs.python.org
Sun Nov 7 13:39:10 CET 2010


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

I found Win32 FileID API. With this library, it seems
we can use GetFileInformationByHandleEx before Vista.
We can get real file name and hard link count from handle.

http://www.microsoft.com/downloads/en/details.aspx?FamilyID=1DECC547-AB00-4963-A360-E4130EC079B8&amp;displaylang=en

I don't have a patch, but maybe it is worth to implement it.

----------

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


More information about the Python-bugs-list mailing list