mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-23 05:29:26 +02:00
* DoDirSeperators pchar overload
git-svn-id: trunk@10133 -
This commit is contained in:
parent
dd1a7ce8e3
commit
517fd357c9
@ -25,6 +25,15 @@ begin
|
|||||||
p[i]:=DirectorySeparator;
|
p[i]:=DirectorySeparator;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
procedure DoDirSeparators(p:Pchar);
|
||||||
|
var
|
||||||
|
i : longint;
|
||||||
|
begin
|
||||||
|
for i:=0 to strlen(p) do
|
||||||
|
if p[i] in AllowDirectorySeparators then
|
||||||
|
p[i]:=DirectorySeparator;
|
||||||
|
end;
|
||||||
|
|
||||||
{$IFNDEF HAS_DOSEXITCODE}
|
{$IFNDEF HAS_DOSEXITCODE}
|
||||||
threadvar
|
threadvar
|
||||||
LastDosExitCode: longint;
|
LastDosExitCode: longint;
|
||||||
|
Loading…
Reference in New Issue
Block a user