mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-11 12:58:11 +02:00
* a local buffer for pchar based filename handling was still at TP sizes
(80), and did not follow the libraries abstraction (array [tfsize]) for length of paths. (Reporter Lichtwicht, lazarusforum.de) git-svn-id: trunk@12306 -
This commit is contained in:
parent
cba8503e2b
commit
899809777c
@ -2225,7 +2225,7 @@ FUNCTION unzipfile ( in_name : pchar;out_name : pchar;offset : longint;
|
||||
hFileAction : word;cm_index : integer ) : integer;
|
||||
VAR err : integer;
|
||||
header : plocalheader;
|
||||
buf : ARRAY [ 0..80 ] of char;
|
||||
buf : ARRAY [ 0..tfSize+1 ] of char;
|
||||
{$ifndef unix}
|
||||
buf0 : ARRAY [ 0..3 ] of char;
|
||||
{$endif}
|
||||
|
Loading…
Reference in New Issue
Block a user