Bladeren bron

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

git-svn-id: trunk@5323 -

Jonas Maebe 19 jaren geleden
bovenliggende
commit
caf501d499
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  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}