This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients BreamoreBoy, David.Edelsohn, akuchling, nascheme, pitrou, python-dev, r.david.murray, serhiy.storchaka
Date 2015-11-16.20:45:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1447706718.4.0.490864560069.issue7759@psf.upfronthosting.co.za>
In-reply-to
Content
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).
History
Date User Action Args
2015-11-16 20:45:18serhiy.storchakasetrecipients: + serhiy.storchaka, akuchling, nascheme, pitrou, r.david.murray, BreamoreBoy, python-dev, David.Edelsohn
2015-11-16 20:45:18serhiy.storchakasetmessageid: <1447706718.4.0.490864560069.issue7759@psf.upfronthosting.co.za>
2015-11-16 20:45:18serhiy.storchakalinkissue7759 messages
2015-11-16 20:45:18serhiy.storchakacreate