[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * tp/Texinfo/XS/main/errors.c (message_list_line_
From: |
Gavin D. Smith |
Subject: |
branch master updated: * tp/Texinfo/XS/main/errors.c (message_list_line_error_internal): Use "%s" to print a string with fprintf in case the string contains conversion specifications. |
Date: |
Wed, 25 Oct 2023 06:38:22 -0400 |
This is an automated email from the git hooks/post-receive script.
gavin pushed a commit to branch master
in repository texinfo.
The following commit(s) were added to refs/heads/master by this push:
new 7f850f3cc1 * tp/Texinfo/XS/main/errors.c
(message_list_line_error_internal): Use "%s" to print a string with fprintf in
case the string contains conversion specifications.
7f850f3cc1 is described below
commit 7f850f3cc1ecfcdcf3b8602fb820099370c14332
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Wed Oct 25 11:38:14 2023 +0100
* tp/Texinfo/XS/main/errors.c (message_list_line_error_internal):
Use "%s" to print a string with fprintf in case the string contains
conversion specifications.
---
ChangeLog | 6 ++++++
tp/Texinfo/XS/main/errors.c | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index c02057f6cd..6d0c7fbce1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2023-10-25 Gavin Smith <gavinsmith0123@gmail.com>
+
+ * tp/Texinfo/XS/main/errors.c (message_list_line_error_internal):
+ Use "%s" to print a string with fprintf in case the string contains
+ conversion specifications.
+
2023-10-26 Patrice Dumas <pertusus@free.fr>
* tp/Texinfo/Common.pm (import, copy_treeNonXS, copy_contentsNonXS),
diff --git a/tp/Texinfo/XS/main/errors.c b/tp/Texinfo/XS/main/errors.c
index 72f8bd0f65..66b5e8bacf 100644
--- a/tp/Texinfo/XS/main/errors.c
+++ b/tp/Texinfo/XS/main/errors.c
@@ -136,7 +136,7 @@ message_list_line_error_internal (ERROR_MESSAGE_LIST
*error_messages,
error_message->error_line = error_line.text;
if (debug_output)
- fprintf (stderr, error_message->error_line);
+ fprintf (stderr, "%s", error_message->error_line);
}
static void
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * tp/Texinfo/XS/main/errors.c (message_list_line_error_internal): Use "%s" to print a string with fprintf in case the string contains conversion specifications.,
Gavin D. Smith <=
- Prev by Date:
branch master updated: * tp/Texinfo/Common.pm (import, copy_treeNonXS, copy_contentsNonXS), tp/Texinfo/Structuring.pm (import), tp/Texinfo/XS/structuring_transfo/StructuringTransfo.xs (copy_tree), tp/t/test_tree_copy.t: remove copy_tree from Structuring.pm. Override copy_tree in Common.pm. Let XS copy_tree build the tree and return the perl tree. Add NonXS variants for copy_tree and copy_contents for situations where the XS tree cannot be found or where we want to modify perl trees only. Update callers of co [...]
- Next by Date:
branch master updated: * tp/Texinfo/Config.pm (register_XS_document_main_configuration): rename Texinfo::Config set_document_main_configuration as register_XS_document_main_configuration. Update callers.
- Previous by thread:
branch master updated: * tp/Texinfo/Common.pm (import, copy_treeNonXS, copy_contentsNonXS), tp/Texinfo/Structuring.pm (import), tp/Texinfo/XS/structuring_transfo/StructuringTransfo.xs (copy_tree), tp/t/test_tree_copy.t: remove copy_tree from Structuring.pm. Override copy_tree in Common.pm. Let XS copy_tree build the tree and return the perl tree. Add NonXS variants for copy_tree and copy_contents for situations where the XS tree cannot be found or where we want to modify perl trees only. Update callers of co [...]
- Next by thread:
branch master updated: * tp/Texinfo/Config.pm (register_XS_document_main_configuration): rename Texinfo::Config set_document_main_configuration as register_XS_document_main_configuration. Update callers.
- Index(es):