Fix #8879. Add os.link support to Windows.

Additionally, the st_ino attribute of stat structures was not being filled
in. This was left out of the fix to #10027 and was noticed due to
test_tarfile failing when applying the patch for this issue. An earlier
version of the fix to #10027 included st_ino, but that attribute got lost
in the shuffle of a few review/fix cycles. All tests pass.
This commit is contained in:
Brian Curtin 2010-11-24 20:24:31 +00:00
parent f21c7ed39d
commit 1b9df39620
4 changed files with 66 additions and 1 deletions

View file

@ -1058,7 +1058,10 @@ Files and Directories
Create a hard link pointing to *source* named *link_name*.
Availability: Unix.
Availability: Unix, Windows.
.. versionchanged:: 3.2
Added Windows support.
.. function:: listdir(path='.')