equal
deleted
inserted
replaced
133 pass |
133 pass |
134 |
134 |
135 def checkexec(path): |
135 def checkexec(path): |
136 return False |
136 return False |
137 |
137 |
|
138 def checklink(path): |
|
139 return False |
|
140 |
138 def set_binary(fd): |
141 def set_binary(fd): |
139 # When run without console, pipes may expose invalid |
142 # When run without console, pipes may expose invalid |
140 # fileno(), usually set to -1. |
143 # fileno(), usually set to -1. |
141 if hasattr(fd, 'fileno') and fd.fileno() >= 0: |
144 if hasattr(fd, 'fileno') and fd.fileno() >= 0: |
142 msvcrt.setmode(fd.fileno(), os.O_BINARY) |
145 msvcrt.setmode(fd.fileno(), os.O_BINARY) |