mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 14:08:09 +02:00
* fix writing of multiple files per path
git-svn-id: trunk@337 -
This commit is contained in:
parent
7449f99d5f
commit
39efda1fde
@ -154,7 +154,8 @@ begin
|
||||
if maxequal+1<length(pathprefixes[i]) then
|
||||
pathtemp:=pathtemp+Copy(pathprefixes[i],maxequal+1,65535)+': ';
|
||||
firstpath:=true;
|
||||
for j:=0 to paths.Count-1 do
|
||||
j:=0;
|
||||
while (j<paths.Count) do
|
||||
begin
|
||||
if ExtractFilePath(paths[j])=pathprefixes[i] then
|
||||
begin
|
||||
@ -174,8 +175,9 @@ begin
|
||||
pathtemp:=pathtemp+hs;
|
||||
{ delete already processed paths for performance }
|
||||
paths.delete(j);
|
||||
break;
|
||||
end;
|
||||
end
|
||||
else
|
||||
inc(j);
|
||||
end;
|
||||
if pathtemp<>newlineprefix then
|
||||
writeln(pathtemp);
|
||||
|
Loading…
Reference in New Issue
Block a user