Просмотр исходного кода

dpkg: Use colon instead of dot for user:group in debug output

Guillem Jover лет назад: 13
Родитель
Сommit
95310c7495
2 измененных файлов с 2 добавлено и 1 удалено
  1. 1 0
      debian/changelog
  2. 1 1
      src/archives.c

+ 1 - 0
debian/changelog

@@ -10,6 +10,7 @@ dpkg (1.17.0) UNRELEASED; urgency=low
   * Disable justification and hyphenation in SEE ALSO man page sections.
   * Remove unneeded double quotes in .SH man page headings.
   * Do not use “header” when “format” or “field” is meant in man pages.
+  * Use colon instead of dot for user:group in dpkg debug output.
 
  -- Guillem Jover <guillem@debian.org>  Fri, 03 Aug 2012 13:21:00 +0200
 

+ 1 - 1
src/archives.c

@@ -737,7 +737,7 @@ tarobject(void *ctx, struct tar_entry *ti)
   nifd->namenode->flags |= fnnf_new_inarchive;
 
   debug(dbg_eachfile,
-        "tarobject ti->name='%s' mode=%lo owner=%u.%u type=%d(%c)"
+        "tarobject ti->name='%s' mode=%lo owner=%u:%u type=%d(%c)"
         " ti->linkname='%s' namenode='%s' flags=%o instead='%s'",
         ti->name, (long)ti->stat.mode,
         (unsigned)ti->stat.uid, (unsigned)ti->stat.gid,