Ver Fonte

* string -> shortstring

Michael VAN CANNEYT há 2 anos atrás
pai
commit
9d6a495c02
2 ficheiros alterados com 2 adições e 2 exclusões
  1. 1 1
      rtl/linux/suuid.inc
  2. 1 1
      rtl/linux/system.pp

+ 1 - 1
rtl/linux/suuid.inc

@@ -55,7 +55,7 @@ Const
 
 Var
   fd: Longint;
-  S : String;
+  S : AnsiString;
   
 begin
   fd:=FileOpen(KernelUUID,fmOpenRead or fmShareDenyNone);

+ 1 - 1
rtl/linux/system.pp

@@ -457,7 +457,7 @@ begin
      execpathstr[0]:=AnsiChar(i);
 end;
 
-function paramstr(l: longint) : string;
+function paramstr(l: longint) : shortstring;
  begin
    { stricly conforming POSIX applications  }
    { have the executing filename as argv[0] }