groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 17/21: [gropdf]: Tweak diagnostic message format.


From: G. Branden Robinson
Subject: [groff] 17/21: [gropdf]: Tweak diagnostic message format.
Date: Fri, 18 Nov 2022 13:47:54 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit 117152f87c58b861563eab3aadccf2170f93ead7
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Fri Nov 18 11:07:50 2022 -0600

    [gropdf]: Tweak diagnostic message format.
    
    * src/devices/gropdf/gropdf.pl (Msg): Align more closely with diagnostic
      message format prescribed by GNU Coding Standards: emit space (only)
      prior to message severity.
---
 ChangeLog                    | 6 ++++++
 src/devices/gropdf/gropdf.pl | 3 ++-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 997565b42..d45fb10f0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2022-11-18  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * src/devices/gropdf/gropdf.pl (Msg): Align more closely with
+       diagnostic message format prescribed by GNU Coding Standards:
+       emit space (only) prior to message severity.
+
 2022-11-17  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        * doc/meref.me.in: Drop unnecessary initialization parameters
diff --git a/src/devices/gropdf/gropdf.pl b/src/devices/gropdf/gropdf.pl
index a2b34c8fd..c2745fb17 100644
--- a/src/devices/gropdf/gropdf.pl
+++ b/src/devices/gropdf/gropdf.pl
@@ -2289,7 +2289,8 @@ sub Msg
     my ($fatal,$msg)=@_;
 
     print STDERR "$prog:";
-    print STDERR "$env{SourceFile}: " if exists($env{SourceFile});
+    print STDERR "$env{SourceFile}:" if exists($env{SourceFile});
+    print STDERR " ";
 
     if ($fatal)
     {



reply via email to

[Prev in Thread] Current Thread [Next in Thread]