Browse Source

* quote the path to the assembler if necessary when using popen(), since
it's based on calling "/bin/sh -c $cmdline" (mantis #19316)

git-svn-id: trunk@17423 -

Jonas Maebe 14 năm trước cách đây
mục cha
commit
2c94ef0f09
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      compiler/assemble.pas

+ 1 - 1
compiler/assemble.pas

@@ -548,7 +548,7 @@ Implementation
             end
            else
              Message1(exec_i_assembling_pipe,AsmFileName);
-           POpen(outfile,FindAssembler+' '+MakeCmdLine,'W');
+           POpen(outfile,maybequoted(FindAssembler)+' '+MakeCmdLine,'W');
          end
         else
 {$endif}