texinfo-commits
[Top][All Lists]
Advanced

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

texinfo update (Mon Mar 13 19:52:01 EST 2006)


From: Karl Berry
Subject: texinfo update (Mon Mar 13 19:52:01 EST 2006)
Date: Mon, 13 Mar 2006 19:52:06 -0500

Index: ChangeLog
===================================================================
RCS file: /sources/texinfo/texinfo/ChangeLog,v
retrieving revision 1.576
retrieving revision 1.577
diff -u -r1.576 -r1.577
--- ChangeLog   13 Mar 2006 16:47:33 -0000      1.576
+++ ChangeLog   14 Mar 2006 00:29:07 -0000      1.577
@@ -1,3 +1,10 @@
+2006-03-13  Miloslav Trmac  <address@hidden>  (tiny changes)
+
+        * info/Makefile.am (infokey_LDADD): don't link with curses.
+
+        * makeinfo/sectioning.c: cast arguments to substring, to placate
+        current gcc.
+
 2006-03-13  Karl Berry  <address@hidden>
 
        * util/texi2dvi: reindent --help message.
Index: makeinfo/sectioning.c
===================================================================
RCS file: /sources/texinfo/texinfo/makeinfo/sectioning.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- makeinfo/sectioning.c       15 May 2005 00:00:08 -0000      1.26
+++ makeinfo/sectioning.c       14 Mar 2006 00:29:07 -0000      1.27
@@ -1,5 +1,5 @@
 /* sectioning.c -- for @chapter, @section, ..., @contents ...
-   $Id: sectioning.c,v 1.26 2005/05/15 00:00:08 karl Exp $
+   $Id: sectioning.c,v 1.27 2006/03/14 00:29:07 karl Exp $
 
    Copyright (C) 1999, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
 
@@ -491,7 +491,7 @@
      insert it into the TOC.  */
   ending_pos = output_paragraph + output_paragraph_offset;
   if (section_alist[index].toc == TOC_YES)
-    toc_add_entry (substring (starting_pos, ending_pos - 1),
+    toc_add_entry (substring ((char *)starting_pos, (char *)ending_pos - 1),
                    level, current_node, NULL);
 
   free (temp);
@@ -534,8 +534,9 @@
 
       starting_pos = output_paragraph + output_paragraph_offset;
       add_word_args ("%sTOC%d\">", a_name, toc_ref_count++);
-      toc_anchor = substring (starting_pos + sizeof (a_name) - 1,
-                              output_paragraph + output_paragraph_offset);
+      toc_anchor = substring ((char *)starting_pos + sizeof (a_name) - 1,
+                              (char *)output_paragraph
+                             + output_paragraph_offset);
       /* This must be added after toc_anchor is extracted, since
          toc_anchor cannot include the closing </a>.  For details,
          see toc.c:toc_add_entry and toc.c:contents_update_html.
@@ -585,7 +586,7 @@
   /* Pluck ``X.Y SECTION-NAME'' from the output buffer and insert it
      into the TOC.  */
   if (section_alist[index].toc == TOC_YES)
-    toc_add_entry (substring (starting_pos, ending_pos),
+    toc_add_entry (substring ((char *)starting_pos, (char *)ending_pos),
                    level, current_node, toc_anchor);
 
   free (temp);
P ChangeLog
P makeinfo/sectioning.c


reply via email to

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