gbranden pushed a commit to branch master
in repository groff.
commit 88ba959382b7a9ce6f462331440dbc411f3c3dad
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sun Dec 21 16:18:11 2025 -0600
[preconv]: Tweak diagnostic wording.
* src/preproc/preconv/preconv.cpp (do_file): Say "non-portable" instead
of "unportable" in diagnostic message. Prompted by a similar change
to the tzdata project by Paul Eggert.
---
ChangeLog | 6 ++++++
src/preproc/preconv/preconv.cpp | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 7713b3969..861844f5d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2025-12-21 G. Branden Robinson <[email protected]>
+
+ * src/preproc/preconv/preconv.cpp (do_file): Say "non-portable"
+ instead of "unportable" in diagnostic message. Prompted by a
+ similar change to the tzdata project by Paul Eggert.
+
2025-12-21 G. Branden Robinson <[email protected]>
* doc/groff.texi.in (Delimiters):
diff --git a/src/preproc/preconv/preconv.cpp b/src/preproc/preconv/preconv.cpp
index 4aa42be2b..92a41131a 100644
--- a/src/preproc/preconv/preconv.cpp
+++ b/src/preproc/preconv/preconv.cpp
@@ -1194,7 +1194,7 @@ do_file(const char *filename)
// Translate from MIME/Emacs encoding names to locale encoding names.
encoding = emacs2mime(encoding_string);
if (encoding[0] == '\0') {
- error("unportable encoding '%1' not supported", encoding_string);
+ error("non-portable encoding '%1' not supported", encoding_string);
return false;
}
if (is_debugging)
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit