* fix for 0.99.8 which has no auto pchar-string ;)

This commit is contained in:
peter 1998-10-13 10:20:07 +00:00
parent bede68c06e
commit c29f26183f

View File

@ -112,7 +112,11 @@ Var SInfo : Stat;
begin
P:=pglob(Info.FindHandle);
{$ifdef AUTOOBJPAS}
Result:=Fstat(p^.name,SInfo);
{$else}
Result:=Fstat(StrPas(p^.name),SInfo);
{$endif}
Info.FindHandle:=Longint(P^.Next);
P^.Next:=Nil;
GlobFree(P);
@ -231,7 +235,10 @@ end;
{
$Log$
Revision 1.1 1998-10-11 12:21:01 michael
Revision 1.2 1998-10-13 10:20:07 peter
* fix for 0.99.8 which has no auto pchar-string ;)
Revision 1.1 1998/10/11 12:21:01 michael
Added file calls. Implemented for linux only
}