[New-bugs-announce] [issue10027] os.lstat/os.stat don't set st_nlink on Windows

Brian Curtin report at bugs.python.org
Tue Oct 5 16:35:27 CEST 2010

New submission from Brian Curtin <curtin at acm.org>:

In msg117834 on #8879 it was noticed that os.lstat and os.stat don't set st_nlink on Windows, which is causing the patch on that issue to fail test_tarfile.

Attached is a stripped down version of the patch Hirokazu Yamamoto proposed on #8879, containing just the os.*stat changes. As stated in that message, the patch is a quick hack to get test_os and test_tarfile working, so it could use review.

components: Extension Modules, Windows
files: st_nlink.diff
keywords: needs review, patch
messages: 118012
nosy: brian.curtin, ocean-city
priority: normal
severity: normal
stage: patch review
status: open
title: os.lstat/os.stat don't set st_nlink on Windows
type: behavior
versions: Python 3.2
Added file: http://bugs.python.org/file19134/st_nlink.diff

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list