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 AF8041382C5 for ; Mon, 26 Mar 2018 19:08:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B3772E0954; Mon, 26 Mar 2018 19:08:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 8B68EE0954 for ; Mon, 26 Mar 2018 19:08:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 08E3C335C07 for ; Mon, 26 Mar 2018 19:08:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 91749258 for ; Mon, 26 Mar 2018 19:08:49 +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: <1522091179.e8c0e327e7e1ec83a63c2c7a6b44567773ec7d94.grobian@gentoo> Subject: [gentoo-commits] proj/portage-utils:master commit in: / X-VCS-Repository: proj/portage-utils X-VCS-Files: qlist.c X-VCS-Directories: / X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: e8c0e327e7e1ec83a63c2c7a6b44567773ec7d94 X-VCS-Branch: master Date: Mon, 26 Mar 2018 19:08:49 +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: 1f4b20ec-3e5b-47cb-b14d-a3ff0bf65903 X-Archives-Hash: 35d61d5f9fd99e079cfd1e87ccc59d4f commit: e8c0e327e7e1ec83a63c2c7a6b44567773ec7d94 Author: Fabian Groffen gentoo org> AuthorDate: Mon Mar 26 19:06:19 2018 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Mon Mar 26 19:06:19 2018 +0000 URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=e8c0e327 qlist_cb: exclude /usr/src/debug by default too This is an somewhat alternative take to the patch by Niklas Haas nand.wakku.to>. Also exclude /usr/src/debug by default, because it contains a lot of clutter. Bug: https://bugs.gentoo.org/646310 qlist.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/qlist.c b/qlist.c index cda4ca7..1f8757c 100644 --- a/qlist.c +++ b/qlist.c @@ -335,8 +335,9 @@ qlist_cb(q_vdb_pkg_ctx *pkg_ctx, void *priv) continue; if (!state->show_dbg) { - if (!strncmp(e->name, "/usr/lib/debug", 14) && - (e->name[14] == '/' || e->name[14] == '\0')) + if ((strncmp(e->name, "/usr/lib/debug", 14) == 0 + || strncmp(e->name, "/usr/src/debug", 14) == 0) + && (e->name[14] == '/' || e->name[14] == '\0')) continue; }