mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-31 02:32:49 -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:
parent
a01deea1b1
commit
e6f9df9208
@ -38,7 +38,7 @@ my @charsetnames = ();
|
|||||||
my @sortpriority = ();
|
my @sortpriority = ();
|
||||||
|
|
||||||
while (<FOO>) {
|
while (<FOO>) {
|
||||||
chomp;
|
chomp; y/\r//d;
|
||||||
if (/^charset (.*)$/) {
|
if (/^charset (.*)$/) {
|
||||||
$charsetname = $1;
|
$charsetname = $1;
|
||||||
@vals = ();
|
@vals = ();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user