texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: * tp/Texinfo/XS/main/utils.c (canonpath): fix wro


From: Patrice Dumas
Subject: branch master updated: * tp/Texinfo/XS/main/utils.c (canonpath): fix wrong dereferencing.
Date: Sat, 18 Jan 2025 16:23:35 -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 b2cb3269f2 * tp/Texinfo/XS/main/utils.c (canonpath): fix wrong 
dereferencing.
b2cb3269f2 is described below

commit b2cb3269f27c4e277a5edf744b6c2fc925eeffc0
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sat Jan 18 22:23:43 2025 +0100

    * tp/Texinfo/XS/main/utils.c (canonpath): fix wrong dereferencing.
---
 ChangeLog                  | 4 ++++
 tp/Texinfo/XS/main/utils.c | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 3f16bb64f0..9e3695be86 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2025-01-18  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/Texinfo/XS/main/utils.c (canonpath): fix wrong dereferencing.
+
 2025-01-18  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Texinfo/XS/convert/convert_html.c (do_jslicenses_file): use
diff --git a/tp/Texinfo/XS/main/utils.c b/tp/Texinfo/XS/main/utils.c
index 7223b688ff..f3597b6782 100644
--- a/tp/Texinfo/XS/main/utils.c
+++ b/tp/Texinfo/XS/main/utils.c
@@ -858,7 +858,7 @@ canonpath (const char *input_file)
           /* omit a / at the end of the path */
           if (!*p)
             return (result.text);
-          text_append_n (&result, *q, 1);
+          text_append_n (&result, q, 1);
           q = strpbrk (p, FILE_SLASH);
           if (q)
             {



reply via email to

[Prev in Thread] Current Thread [Next in Thread]