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
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ my @charsetnames = ();
|
|||
my @sortpriority = ();
|
||||
|
||||
while (<FOO>) {
|
||||
chomp;
|
||||
chomp; y/\r//d;
|
||||
if (/^charset (.*)$/) {
|
||||
$charsetname = $1;
|
||||
@vals = ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue