aboutsummaryrefslogtreecommitdiffstats
path: root/util/mkerr.pl
diff options
context:
space:
mode:
Diffstat (limited to 'util/mkerr.pl')
-rw-r--r--util/mkerr.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/mkerr.pl b/util/mkerr.pl
index 13c9974bce..939a87c07c 100644
--- a/util/mkerr.pl
+++ b/util/mkerr.pl
@@ -556,7 +556,7 @@ EOF
if (open(IN,"<$cfile")) {
my $line = "";
while (<IN>) {
- chomp;
+ s|\R$||; # Better chomp
$_ = $line . $_;
$line = "";
if (/{ERR_(FUNC|REASON)\(/) {