Show More
@@ -595,9 +595,12 b' def checkcase(path):' | |||||
595 | """ |
|
595 | """ | |
596 | s1 = os.stat(path) |
|
596 | s1 = os.stat(path) | |
597 | d, b = os.path.split(path) |
|
597 | d, b = os.path.split(path) | |
598 |
|
|
598 | b2 = b.upper() | |
599 |
if |
|
599 | if b == b2: | |
600 |
|
|
600 | b2 = b.lower() | |
|
601 | if b == b2: | |||
|
602 | return True # no evidence against case sensitivity | |||
|
603 | p2 = os.path.join(d, b2) | |||
601 | try: |
|
604 | try: | |
602 | s2 = os.stat(p2) |
|
605 | s2 = os.stat(p2) | |
603 | if s2 == s1: |
|
606 | if s2 == s1: |
General Comments 0
You need to be logged in to leave comments.
Login now