mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-04 19:19:41 +01:00
* fix for 0.99.8 which has no auto pchar-string ;)
This commit is contained in:
parent
bede68c06e
commit
c29f26183f
@ -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
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user