gbranden pushed a commit to branch master
in repository groff.

commit 9aac02a7c38ed00341ae9e8044bbca1b3e6f195e
Author: G. Branden Robinson <g.branden.robin...@gmail.com>
AuthorDate: Fri Jul 4 09:10:49 2025 -0500

    [gropdf]: Skip blank lines in "download" file.
    
    * src/devices/gropdf/gropdf.pl (LoadDownload): Skip lines that consist
      only of whitespace.
    
    Continues fixing Savannah #67268.
---
 ChangeLog                    | 7 +++++++
 src/devices/gropdf/gropdf.pl | 1 +
 2 files changed, 8 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index af7784b6f..339a7d42d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2025-07-04  G. Branden Robinson <g.branden.robin...@gmail.com>
+
+       * src/devices/gropdf/gropdf.pl (LoadDownload): Skip lines that
+       consist only of whitespace.
+
+       Continues fixing Savannah #67268.
+
 2025-07-04  G. Branden Robinson <g.branden.robin...@gmail.com>
 
        [doc]: Use new gropdf `-W` option.
diff --git a/src/devices/gropdf/gropdf.pl b/src/devices/gropdf/gropdf.pl
index 2a7066a53..379c3df69 100644
--- a/src/devices/gropdf/gropdf.pl
+++ b/src/devices/gropdf/gropdf.pl
@@ -1183,6 +1183,7 @@ sub LoadDownload
        {
            chomp;
            s/#.*$//;
+           s/\s+$//;
            next if $_ eq '';
            my ($foundry,$name,$file)=split(/\t+/);
            if (substr($file,0,1) eq '*')

_______________________________________________
groff-commit mailing list
groff-commit@gnu.org
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to