From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id yIbgAhJEImf0vwAAe85BDQ:P1 (envelope-from ) for ; Wed, 30 Oct 2024 14:34:58 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id yIbgAhJEImf0vwAAe85BDQ (envelope-from ) for ; Wed, 30 Oct 2024 15:34:58 +0100 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=s6ozf8Vo; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=D4CWz5ud; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1730298897; h=from:from:sender:sender: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=6sNXNkmEFVwly2aaiNLBlrW0rSO2oPi1w7+RXs/UNs4=; b=SrO3NZ3rZyu447sq76z0fiffsqdRK1NqNQE5jCAwD4NZOvtxDC42IvjJ7PDBFvAwW97hEn chOQeNPTl0XriAhMzmYV97u60U/NjpuiRP0mf5hv6w3qDpztiHyMfqiv5x6NpFBHghhGOf YevYXpbXP6pb7/rqt4xoo9HeF0QSyoPbOyXEXy9Gcq75v29mEPCc1c0VPVeWHIGOG9OebM +9ETzcBCaoV4f3P+NDEN7IuauPi8/5CrhRw/Hq2AzBQpi31JJ3hdpe5T27q+jfl4PQds0i Vgg2/QULKb58+maHNRpQfJc2Jfe/l2ct0herrQceC5teZIwudbq20aPlAkyjwQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1730298897; a=rsa-sha256; cv=none; b=iCtDFxLnaU1PVDLuhbbz/UPSg1qzBJYdjeDKYKGphxzJTd0ZDREwrkIG2vlK55XCU7pzYR FKp6F7mScWhAVISVyFrWH1+HdrT+cQYvk3izcmKneMwZ5GZREuhVYvJwi0yH4WEq73XEGv cKTq9XqhS54um4H0umCsSrm8vlWKE4snpQF+XsP0CF2xP33Zz4T2kTrBaP7NbLXDaxS9CG IkGQjPgiwh9HFjBlGhAk2Mafz2TMFuKIkpEglA8cCWHW+xfAOc+rnzyxIqpfTOr3YGJPHU H/Ssv7wdJr3dPOr4u4lsG+4m6yNWR8kXT9xdOa3OIAJu0DHbcog8dmuzkcLfFg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=s6ozf8Vo; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=D4CWz5ud; 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"; dmarc=pass (policy=none) header.from=gnu.org 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 886858516F for ; Wed, 30 Oct 2024 15:34:57 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t69lz-0002EL-A7; Wed, 30 Oct 2024 10:34:11 -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 1t69lw-0002Db-LG for guix-patches@gnu.org; Wed, 30 Oct 2024 10:34:08 -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 1t69lw-0003dp-6x; Wed, 30 Oct 2024 10:34:08 -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=6sNXNkmEFVwly2aaiNLBlrW0rSO2oPi1w7+RXs/UNs4=; b=s6ozf8VoO8TkCPhZnl12Z2wcHaHKoUtbzkPtL3NU9PwRWnHyZWW3BIhCFO4fqnkIxYqDCYSkQmiY4r5nTAt7TpPRi5BW6CqzuKuh0zSp+sQl92TZN/5tMvhfSaFqSQFC7Bnve/8GlzHzwKMZ3fOKVELssP7Lg2FvGH9hmeC2s1HLbmJ0/mRmW7ocP0q997/EZaLRt66WW7vIEw13vm+E/L8X616o9oCEkLtFjumm6XPiCzHHMvK9AI3n2u7HQQV/Uzagu3+elRBuKpvqS3x5jMsny32d2H5gP/qzQC8mdVDX7Vr/lkIJt9pIfzrxwFi8zipsq1z18+RlrrKK2yYD3g==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t69lv-0003zE-RU; Wed, 30 Oct 2024 10:34:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73927] [PATCH v4 13/18] installer: Fix file-name typos. Resent-From: Janneke Nieuwenhuizen Original-Sender: "Debbugs-submit" Resent-CC: dev@jpoiret.xyz, ludo@gnu.org, othacehe@gnu.org, guix-patches@gnu.org Resent-Date: Wed, 30 Oct 2024 14:34: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 Cc: Josselin Poiret , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe X-Debbugs-Original-Xcc: Josselin Poiret , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe Received: via spool by 73927-submit@debbugs.gnu.org id=B73927.173029883515190 (code B ref 73927); Wed, 30 Oct 2024 14:34:07 +0000 Received: (at 73927) by debbugs.gnu.org; 30 Oct 2024 14:33:55 +0000 Received: from localhost ([127.0.0.1]:35340 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t69li-0003wq-1X for submit@debbugs.gnu.org; Wed, 30 Oct 2024 10:33:54 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48438) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t69lN-0003v8-Ij for 73927@debbugs.gnu.org; Wed, 30 Oct 2024 10:33:34 -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 1t69jC-0003MQ-KM; Wed, 30 Oct 2024 10:31:18 -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=6sNXNkmEFVwly2aaiNLBlrW0rSO2oPi1w7+RXs/UNs4=; b=D4CWz5udgYXR9Kxq8BbF q9n9MSowZlELo7SENCUDIIIth4KhPk9Cgtuoz6yKunWbf0L6i1jGfGFxuUrVn22mH58LiO5yQl3tE YABhxlQWCc7Wbp7aEC2QD2hPXjnHaPcMAFjakR81B7Qj275ySH+Vyu7mnxM2iof0goPmuSKJgmCXW igw44TozjQSnQwITltrmUnkZQFONj1tlj/4uX52Ux/fAR9mBWJWphIJVqw78chpqLk3419XtgtrjE RCoF0uwWhtdaI0B/xCETonDFYcIApuBYAFmtQto285XnpMAVAN7hc8cTr+YNal8q431tpwhsdFtSr HNCmbFOnv1UVRg==; From: Janneke Nieuwenhuizen Date: Wed, 30 Oct 2024 15:30:42 +0100 Message-ID: <1cdb030e76a58fee4a141f298aa51554f30ca3cb.1730296564.git.janneke@gnu.org> X-Mailer: git-send-email 2.46.0 In-Reply-To: References: 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -2.40 X-Spam-Score: -2.40 X-Migadu-Queue-Id: 886858516F X-Migadu-Scanner: mx13.migadu.com X-TUID: A9gV5ix76buH * 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* (run-dump-page base-dir file-choices) ('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)) -- Janneke Nieuwenhuizen | GNU LilyPond https://LilyPond.org Freelance IT https://www.JoyOfSource.com | Avatar® https://AvatarAcademy.com