Serhiy Storchaka added the comment:

Yes, what I read, HFS+ counts files. st_ntlink is a number of files and 
directories + 2 (perhaps for fake "." and ".."). This value never less than 2 + 
number_of_subdirectories, hence the code should work. Just an optimization has 
no any effect (as well as on FS where st_ntlink == 1).

----------
resolution:  -> fixed
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7759>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to