Explorar o código

* string -> shortstring

Michael VAN CANNEYT %!s(int64=2) %!d(string=hai) anos
pai
achega
ae84482a9a
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  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] }