projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Perl's chop / chomp considered bad, use a regexp instead
[openssl.git]
/
VMS
/
translatesyms.pl
diff --git
a/VMS/translatesyms.pl
b/VMS/translatesyms.pl
index 8ffdbd8aa8ca8afa1b567a41345a29ee6948bf99..de3db6ccaf5cee6e56ebd6077c6f8f36bf64dbbf 100644
(file)
--- a/
VMS/translatesyms.pl
+++ b/
VMS/translatesyms.pl
@@
-28,7
+28,7
@@
my %translations = ();
open DEMANGLER_DATA, $ARGV[0]
or die "Couldn't open $ARGV[0]: $!\n";
while(<DEMANGLER_DATA>) {
-
chomp
;
+
s|\R$||
;
(my $translated, my $original) = split /\$/;
$translations{$original} = $translated.'$';
}