Skip to content

Commit

Permalink
Support windows line endings in test/header_syms.pl
Browse files Browse the repository at this point in the history
  • Loading branch information
jkbonfield committed Jul 4, 2024
1 parent 3763fc7 commit 8ca61a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/header_syms.pl
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ sub extract_symbols {

open(my $f, '<', $file) || die "Couldn't open $file : $!\n";
my $text = <$f>;
$text =~ tr/\r//d;
close($f) || die "Error reading $file : $!\n";

# Get rid of comments
Expand Down

0 comments on commit 8ca61a7

Please sign in to comment.