瀏覽代碼

Dpkg::Control::Hash: document how leading/trailing spaces are treated

Raphaël Hertzog 17 年之前
父節點
當前提交
77b078af40
共有 1 個文件被更改,包括 3 次插入 和 0 次删除
  1. 3 0
      scripts/Dpkg/Control/Hash.pm

+ 3 - 0
scripts/Dpkg/Control/Hash.pm

@@ -52,6 +52,9 @@ unchanged directly after the field name, supplementary lines are
 modified. Empty lines and lines containing only dots are prefixed with
 " ." (space + dot) while other lines are prefixed with a single space.
 
+During parsing, trailing spaces are stripped on all lines while leading
+spaces are stripped only on the first line of each field.
+
 =head1 FUNCTIONS
 
 =over 4