From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KDllNCJy92Ct/QAAgWs5BA (envelope-from ) for ; Wed, 21 Jul 2021 03:02:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id aOH+LyJy92BfRQAAB5/wlQ (envelope-from ) for ; Wed, 21 Jul 2021 01:02:26 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 377FC150FE for ; Wed, 21 Jul 2021 03:02:26 +0200 (CEST) Received: from localhost ([::1]:39918 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m60cz-0008JD-Do for larch@yhetil.org; Tue, 20 Jul 2021 21:02:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57422) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m60cf-0007St-Ek for guix-patches@gnu.org; Tue, 20 Jul 2021 21:02:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52471) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m60cf-0007jY-6u for guix-patches@gnu.org; Tue, 20 Jul 2021 21:02:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m60cf-00009l-5Q for guix-patches@gnu.org; Tue, 20 Jul 2021 21:02:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49672] [PATCH 8/9] gnu: ustr: =?UTF-8?Q?Don=E2=80=99t?= pass default argument Resent-From: Thiago Jung Bauermann Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 21 Jul 2021 01:02:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49672 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49672@debbugs.gnu.org Cc: Thiago Jung Bauermann Received: via spool by 49672-submit@debbugs.gnu.org id=B49672.1626829311519 (code B ref 49672); Wed, 21 Jul 2021 01:02:05 +0000 Received: (at 49672) by debbugs.gnu.org; 21 Jul 2021 01:01:51 +0000 Received: from localhost ([127.0.0.1]:35773 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m60cQ-00008I-PJ for submit@debbugs.gnu.org; Tue, 20 Jul 2021 21:01:50 -0400 Received: from mx.kolabnow.com ([95.128.36.40]:59520) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m60cP-00007s-2f for 49672@debbugs.gnu.org; Tue, 20 Jul 2021 21:01:49 -0400 Received: from localhost (unknown [127.0.0.1]) by ext-mx-out003.mykolab.com (Postfix) with ESMTP id A0B6B405B8 for <49672@debbugs.gnu.org>; Wed, 21 Jul 2021 03:01:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-transfer-encoding:content-type:content-type:mime-version :references:in-reply-to:message-id:date:date:subject:subject :from:from:received:received:received; s=dkim20160331; t= 1626829303; x=1628643704; bh=GOWuafueRWJ+4OPeoy+XimnxjOQxgX0NkcD Zw2am1Qk=; b=yG2GYdIrB4YWPfAbg/cYM2rO/LVTqaBnVMdcC3c2pVEf2JXr8Ae c5yPZsM7lMSJ4L4WlOz5yqB5HFpzcCNhQUWTypn78zt4r5ljiQFJC9bzRRMX/8CY R7u9Vey/wGZZxJkWooEaAhbeOqB7yWD8HFizMyP+39t2ggY8lkcOKV7g4TnPL/vo U/HCZ1gbGJ29ph5j6YvAG9JJ6hq7H2NSfDcvGdhUifC/orVKU4iswm8vVKuurNbS N6pvGNeMclejAwyNbDmDYlrmu9rw7WDLkNnhNUzp1j0Xs9DMIPnEbQSCDpeTxBVs y2W8630FbYmMw61GjoEtWmxnqXiI4yy5BKWJgOBjtefWNxSkSw1aNJrP0XRV/QRj 9zRtnZt7NUK9ZrmyTXrLNVWG2EY/iL9vRUXEy0pH4csgwSlsALSyBwdocXrbQw/l xHXUpEyCnYzA/QeV4JHKaGH+ya+Syf+WGSITh21u3pqPiL1TTpCa5lh4/RXfDFQT w2ViCAbdC62vOFnsX+dqPZ2HCylCWcZ43Ysj5AAyHuFzpuGE0p9oDxlh3fGh22K1 KMDNB7rUQo5XcwUMWnzuAnOI1iMZnK/Pn9WlawxrChDGq814xCd1Xz0eESsbCMrX cOm8Tud6PFJPWYgNGyaoWOg0Vu6zSla2+C9Fb8/nDP1kUcR4PFvI7BQE= X-Virus-Scanned: amavisd-new at mykolab.com Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out003.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0jiIPOQbnFjs for <49672@debbugs.gnu.org>; Wed, 21 Jul 2021 03:01:43 +0200 (CEST) Received: from int-mx003.mykolab.com (unknown [10.9.13.3]) by ext-mx-out003.mykolab.com (Postfix) with ESMTPS id 1B5C6403CB for <49672@debbugs.gnu.org>; Wed, 21 Jul 2021 03:01:41 +0200 (CEST) Received: from ext-subm003.mykolab.com (unknown [10.9.6.3]) by int-mx003.mykolab.com (Postfix) with ESMTPS id E76B532BA; Wed, 21 Jul 2021 03:01:40 +0200 (CEST) Date: Tue, 20 Jul 2021 22:00:42 -0300 Message-Id: <20210721010043.632012-8-bauermann@kolabnow.com> In-Reply-To: <20210721010043.632012-1-bauermann@kolabnow.com> References: <20210721010043.632012-1-bauermann@kolabnow.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Thiago Jung Bauermann X-ACL-Warn: , Thiago Jung Bauermann via Guix-patches From: Thiago Jung Bauermann via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1626829346; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=GOWuafueRWJ+4OPeoy+XimnxjOQxgX0NkcDZw2am1Qk=; b=PD6pUgErVB+9YZxzgqjQ8a0EOK0VWiSTF4WT/dzDjNDajd3U6CAXt4w5dLp0FuHAUgp4cq hakqAsBtIrmPBHoNn6fSalkV0Tfx8jPTTuw0DAakt1tNwoWgEf+TFBJ8iz9Fe75KBua5Lj 1/TwbtnEcBjR83uTkeND5eTr4qqSV07o8gQs3LaQL59m4LXeSlwuKrHF9RkM4Q6WG/RIC4 ngVWluxJ8QLW/CVYmwBOBUU6uKOa9I1L0gCOGVzXxeZu/inWYv/zyBikvpx2+Keig9+Fib uHbhmx6wH0d7JQoNqHghyoNHxnmo9IS/EtXEEf7XgxjzcryOe5gr5RJrImJt+A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626829346; a=rsa-sha256; cv=none; b=VC5BlKRp7C6GfWT0Mh1lWmWR0sgNPLfgvkMD9FfrxL2KJE2PIdowWJJuQ/0Cydk6EBUm0D Mvqlcub9pLDYK7dADYfOBA5BoTJQQqpyf44bY+xAK6hnJo1kMmkfuUtP5cN/7aSiVUr+Vz uxetI94mU1x9v4b10xnWUhqTq9SAU7a/VUT9zwx6/fSCqZRRmE9+nb5zh4NwtNKqv0YRb0 ZeuNBjcIKgL1NJsO3Bx/zjNwVzI3XXCeHMo6IQB46q97t05o5I8ruMaHkBJfUJ0MWJJwy/ ZhZ6VCsMNbPiBwQHWA5RmYSpqL7bCjt8XcMpaE+5BuswmtR5CXRQeOlPVy/l9Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=kolabnow.com header.s=dkim20160331 header.b=yG2GYdIr; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.92 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=kolabnow.com header.s=dkim20160331 header.b=yG2GYdIr; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 377FC150FE X-Spam-Score: -2.92 X-Migadu-Scanner: scn1.migadu.com X-TUID: 0n4i1tSx7Aw/ The default argument to ‘target-64bit?’ already is `(or (%current-target-system) (%current-system))`, so there’s no need to duplicate code. * gnu/packages/textutils.scm (ustr)[arguments]<#:phases>: Don’t pass default argument to ‘target-64bit?’. --- gnu/packages/textutils.scm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index c3f4580a47c7..0f23a166e7c0 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -331,8 +331,7 @@ input bits thoroughly but are not suitable for cryptography.") (lambda _ (substitute* "Makefile" (("\\./autoconf_64b") - ,(if (target-64bit? (or (%current-target-system) - (%current-system))) + ,(if (target-64bit?) "echo 1" "echo 0")) (("\\./autoconf_vsnprintf") "echo 0"))))