[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 25/27: src/utils/afmtodit/afmtodit.pl: Migrate diag msgs.
From: |
G. Branden Robinson |
Subject: |
[groff] 25/27: src/utils/afmtodit/afmtodit.pl: Migrate diag msgs. |
Date: |
Thu, 2 Jan 2025 01:22:23 -0500 (EST) |
gbranden pushed a commit to branch master
in repository groff.
commit 1273988aff9cf5929650c7d60f13356cda268cd7
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Wed Jan 1 23:28:52 2025 -0600
src/utils/afmtodit/afmtodit.pl: Migrate diag msgs.
...to newly developing wording convention.
See <https://savannah.gnu.org/bugs/?66519>.
---
ChangeLog | 9 ++++++++-
src/utils/afmtodit/afmtodit.pl | 10 +++++-----
2 files changed, 13 insertions(+), 6 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index e1880ad8f..20f6186fd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2025-01-01 G. Branden Robinson <g.branden.robinson@gmail.com>
+
+ * src/utils/afmtodit/afmtodit.pl: Migrate diagnostics to newly
+ developing wording convention.
+
+ See <https://savannah.gnu.org/bugs/?66519>.
+
2024-12-26 G. Branden Robinson <g.branden.robinson@gmail.com>
* m4/groff.m4 (GROFF_MAKE_DEFINES_RM): Quote name of "make"
@@ -13433,7 +13440,7 @@
________________________________________________________________________
##### License
-Copyright 2023-2024 Free Software Foundation, Inc.
+Copyright 2023-2025 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
diff --git a/src/utils/afmtodit/afmtodit.pl b/src/utils/afmtodit/afmtodit.pl
index d71a6fa11..815c5f8f2 100644
--- a/src/utils/afmtodit/afmtodit.pl
+++ b/src/utils/afmtodit/afmtodit.pl
@@ -121,7 +121,7 @@ my (@encoding, %in_encoding);
my (%width, %height, %depth);
my (%left_side_bearing, %right_side_bearing);
-open(AFM, $afm) || &croak("unable to open '$ARGV[0]': $!");
+open(AFM, $afm) || &croak("cannot open '$ARGV[0]': $!");
while (<AFM>) {
chomp;
@@ -235,7 +235,7 @@ my ($sizescale, $resolution, $unitwidth);
$sizescale = 1;
open(DESC, $desc) || open(DESC, $sys_desc) ||
- &croak("unable to open '$desc' or '$sys_desc': $!");
+ &croak("cannot open '$desc' nor '$sys_desc': $!");
while (<DESC>) {
next if /^#/;
chop;
@@ -259,7 +259,7 @@ if ($opt_e) {
my $sys_opt_e = $groff_sys_fontdir . "/devps/" . $opt_e;
open(ENCODING, $opt_e) || open(ENCODING, $sys_opt_e) ||
- &croak("unable to open '$opt_e' or '$sys_opt_e': $!");
+ &croak("cannot open '$opt_e' nor '$sys_opt_e': $!");
while (<ENCODING>) {
next if /^#/;
chop;
@@ -280,7 +280,7 @@ if ($opt_e) {
my (%nmap, %map);
open(MAP, $map) || open(MAP, $sys_map) ||
- &croak("unable to open '$map' or '$sys_map': $!");
+ &croak("cannot open '$map' nor '$sys_map': $!");
while (<MAP>) {
next if /^#/;
chop;
@@ -474,7 +474,7 @@ foreach my $lig (sort keys %default_ligatures) {
# print it all out
open(FONT, ">$outfile") ||
- &croak("unable to open '$outfile' for writing: $!");
+ &croak("cannot open '$outfile' for writing: $!");
select(FONT);
my @options;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 25/27: src/utils/afmtodit/afmtodit.pl: Migrate diag msgs.,
G. Branden Robinson <=