[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * tp/Texinfo/XS/convert/convert_html.c (html_do_j
From: |
Patrice Dumas |
Subject: |
branch master updated: * tp/Texinfo/XS/convert/convert_html.c (html_do_js_files): set to_file_name independently of COMMAND_LINE_ENCODING. |
Date: |
Thu, 14 Nov 2024 15:59:30 -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 b6760b8f25 * tp/Texinfo/XS/convert/convert_html.c (html_do_js_files):
set to_file_name independently of COMMAND_LINE_ENCODING.
b6760b8f25 is described below
commit b6760b8f25ce819d2173e7a1cc2ef26caa55e29e
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Thu Nov 14 21:59:26 2024 +0100
* tp/Texinfo/XS/convert/convert_html.c (html_do_js_files): set
to_file_name independently of COMMAND_LINE_ENCODING.
---
ChangeLog | 5 +++++
tp/Texinfo/XS/convert/convert_html.c | 5 ++---
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 737396b162..9d86b53077 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-11-14 Patrice Dumas <pertusus@free.fr>
+
+ * tp/Texinfo/XS/convert/convert_html.c (html_do_js_files): set
+ to_file_name independently of COMMAND_LINE_ENCODING.
+
2024-11-14 Patrice Dumas <pertusus@free.fr>
* tp/Texinfo/XS/Makefile.am (noinst_LTLIBRARIES)
diff --git a/tp/Texinfo/XS/convert/convert_html.c
b/tp/Texinfo/XS/convert/convert_html.c
index b8ec121def..d08954543e 100644
--- a/tp/Texinfo/XS/convert/convert_html.c
+++ b/tp/Texinfo/XS/convert/convert_html.c
@@ -2541,6 +2541,8 @@ html_do_js_files (CONVERTER *self)
xasprintf (&from, "%s/%s", jssrcdir, js_files[i]);
xasprintf (&to, "%s/%s", encoded_jsdir, js_files[i]);
+ xasprintf (&to_file_name, "%s/%s", jsdir, js_files[i]);
+
const char *encoding
= self->conf->COMMAND_LINE_ENCODING.o.string;
if (encoding)
@@ -2551,14 +2553,11 @@ html_do_js_files (CONVERTER *self)
encoding, &status, 0);
xasprintf (&from_file_name,
"%s/%s", decoded_jssrcdir, js_files[i]);
- xasprintf (&to_file_name,
- "%s/%s", jsdir, js_files[i]);
free (decoded_jssrcdir);
}
else
{
from_file_name = strdup (from);
- to_file_name = strdup (to);
}
copy_file_to (self, from, to, from_file_name, to_file_name);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * tp/Texinfo/XS/convert/convert_html.c (html_do_js_files): set to_file_name independently of COMMAND_LINE_ENCODING.,
Patrice Dumas <=
- Prev by Date:
branch master updated: * tp/Texinfo/XS/Makefile.am (noinst_LTLIBRARIES) (XSParagraph_la_SOURCES, libxsparagraph_la_*, XSParagraph_la_CPPFLAGS) (XSParagraph_la_LIBADD), tp/Texinfo/XS/XSParagraph.xs: add libxsparagraph.la, a convenience library for XSParagraph with the C code that does not requires Perl and requires Gnulib, to be able to pass different flags than for XSParagraph.la. Do not include config.h anymore in XSParagraph.xs as there is no need for Gnulib nor autoconf defines in this file.
- Next by Date:
branch master updated: Escape non-ASCII bytes in reference test results
- Previous by thread:
branch master updated: * tp/Texinfo/XS/Makefile.am (noinst_LTLIBRARIES) (XSParagraph_la_SOURCES, libxsparagraph_la_*, XSParagraph_la_CPPFLAGS) (XSParagraph_la_LIBADD), tp/Texinfo/XS/XSParagraph.xs: add libxsparagraph.la, a convenience library for XSParagraph with the C code that does not requires Perl and requires Gnulib, to be able to pass different flags than for XSParagraph.la. Do not include config.h anymore in XSParagraph.xs as there is no need for Gnulib nor autoconf defines in this file.
- Next by thread:
branch master updated: Escape non-ASCII bytes in reference test results
- Index(es):