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 959A11382C5 for ; Sun, 17 May 2020 12:35:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8D979E0917; Sun, 17 May 2020 12:35:45 +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 74945E0917 for ; Sun, 17 May 2020 12:35:45 +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 7A64734F8A5 for ; Sun, 17 May 2020 12:35:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 79601244 for ; Sun, 17 May 2020 12:35:42 +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: <1589716926.89e8e0b1285739ca70922afab048c803f125df30.grobian@gentoo> Subject: [gentoo-commits] proj/portage-utils:master commit in: / X-VCS-Repository: proj/portage-utils X-VCS-Files: qtbz2.c X-VCS-Directories: / X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 89e8e0b1285739ca70922afab048c803f125df30 X-VCS-Branch: master Date: Sun, 17 May 2020 12:35:42 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7b1f2d96-e879-4d34-92e6-089b9b7c5de0 X-Archives-Hash: 5bc90b986fa6a297c2978a72d1d23038 commit: 89e8e0b1285739ca70922afab048c803f125df30 Author: Fabian Groffen gentoo org> AuthorDate: Sun May 17 12:02:06 2020 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Sun May 17 12:02:06 2020 +0000 URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=89e8e0b1 qtbz2: drop warning about archive not being bz2 compressed Since we support many compression formats, and Portage is switching to zstd compression by default, it makes no sense to warn about the compression format used. Signed-off-by: Fabian Groffen gentoo.org> qtbz2.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/qtbz2.c b/qtbz2.c index a02b477..7cc0b37 100644 --- a/qtbz2.c +++ b/qtbz2.c @@ -1,5 +1,5 @@ /* - * Copyright 2005-2019 Gentoo Foundation + * Copyright 2005-2020 Gentoo Foundation * Distributed under the terms of the GNU General Public License v2 * * Copyright 2005-2010 Ned Ludd - @@ -83,8 +83,6 @@ tbz2_compose(int dir_fd, const char *tarbz2, const char *xpak, const char *tbz2) fclose(out); return ret; } - if (pread(fd, buf, 3, 0) != 3 || memcmp(buf, "BZh", 3)) - warn("%s: does not appear to be a .tar.bz2", tarbz2); in_tarbz2 = fdopen(fd, "r"); if (in_tarbz2 == NULL) { fclose(out);