1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-03-28 17:27:08 -05:00

sbcsgen.pl: handle \r\n line endings.

These show up if you build from the Windows source archive on Unix,
which is an odd thing to be trying to do, but I managed it myself the
other day by accident :-)
This commit is contained in:
Simon Tatham 2022-09-01 19:37:17 +01:00
parent a01deea1b1
commit e6f9df9208

View File

@ -38,7 +38,7 @@ my @charsetnames = ();
my @sortpriority = ();
while (<FOO>) {
chomp;
chomp; y/\r//d;
if (/^charset (.*)$/) {
$charsetname = $1;
@vals = ();