瀏覽代碼

Dpkg::Changelog::Parse: Set a default filename in changelog_parse()

Regression introduced in commit 43556e0a9f216d59b4bc1a0f4e6e10e9afea3f7d,
during a botched rebase.
Guillem Jover 11 年之前
父節點
當前提交
6d6c0d9cb7
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      scripts/Dpkg/Changelog/Parse.pm

+ 1 - 0
scripts/Dpkg/Changelog/Parse.pm

@@ -256,6 +256,7 @@ sub changelog_parse {
     my (%options) = @_;
 
     $options{forceplugin} //= 0;
+    $options{file} //= 'debian/changelog';
     $options{changelogformat} //= _changelog_detect_format($options{file});
 
     if (not $options{forceplugin} and