Show More
@@ -742,7 +742,7 def checknlink(testfile): | |||
|
742 | 742 | |
|
743 | 743 | # nlinks() may behave differently for files on Windows shares if |
|
744 | 744 | # the file is open. |
|
745 |
fd = |
|
|
745 | fd = posixfile(f2) | |
|
746 | 746 | return nlinks(f2) > 1 |
|
747 | 747 | finally: |
|
748 | 748 | if fd is not None: |
@@ -916,7 +916,7 class opener(object): | |||
|
916 | 916 | else: |
|
917 | 917 | # nlinks() may behave differently for files on Windows |
|
918 | 918 | # shares if the file is open. |
|
919 |
fd = |
|
|
919 | fd = posixfile(f) | |
|
920 | 920 | nlink = nlinks(f) |
|
921 | 921 | if nlink < 1: |
|
922 | 922 | nlink = 2 # force mktempcopy (issue1922) |
General Comments 0
You need to be logged in to leave comments.
Login now