[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * tp/Texinfo/XS/parsetexi/input.c (next_text): In
From: |
Gavin D. Smith |
Subject: |
branch master updated: * tp/Texinfo/XS/parsetexi/input.c (next_text): Initialise argument to getline to 0, as per documentation. Attempt to fix crash under MinGW, reported by Eli. |
Date: |
Sun, 08 Oct 2023 07:57:40 -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 95f6d3516a * tp/Texinfo/XS/parsetexi/input.c (next_text): Initialise
argument to getline to 0, as per documentation. Attempt to fix crash under
MinGW, reported by Eli.
95f6d3516a is described below
commit 95f6d3516ae9ef9b46f82821d7a214dcf6164eec
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sun Oct 8 12:57:32 2023 +0100
* tp/Texinfo/XS/parsetexi/input.c (next_text):
Initialise argument to getline to 0, as per documentation.
Attempt to fix crash under MinGW, reported by Eli.
---
ChangeLog | 6 ++++++
tp/Texinfo/XS/parsetexi/input.c | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index b0bd8f39bc..944dbc9f4d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2023-10-08 Gavin Smith <gavinsmith0123@gmail.com>
+
+ * tp/Texinfo/XS/parsetexi/input.c (next_text):
+ Initialise argument to getline to 0, as per documentation.
+ Attempt to fix crash under MinGW, reported by Eli.
+
2023-10-07 Gavin Smith <gavinsmith0123@gmail.com>
* tp/Texinfo/XS/xspara.c (xspara__print_escaped_spaces):
diff --git a/tp/Texinfo/XS/parsetexi/input.c b/tp/Texinfo/XS/parsetexi/input.c
index ca38118e79..56654decbb 100644
--- a/tp/Texinfo/XS/parsetexi/input.c
+++ b/tp/Texinfo/XS/parsetexi/input.c
@@ -395,7 +395,7 @@ next_text (ELEMENT *current)
{
ssize_t status;
char *line = 0;
- size_t n;
+ size_t n = 0;
FILE *input_file;
if (input_pushback_string)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * tp/Texinfo/XS/parsetexi/input.c (next_text): Initialise argument to getline to 0, as per documentation. Attempt to fix crash under MinGW, reported by Eli.,
Gavin D. Smith <=