瀏覽代碼

pkg_parse_copy(): fix references to variables in a comment

The comment still used the old names of variables from before the code had
been factored in a separate function (in commit
58df02f9d39c1e7b1c7f49026a649f125b87140d).
Raphaël Hertzog 15 年之前
父節點
當前提交
b100b81bfd
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      lib/dpkg/parse.c

+ 2 - 2
lib/dpkg/parse.c

@@ -264,8 +264,8 @@ pkg_parse_copy(struct parsedb_state *ps,
                         (ps->flags & pdb_recordavailable) ? true : false);
                         (ps->flags & pdb_recordavailable) ? true : false);
   /* Leave the ‘depended’ pointer alone, we've just gone to such
   /* Leave the ‘depended’ pointer alone, we've just gone to such
    * trouble to get it right :-). The ‘depends’ pointer in
    * trouble to get it right :-). The ‘depends’ pointer in
-   * pifp was indeed also updated by copy_dependency_links,
-   * but since the value was that from newpifp anyway there's
+   * dst_pkgbin was indeed also updated by copy_dependency_links,
+   * but since the value was that from src_pkgbin anyway there's
    * no need to copy it back. */
    * no need to copy it back. */
   src_pkgbin->depended = dst_pkgbin->depended;
   src_pkgbin->depended = dst_pkgbin->depended;