Show More
@@ -228,16 +228,8 b' class winstdout(object):' | |||||
228 | raise IOError(errno.EPIPE, 'Broken pipe') |
|
228 | raise IOError(errno.EPIPE, 'Broken pipe') | |
229 |
|
229 | |||
230 |
|
230 | |||
231 | def _is_win_9x(): |
|
|||
232 | '''return true if run on windows 95, 98 or me.''' |
|
|||
233 | try: |
|
|||
234 | return sys.getwindowsversion()[3] == 1 |
|
|||
235 | except AttributeError: |
|
|||
236 | return b'command' in encoding.environ.get(b'comspec', b'') |
|
|||
237 |
|
||||
238 |
|
||||
239 | def openhardlinks(): |
|
231 | def openhardlinks(): | |
240 | return not _is_win_9x() |
|
232 | return True | |
241 |
|
233 | |||
242 |
|
234 | |||
243 | def parsepatchoutput(output_line): |
|
235 | def parsepatchoutput(output_line): |
General Comments 0
You need to be logged in to leave comments.
Login now