]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
IFC: Comment
authorTim Kientzle <kientzle@gmail.com>
Mon, 30 Jun 2008 22:45:22 +0000 (18:45 -0400)
committerTim Kientzle <kientzle@gmail.com>
Mon, 30 Jun 2008 22:45:22 +0000 (18:45 -0400)
SVN-Revision: 146

cpio/cpio.c

index 515e9921d058ac835990ea5eb97f183036b4ac78..52a3a73529b09cab2a3e3b348eaf99374bb793da 100644 (file)
@@ -553,6 +553,7 @@ entry_to_archive(struct cpio *cpio, struct archive_entry *entry)
                 * so we use archive_write_header() instead as a
                 * convenience. */
                archive_entry_set_hardlink(t, srcpath);
+               /* This is a straight link that carries no data. */
                archive_entry_set_size(t, 0);
                r = archive_write_header(cpio->archive, t);
                archive_entry_free(t);