mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
lit: Hardcode whence seek value, os.SEEK_END isn't always available.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86449 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1bf013904f
commit
bf477df346
@ -114,7 +114,7 @@ def executeShCmd(cmd, cfg, cwd, results):
|
||||
r[2] = open(r[0], r[1])
|
||||
# Workaround a Win32 and/or subprocess bug when appending.
|
||||
if r[1] == 'a':
|
||||
r[2].seek(0, os.SEEK_END)
|
||||
r[2].seek(0, 2)
|
||||
result = r[2]
|
||||
final_redirects.append(result)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user