diff options
author | Dylan William Hardison <dylan@hardison.net> | 2017-12-23 00:20:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-23 00:20:10 +0100 |
commit | 099ab661d00aaa29eb3ff00749fd851cdd15d4b5 (patch) | |
tree | ae3617908fc55e451117092020c1176ee0e68dee /Bugzilla | |
parent | c2da016469427b2ffebaab0d38ca36b81281420c (diff) | |
download | bugzilla-099ab661d00aaa29eb3ff00749fd851cdd15d4b5.tar.gz bugzilla-099ab661d00aaa29eb3ff00749fd851cdd15d4b5.tar.xz |
no bug - support Devel::NYTProf
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/Extension.pm | 2 | ||||
-rw-r--r-- | Bugzilla/Template/PreloadProvider.pm | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Bugzilla/Extension.pm b/Bugzilla/Extension.pm index baf2286e1..a41ac9326 100644 --- a/Bugzilla/Extension.pm +++ b/Bugzilla/Extension.pm @@ -46,7 +46,7 @@ sub INC_HOOK { return 1; } else { - $_ = qq{# line 0 "$real_file"\n}; + $_ = qq{# line 1 "$real_file"\n}; $first = 0; return 1; } diff --git a/Bugzilla/Template/PreloadProvider.pm b/Bugzilla/Template/PreloadProvider.pm index 2588b1a79..bddabfa2e 100644 --- a/Bugzilla/Template/PreloadProvider.pm +++ b/Bugzilla/Template/PreloadProvider.pm @@ -43,6 +43,7 @@ sub _init { } trick_taint($name); my $data = { + path => $name, name => $key, text => do { open my $fh, '<:utf8', $name or die "cannot open $name"; |