[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * Pod-Simple-Texinfo/pod2texi.pl: use / in genera
From: |
Patrice Dumas |
Subject: |
branch master updated: * Pod-Simple-Texinfo/pod2texi.pl: use / in generated Texinfo code @include. Report fom Eli and solution from Gavin. |
Date: |
Tue, 10 Dec 2024 13:40:55 -0500 |
This is an automated email from the git hooks/post-receive script.
pertusus pushed a commit to branch master
in repository texinfo.
The following commit(s) were added to refs/heads/master by this push:
new a57a611772 * Pod-Simple-Texinfo/pod2texi.pl: use / in generated
Texinfo code @include. Report fom Eli and solution from Gavin.
a57a611772 is described below
commit a57a611772ee75faf97291f89c1e769c659de98c
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Tue Dec 10 19:40:48 2024 +0100
* Pod-Simple-Texinfo/pod2texi.pl: use / in generated Texinfo code
@include. Report fom Eli and solution from Gavin.
---
ChangeLog | 5 +++++
Pod-Simple-Texinfo/pod2texi.pl | 6 ++++--
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index f901d3fbfc..014c78cd72 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-12-10 Patrice Dumas <pertusus@free.fr>
+
+ * Pod-Simple-Texinfo/pod2texi.pl: use / in generated Texinfo code
+ @include. Report fom Eli and solution from Gavin.
+
2024-12-10 Gavin Smith <gavinsmith0123@gmail.com>
* tp/tests/run_parser_all.sh (post_process_output):
diff --git a/Pod-Simple-Texinfo/pod2texi.pl b/Pod-Simple-Texinfo/pod2texi.pl
index 1ba60d6f8b..8fb7cf5b06 100755
--- a/Pod-Simple-Texinfo/pod2texi.pl
+++ b/Pod-Simple-Texinfo/pod2texi.pl
@@ -482,7 +482,8 @@ foreach my $file (@input_files) {
$outfile = $outfile_name;
}
if (defined($subdir)) {
- $incfile = File::Spec->catfile($subdir, $outfile_name);
+ # use / in generated Texinfo code to be as portable as possible
+ $incfile = "$subdir/$outfile_name";
} else {
$incfile = $outfile_name;
}
@@ -586,7 +587,8 @@ foreach my $file (@input_files) {
}
my $new_incfile;
if (defined($subdir)) {
- $new_incfile = File::Spec->catfile($subdir, $new_outfile_name);
+ # use / in generated Texinfo code to be as portable as possible
+ $new_incfile = "$subdir/$new_outfile_name";
} else {
$new_incfile = $new_outfile_name;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * Pod-Simple-Texinfo/pod2texi.pl: use / in generated Texinfo code @include. Report fom Eli and solution from Gavin.,
Patrice Dumas <=