Skip to content

Commit

Permalink
Bug 732328 - need os.close(fd) before os.remove(tmp) on expandlibs_ex…
Browse files Browse the repository at this point in the history
…ec.py. r=ted
  • Loading branch information
makotokato committed Mar 9, 2012
1 parent 6a62cb6 commit 4338eff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/expandlibs_exec.py
Expand Up @@ -131,6 +131,7 @@ def makelist(self):
content = ["%s\n" % obj for obj in objs]
ref = "@" + tmp
else:
os.close(fd)
os.remove(tmp)
return
self.tmp.append(tmp)
Expand Down
1 change: 1 addition & 0 deletions js/src/config/expandlibs_exec.py
Expand Up @@ -131,6 +131,7 @@ def makelist(self):
content = ["%s\n" % obj for obj in objs]
ref = "@" + tmp
else:
os.close(fd)
os.remove(tmp)
return
self.tmp.append(tmp)
Expand Down

0 comments on commit 4338eff

Please sign in to comment.