Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
gitweb: Fix bug in insert_file() subroutine
[gitweb.git]
/
gitweb
/
gitweb.perl
diff --git
a/gitweb/gitweb.perl
b/gitweb/gitweb.perl
index 951739210a3278802e5ab7eb00bd5d0679deccce..6eb370d8de65556ea5a50af87e91e4508c855953 100755
(executable)
--- a/
gitweb/gitweb.perl
+++ b/
gitweb/gitweb.perl
@@
-2764,7
+2764,7
@@
sub insert_file {
my $filename = shift;
open my $fd, '<', $filename;
- print map
(to_utf8, <$fd>)
;
+ print map
{ to_utf8($_) } <$fd>
;
close $fd;
}