From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 171111382C5 for ; Wed, 7 Mar 2018 18:04:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 41928E08D0; Wed, 7 Mar 2018 18:04:06 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 236AFE08D0 for ; Wed, 7 Mar 2018 18:04:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B6B54335C0A for ; Wed, 7 Mar 2018 18:04:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 820F71EB for ; Wed, 7 Mar 2018 18:04:02 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1520445818.2ea68e88531288c29c5533440d63da6c8136d477.grobian@gentoo> Subject: [gentoo-commits] repo/proj/prefix:master commit in: scripts/rsync-generation/ X-VCS-Repository: repo/proj/prefix X-VCS-Files: scripts/rsync-generation/hashgen.c X-VCS-Directories: scripts/rsync-generation/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 2ea68e88531288c29c5533440d63da6c8136d477 X-VCS-Branch: master Date: Wed, 7 Mar 2018 18:04:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 523698fc-0ef3-45ba-9e11-0b871e9deadb X-Archives-Hash: 5c742507b7b2b290a5adafbd42a65177 commit: 2ea68e88531288c29c5533440d63da6c8136d477 Author: Fabian Groffen gentoo org> AuthorDate: Wed Mar 7 18:03:38 2018 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Wed Mar 7 18:03:38 2018 +0000 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=2ea68e88 scripts/rsync-generation/hashgen: count missing and stray files as failed scripts/rsync-generation/hashgen.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/rsync-generation/hashgen.c b/scripts/rsync-generation/hashgen.c index 7bedc75ca4..c4955f65c7 100644 --- a/scripts/rsync-generation/hashgen.c +++ b/scripts/rsync-generation/hashgen.c @@ -1228,6 +1228,7 @@ verify_dir( mfest, entry, etpe == 'M' ? "MANIFEST" : "DATA"); if (slash != NULL) *slash = ' '; + failed_files++; } curelem++; } else if (cmp > 0) { @@ -1236,6 +1237,7 @@ verify_dir( printf("%s:\n- found excess file: %s\n", mfest, dentries[curdentry]); curdentry++; + failed_files++; } }