Yet-another-Windows-fix

git-svn-id: file:///home/svn/framework3/trunk@4556 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2007-03-24 18:35:34 +00:00
parent 3de67cf716
commit a1d3f0e4f7
1 changed files with 6 additions and 4 deletions

View File

@ -72,11 +72,13 @@ class Nasm
check
tmp = Tempfile.new('nasmout')
tmp.write(raw)
tmp.flush()
tmp.seek(0)
tfd = File.open(tmp.path, "wb")
tfd.write(raw)
tfd.flush()
tfd.close
p = ::IO.popen("'#{@@ndisasm_path}' -u '#{tmp.path}'")
p = ::IO.popen("\"#{@@ndisasm_path}\" -u \"#{tmp.path}\"")
o = ''
begin