소스 검색

* shell needs an ansistring parameter to avoid cutting of
command lines

git-svn-id: trunk@5323 -

Jonas Maebe 19 년 전
부모
커밋
caf501d499
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      compiler/globals.pas

+ 2 - 2
compiler/globals.pas

@@ -322,7 +322,7 @@ interface
 
     procedure DefaultReplacements(var s:string);
 
-    function Shell(const command:string): longint;
+    function Shell(const command:ansistring): longint;
     function  GetEnvPChar(const envname:string):pchar;
     procedure FreeEnvPChar(p:pchar);
 
@@ -667,7 +667,7 @@ implementation
   {$define AMIGASHELL}
 {$endif}
 
-    function Shell(const command:string): longint;
+    function Shell(const command:ansistring): longint;
       { This is already defined in the linux.ppu for linux, need for the *
         expansion under linux }
 {$ifdef hasunix}