mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 732328 - need os.close(fd) before os.remove(tmp) on expandlibs_exec.py. r=ted
This commit is contained in:
parent
acfe99c129
commit
c7ac52755f
@ -131,6 +131,7 @@ class ExpandArgsMore(ExpandArgs):
|
||||
content = ["%s\n" % obj for obj in objs]
|
||||
ref = "@" + tmp
|
||||
else:
|
||||
os.close(fd)
|
||||
os.remove(tmp)
|
||||
return
|
||||
self.tmp.append(tmp)
|
||||
|
@ -131,6 +131,7 @@ class ExpandArgsMore(ExpandArgs):
|
||||
content = ["%s\n" % obj for obj in objs]
|
||||
ref = "@" + tmp
|
||||
else:
|
||||
os.close(fd)
|
||||
os.remove(tmp)
|
||||
return
|
||||
self.tmp.append(tmp)
|
||||
|
Loading…
Reference in New Issue
Block a user