Browse Source

* Preparation for Unicode RTL compilation

git-svn-id: trunk@24700 -
michael 12 years ago
parent
commit
3408f8409a
2 changed files with 4 additions and 3 deletions
  1. 1 0
      packages/gdbint/src/gdbcon.pp
  2. 3 3
      packages/unzip/src/unzip51g.pp

+ 1 - 0
packages/gdbint/src/gdbcon.pp

@@ -59,6 +59,7 @@ uses
 {$ifdef win32}
 {$ifdef win32}
   windows,
   windows,
 {$endif win32}
 {$endif win32}
+  dos,
   strings;
   strings;
 
 
 {$ifdef win32}
 {$ifdef win32}

+ 3 - 3
packages/unzip/src/unzip51g.pp

@@ -2240,7 +2240,7 @@ VAR err : integer;
 BEGIN
 BEGIN
   getmem ( slide, wsize );
   getmem ( slide, wsize );
   fillchar ( slide [ 0 ], wsize, #0 );
   fillchar ( slide [ 0 ], wsize, #0 );
-  assign ( infile, in_name );
+  assign ( infile, strpas(in_name) );
   storefilemode := filemode;
   storefilemode := filemode;
   filemode := 0;
   filemode := 0;
   {$push} {$I-}
   {$push} {$I-}
@@ -2315,7 +2315,7 @@ BEGIN
   reachedsize := 0;
   reachedsize := 0;
   seek ( infile, offset );
   seek ( infile, offset );
 
 
-  assign ( outfile, out_name );
+  assign ( outfile, strpas(out_name) );
   {$push} {$I-}
   {$push} {$I-}
   rewrite ( outfile, 1 );
   rewrite ( outfile, 1 );
   {$pop}
   {$pop}
@@ -2578,7 +2578,7 @@ VAR bufstart, headerstart, start : longint;
 
 
 BEGIN
 BEGIN
  WITH zprec DO BEGIN
  WITH zprec DO BEGIN
-  assign ( f, zipfilename );
+  assign ( f, strpas(zipfilename));
   filemode := 0;  {Others may read or write};
   filemode := 0;  {Others may read or write};
   {$push} {$I-}
   {$push} {$I-}
   reset ( f, 1 );
   reset ( f, 1 );