From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id qIA5Bx1oG2e8YQAA62LTzQ:P1 (envelope-from ) for ; Fri, 25 Oct 2024 09:42:53 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id qIA5Bx1oG2e8YQAA62LTzQ (envelope-from ) for ; Fri, 25 Oct 2024 11:42:53 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=MXiUS3HU; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=blsgfiQ3; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1729849372; a=rsa-sha256; cv=none; b=coJOTm+Z04NdkpF+ARVJg8ivA3yww3N81TlnMsmBp3c8TGwb01aiz7ykYeRIzDzicl7YcC z8ZClyFgYj+ipUoPaIEXyHGtrceR7+4MlDnvHLlfIBWeiuxfzue6TUiCQYUTw1zhxdJNUx LtOHpV3RjyaixpsDc2Bx+iv0rSzDq9mrU/rh7ymSCwUK/x/6rcjm+cP7twlDjgxm+mLv2W AtTlR/wZHsPb9nccm5QZESc8Xi+p12ijPeZGHLOTUM8BF8qmHOY60kh9WyU0xr2SSGp8bV zWRUOqG+cIkPl0B1tEAvCmFfwGRLmrp37iFGPwDgAmVt5b8pyHlfESweF8qFOw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=MXiUS3HU; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=blsgfiQ3; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1729849372; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=4OqNMgdUyx1UY5gvXxuwcZpY9gYVyyCNT8jhESXeCe0=; b=nC5b6b5FchsivsZeKtMQWh5xid/KMHQDZbQUVuGvc2rDrOPvTm+zmvg8cJxQCQqGf1BqlH BJ4vUjxKi7MXOpWFoj+dm+/BL7lV2SkZJq7EqRolS4pKW7PPX+BoD3x/2wKciYMV0GASvR dCxpv/3plbhp+Rte1K01QfyT5+hpQsRqY1T05yaFTyeRgVv1CKyUdLGMShh9y8ojzo98dH KA7r1rZ1hHFdVlaL4ZoOD/tzJX51Q6aadqP/B7JN8BYciV1NQwrtMv1hG3OBiXNFv47Hph YE1cS3iO8tFWxNtCvADNJSK78iPw/WSWhFxMufqFfvYRqNHU82QMVqVtaaYOcQ== 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 D881F85434 for ; Fri, 25 Oct 2024 11:42:52 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t4GpB-0002Vt-PA; Fri, 25 Oct 2024 05:41:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t4Gp6-0002R9-66 for guix-patches@gnu.org; Fri, 25 Oct 2024 05:41:36 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t4Gp5-0003tx-TB for guix-patches@gnu.org; Fri, 25 Oct 2024 05:41:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=4OqNMgdUyx1UY5gvXxuwcZpY9gYVyyCNT8jhESXeCe0=; b=MXiUS3HUg2jjrML3NYOUJ2eru4b3scZOaO9AiTc+MZ9d72lj/EVvkRKtDcfEghM9yVSOUgPnlq+KpMmFowIBnYwm7STDfgfAeuIP53KIhyHTePgfyOjP2bdQH6YdYHEUx9FOierBO/Ka2kNPzoypN+8yr9o92Zt56uTv+YMmgqgstl1kptmSNNcCWzXPVPAUnp6G9rR9DEFBdanSN+7HCllcGgF5NAWtlMZsPUF/RMBpq+1VLkVKpyfzx88WlGr0UADosNvruaQ5IGmNy3HRfHUtk3poGW5dwQlsbk+KQa5I6wh63jz+sH6wVv0B7/0SPIR1LXL2oXk0sad/C4YgSg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t4Gpb-000270-Kd for guix-patches@gnu.org; Fri, 25 Oct 2024 05:42:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73927] [PATCH v3 12/17] installer: Fix file-name typos. Resent-From: Janneke Nieuwenhuizen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 25 Oct 2024 09:42:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73927 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73927@debbugs.gnu.org Received: via spool by 73927-submit@debbugs.gnu.org id=B73927.17298492897938 (code B ref 73927); Fri, 25 Oct 2024 09:42:07 +0000 Received: (at 73927) by debbugs.gnu.org; 25 Oct 2024 09:41:29 +0000 Received: from localhost ([127.0.0.1]:37339 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t4Goz-00023s-2G for submit@debbugs.gnu.org; Fri, 25 Oct 2024 05:41:29 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36448) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t4Gop-00021W-Nl for 73927@debbugs.gnu.org; Fri, 25 Oct 2024 05:41:20 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t4GoE-0003oY-KY; Fri, 25 Oct 2024 05:40:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=4OqNMgdUyx1UY5gvXxuwcZpY9gYVyyCNT8jhESXeCe0=; b=blsgfiQ3KoclBtkMx/xW Ax8dvwLWVgdQ7c26v7fzS1wGABkjD43E7vQUEPwPDVg7MCN9v8O+2Oavfbs5DSleqAvQOG6SSy6V5 Df0tPhf44fP2yd35vSeXgvES2pToR43t4KgaWz+i53RvTmfZhlt1yyyiovxYQqbuZ06HpMjwbM2iV 8yd6k4pio0Cne42soOMmEToODppIqobkOX4deAOG/4h+NJk0FrNohGrXOHFugYFjAz3+ka2R5RWAj ZfY6rGTnQ2ejRRBNLcvEMTSd4q4onbuoxuHhrWzrIIdom64R3dwExqOrBdwDCu7m/eTx8V6D8yihj ElQ3Y0FuW789gQ==; From: Janneke Nieuwenhuizen Date: Fri, 25 Oct 2024 11:40:04 +0200 Message-ID: <20241025094011.8540-13-janneke@gnu.org> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241025094011.8540-1-janneke@gnu.org> References: <20241025094011.8540-1-janneke@gnu.org> 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.72 X-Spam-Score: -2.72 X-Migadu-Queue-Id: D881F85434 X-Migadu-Scanner: mx10.migadu.com X-TUID: goha0ibqaVQU * gnu/installer/newt/page.scm (run-dump-page): Typo file-name. * gnu/installer/utils.scm (open-new-log-port): Likewise. Change-Id: I837991a0ee5054b3afa8328205e23ac6f9fbae8d --- gnu/installer/newt/page.scm | 7 ++++--- gnu/installer/utils.scm | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/gnu/installer/newt/page.scm b/gnu/installer/newt/page.scm index e1623a51fd..64a2916826 100644 --- a/gnu/installer/newt/page.scm +++ b/gnu/installer/newt/page.scm @@ -2,6 +2,7 @@ ;;; Copyright © 2018 Mathieu Othacehe ;;; Copyright © 2019, 2020, 2022 Ludovic Courtès ;;; Copyright © 2019 Tobias Geerinckx-Rice +;;; Copyright © 2024 Janneke Nieuwenhuizen ;;; ;;; This file is part of GNU Guix. ;;; @@ -950,10 +951,10 @@ (define prompt-tag (make-prompt-tag)) ('exit-component (let ((result (map (match-lambda - ((edit checkbox filename) + ((edit checkbox file-name) (if (components=? edit argument) - (abort-to-prompt prompt-tag filename) - (cons filename (eq? #\x + (abort-to-prompt prompt-tag file-name) + (cons file-name (eq? #\x (checkbox-value checkbox)))))) components))) (destroy-form-and-pop form) diff --git a/gnu/installer/utils.scm b/gnu/installer/utils.scm index 6838410166..c722e9af8f 100644 --- a/gnu/installer/utils.scm +++ b/gnu/installer/utils.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2018, 2020 Mathieu Othacehe ;;; Copyright © 2019, 2020, 2022 Ludovic Courtès +;;; Copyright © 2024 Janneke Nieuwenhuizen ;;; ;;; This file is part of GNU Guix. ;;; @@ -283,11 +284,11 @@ (define-syntax syslog (define (open-new-log-port) (define now (localtime (time-second (current-time)))) - (define filename + (define file-name (format #f "/tmp/installer.~a.log" (strftime "%F.%T" now))) - (open filename (logior O_RDWR - O_CREAT))) + (open file-name (logior O_RDWR + O_CREAT))) (define installer-log-port (let ((port #f)) -- 2.46.0