This patch removes some misleading text from the xsetenv module
description.

I noticed that xsetenv calls the following:

    error (EXIT_FAILURE, 0, _("memory exhausted"));

Is there a reason we don't just use xalloc_die here? Or can we change it
to simplify things a bit?

Collin

>From 6f5df54ef32d984416b24c374ca7c9f64f2411d6 Mon Sep 17 00:00:00 2001
Message-ID: <6f5df54ef32d984416b24c374ca7c9f64f2411d6.1759085619.git.collin.fu...@gmail.com>
From: Collin Funk <collin.fu...@gmail.com>
Date: Sun, 28 Sep 2025 11:51:48 -0700
Subject: [PATCH] xsetenv: Remove unnecessary text from module description.

* modules/xsetenv (Description): Remove mention of the unsetenv function
which is not provided by this module.
---
 ChangeLog       | 6 ++++++
 modules/xsetenv | 1 -
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index d65580e1d9..a7cd043396 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2025-09-28  Collin Funk  <collin.fu...@gmail.com>
+
+	xsetenv: Remove unnecessary text from module description.
+	* modules/xsetenv (Description): Remove mention of the unsetenv function
+	which is not provided by this module.
+
 2025-09-24  Bruno Haible  <br...@clisp.org>
 
 	Update to Unicode 17.0.0.
diff --git a/modules/xsetenv b/modules/xsetenv
index 3e3c8267b9..161b0b68f1 100644
--- a/modules/xsetenv
+++ b/modules/xsetenv
@@ -1,6 +1,5 @@
 Description:
 xsetenv() function: set an environment variable, with out-of-memory checking.
-unsetenv() function: remove an environment variable.
 
 Files:
 lib/xsetenv.h
-- 
2.51.0

Reply via email to