- May
- 3,515
- 5
WinXP SP3, TCC 10.00.076, 09.02.157
When _unicode=1 and a large file is written to disk using the TYPE command,
e.g.,
type file1 > file2
there appears to be an output buffer overflow at output offsets 0x0001
e000 - 0x0002 0000, 0x0003 e000 - 0x0004 0000, repeating every 0x0002 0000
(I used spaces in the middle of the 32-bit offsets for readability). In
those areas the output file contains only repeated 0x0000 characters. The
output files for V9 and V10 are identical, both showing the same problem.
The problem is the same whether the source file is ASCII or Unicode. There
is no problem if the target is ASCII (i.e., _unicode=0), regardless of the
type of the source file (Unicode or ASCII).
I discovered the problem when I was trying to convert a large ASCII file to
unicode.
--
Steve
When _unicode=1 and a large file is written to disk using the TYPE command,
e.g.,
type file1 > file2
there appears to be an output buffer overflow at output offsets 0x0001
e000 - 0x0002 0000, 0x0003 e000 - 0x0004 0000, repeating every 0x0002 0000
(I used spaces in the middle of the 32-bit offsets for readability). In
those areas the output file contains only repeated 0x0000 characters. The
output files for V9 and V10 are identical, both showing the same problem.
The problem is the same whether the source file is ASCII or Unicode. There
is no problem if the target is ASCII (i.e., _unicode=0), regardless of the
type of the source file (Unicode or ASCII).
I discovered the problem when I was trying to convert a large ASCII file to
unicode.
--
Steve