summaryrefslogtreecommitdiff
path: root/compiler/systems/t_os2.pas
diff options
context:
space:
mode:
authortom_at_work <tom_at_work@3ad0048d-3df7-0310-abae-a5850022a9f2>2007-01-26 22:29:39 +0000
committertom_at_work <tom_at_work@3ad0048d-3df7-0310-abae-a5850022a9f2>2007-01-26 22:29:39 +0000
commit87424512cddb1631fba2950b71409bfe45a696fe (patch)
treea84378c2507b3f094c4861651564dc45a4070083 /compiler/systems/t_os2.pas
parent3dcd3cb35bb3c54f6246599406ff7f9208522c7e (diff)
downloadfpc-87424512cddb1631fba2950b71409bfe45a696fe.tar.gz
* renamed TStringList to TCmdStrList, in general use TCmdStr instead of shortstrings to fix bug 6351
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@6215 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/systems/t_os2.pas')
-rw-r--r--compiler/systems/t_os2.pas10
1 files changed, 5 insertions, 5 deletions
diff --git a/compiler/systems/t_os2.pas b/compiler/systems/t_os2.pas
index 377da7a7c2..848e9d6c64 100644
--- a/compiler/systems/t_os2.pas
+++ b/compiler/systems/t_os2.pas
@@ -388,7 +388,7 @@ Function TLinkeros2.WriteResponseFile(isdll:boolean) : Boolean;
Var
linkres : TLinkRes;
i : longint;
- HPath : TStringListItem;
+ HPath : TCmdStrListItem;
s : string;
begin
WriteResponseFile:=False;
@@ -397,17 +397,17 @@ begin
LinkRes:=TLinkRes.Create(outputexedir+Info.ResName);
{ Write path to search libraries }
- HPath:=TStringListItem(current_module.locallibrarysearchpath.First);
+ HPath:=TCmdStrListItem(current_module.locallibrarysearchpath.First);
while assigned(HPath) do
begin
LinkRes.Add('-L'+HPath.Str);
- HPath:=TStringListItem(HPath.Next);
+ HPath:=TCmdStrListItem(HPath.Next);
end;
- HPath:=TStringListItem(LibrarySearchPath.First);
+ HPath:=TCmdStrListItem(LibrarySearchPath.First);
while assigned(HPath) do
begin
LinkRes.Add('-L'+HPath.Str);
- HPath:=TStringListItem(HPath.Next);
+ HPath:=TCmdStrListItem(HPath.Next);
end;
{ add objectfiles, start with prt0 always }