[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 01/01: [BuildFoundries]: Fails if neither ghostcript nor URW fon
From: |
Deri James |
Subject: |
[groff] 01/01: [BuildFoundries]: Fails if neither ghostcript nor URW fonts are installed. |
Date: |
Sat, 11 Feb 2023 08:04:19 -0500 (EST) |
deri pushed a commit to branch master
in repository groff.
commit 398ab1c7722724586f97e3a7ca20714e1d465452
Author: Deri James <deri@chuzzlewit.myzen.co.uk>
AuthorDate: Sat Feb 11 13:01:34 2023 +0000
[BuildFoundries]: Fails if neither ghostcript nor
URW fonts are installed.
* font/devpdf/util/BuildFoundries.pl: When the change to hold paths
in an array, rather than a delimited string (see commit
4ae4aeb6555f4f16c28fcb03eb1f56577826054c), the FindGSpath
subroutine should return a pointer to an empty array when the
call to ghostscript fails, rather than return an empty string,
as was done previously.
See <https://lists.gnu.org/archive/html/groff/2023-02/msg00042.html>
thanks to Bruno Haible for the report.
---
ChangeLog | 15 +++++++++++++++
font/devpdf/util/BuildFoundries.pl | 2 +-
2 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 81dc74049..c48799f7e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,18 @@
+2023-02-11 Deri James <deri@chuzzlewit.myzen.co.uk>
+
+ [BuildFoundries]: Fails if neither ghostcript nor URW fonts
+ are installed.
+
+ * font/devpdf/util/BuildFoundries.pl: When the change to hold paths
+ in an array, rather than a delimited string (see commit
+ 4ae4aeb6555f4f16c28fcb03eb1f56577826054c), the FindGSpath
+ subroutine should return a pointer to an empty array when the
+ call to ghostscript fails, rather than return an empty string,
+ as was done previously.
+
+ See <https://lists.gnu.org/archive/html/groff/2023-02/msg00042.html>
+ thanks to Bruno Haible for the report.
+
2023-02-09 G. Branden Robinson <g.branden.robinson@gmail.com>
Switch to using system's assert.h header file. It is futile to
diff --git a/font/devpdf/util/BuildFoundries.pl
b/font/devpdf/util/BuildFoundries.pl
index 1e7c416cb..b22925a89 100644
--- a/font/devpdf/util/BuildFoundries.pl
+++ b/font/devpdf/util/BuildFoundries.pl
@@ -332,7 +332,7 @@ sub LocateFile
sub FindGSpath
{
my (@res)=`@GROFF_GHOSTSCRIPT_INTERPRETERS@ -h 2>/dev/null`;
- return '' if $?;
+ return [] if $?;
my $buildpath=[];
my $stg=1;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 01/01: [BuildFoundries]: Fails if neither ghostcript nor URW fonts are installed.,
Deri James <=