From unknown Fri Jun 13 06:12:51 2025 X-Loop: help-debbugs@gnu.org Subject: bug#69857: ports.c, "scm-set-current-output-port" vs "set-current-output-port" Resent-From: Matt Wette Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Sun, 17 Mar 2024 14:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69857 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: 69857@debbugs.gnu.org X-Debbugs-Original-To: bug-guile@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17106853224329 (code B ref -1); Sun, 17 Mar 2024 14:23:01 +0000 Received: (at submit) by debbugs.gnu.org; 17 Mar 2024 14:22:02 +0000 Received: from localhost ([127.0.0.1]:58599 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rlrOk-00017Z-6i for submit@debbugs.gnu.org; Sun, 17 Mar 2024 10:22:02 -0400 Received: from lists.gnu.org ([209.51.188.17]:41230) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rlrOi-00017L-1e for submit@debbugs.gnu.org; Sun, 17 Mar 2024 10:22:00 -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 1rlrO6-0004H3-5C for bug-guile@gnu.org; Sun, 17 Mar 2024 10:21:22 -0400 Received: from mail-pg1-x52f.google.com ([2607:f8b0:4864:20::52f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rlrO4-0007qV-Q9 for bug-guile@gnu.org; Sun, 17 Mar 2024 10:21:21 -0400 Received: by mail-pg1-x52f.google.com with SMTP id 41be03b00d2f7-5ce2aada130so2876505a12.1 for ; Sun, 17 Mar 2024 07:21:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710685278; x=1711290078; darn=gnu.org; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=ECXTFmndJtS+JfvJpIf+XR2re0gpICSlZWdHzrlQcik=; b=kv0VL1ErwVFol5wETvJ8m0fLNGQed2pBJ0DZKtH3L66YjoogkqIjGNpdeJJy6ff21M GaApgptY/QPyenRWq8sO0upCaAOIuAltn8rJiyF4+y9PsXoRcz1fRwqY7bdnNn7BskbX bPeh6NwxQ9gjtF0tM9A8jLBVQYxrA0V2vjsN6taTsZVJXX0B4BBVBwJy1v+QxfpODexK Q86046WVaLOIi3nZSYVoC4BBizW9uIWk9afwbdzyTWfp/oZxWbBAMcujwHQ7caAnkPur l1I3OMYAFLSbfyy+Rv4nrmnx1ubXIybLZv/yfbEigGBvSjlSPDp3Lh6QWCiK1y6x+1Iw ysLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710685278; x=1711290078; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=ECXTFmndJtS+JfvJpIf+XR2re0gpICSlZWdHzrlQcik=; b=IBdMiDGA4fKgR8AZ1QHYbg9g9hp9PByfE6Y8l0phY1UEcsmjxHbt1CSIlvbWx1z4cz LHRPO4Hnv242HyZ4K+hRDGtVVF8VwAoz3jv1Yuv+IFCMeURXKoK5nrQoYbM4Nhoftpg5 uuVOM6ulLa3jidw021NVVyt09QcL8QJP3R7pFXgQ7YRuD/yklz/QuVZIlN+6kNmffVXZ T/idJ9c/XZ3m3nCfaYhwafz/UKeMGrJlBgUwPHIJkT89VsORzHEnR7l3u6/Kxvv4ucYX Iqh6FxAmQuHRYG2shqm7zhIRrqeuozesQc7UNeCfpHeKxqbLHQfsvmrd4UbeQ+VGnwlc q4yw== X-Gm-Message-State: AOJu0YzZG/lR6hf7dGRLEA6wthPn2PUdhj1KrnBWRJrSO8B/setdE+XG 6wBJ2K8NnUc7bGcVL+eilgvYEIpc5Ich2Px+WniI63EM+Czv8V0YlNNDeT5S X-Google-Smtp-Source: AGHT+IFXeZcCl9JpRX8pdgy5XTddH4hlzoA7TS0XgjHlBwyqHMmGWNRtpL29j+R1o6zvfEaS9K/Wfg== X-Received: by 2002:a17:902:f548:b0:1de:fe74:af6b with SMTP id h8-20020a170902f54800b001defe74af6bmr5070813plf.46.1710685278267; Sun, 17 Mar 2024 07:21:18 -0700 (PDT) Received: from [192.168.2.154] (64-52-138-37.championbroadband.com. [64.52.138.37]) by smtp.gmail.com with ESMTPSA id p9-20020a1709027ec900b001db9c3d6506sm7438010plb.209.2024.03.17.07.21.17 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 17 Mar 2024 07:21:17 -0700 (PDT) Message-ID: Date: Sun, 17 Mar 2024 07:21:16 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US From: Matt Wette Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::52f; envelope-from=matt.wette@gmail.com; helo=mail-pg1-x52f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) In guile-3.0.9, in ports.c I believe scheme name for setting the error output is inappropriately named "scm-set-current-output-port".   It does not show in guile because set-current-output-port is defined using the parameter current-output-port. SCM scm_set_current_input_port (SCM port) #define FUNC_NAME "set-current-input-port" {   ... } #undef FUNC_NAME SCM scm_set_current_output_port (SCM port) #define FUNC_NAME "scm-set-current-output-port" {   ... } #undef FUNC_NAME