texinfo-commits
[Top][All Lists]
Advanced

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

texinfo update (Mon Dec 13 19:22:01 EST 2004)


From: Karl Berry
Subject: texinfo update (Mon Dec 13 19:22:01 EST 2004)
Date: Mon, 13 Dec 2004 19:22:16 -0500

Index: ChangeLog
===================================================================
RCS file: /cvsroot/texinfo/texinfo/ChangeLog,v
retrieving revision 1.429
retrieving revision 1.430
diff -c -r1.429 -r1.430
*** ChangeLog   13 Dec 2004 14:15:14 -0000      1.429
--- ChangeLog   14 Dec 2004 00:15:36 -0000      1.430
***************
*** 1,3 ****
--- 1,16 ----
+ 2004-12-13  Andreas Schwab  <address@hidden>
+ 
+       * info/echo-area.c (DECLARE_INFO_COMMAND): Add intermediate cast
+       to avoid warning.
+       * info/infokey.c (compile): Likewise.
+       * info/session.c (forward_move_node_structure): Likewise.
+       (DECLARE_INFO_COMMAND): Likewise.
+ 
+       * makeinfo/makeinfo.c (init_paragraph): Don't use free_and_clear
+       to avoid strict aliasing issue.
+ 
+       * makeinfo/cmds.c (cm_center): Avoid strict aliasing issue.
+ 
  2004-12-13  Karl Berry  <address@hidden>
  
        * doc/texinfo.txi (HTML Cross-reference Command Expansion): add
Index: info/echo-area.c
===================================================================
RCS file: /cvsroot/texinfo/texinfo/info/echo-area.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -c -r1.6 -r1.7
*** info/echo-area.c    8 Dec 2004 16:49:48 -0000       1.6
--- info/echo-area.c    14 Dec 2004 00:15:36 -0000      1.7
***************
*** 1,5 ****
  /* echo-area.c -- how to read a line in the echo area.
!    $Id: echo-area.c,v 1.6 2004/12/08 16:49:48 karl Exp $
  
     Copyright (C) 1993, 1997, 1998, 1999, 2001, 2004 Free Software
     Foundation, Inc.
--- 1,5 ----
  /* echo-area.c -- how to read a line in the echo area.
!    $Id: echo-area.c,v 1.7 2004/12/14 00:15:36 karl Exp $
  
     Copyright (C) 1993, 1997, 1998, 1999, 2001, 2004 Free Software
     Foundation, Inc.
***************
*** 936,942 ****
        printf_to_message_buffer (completions_found_index == 1
                                  ? (char *) _("One completion:\n")
                                  : (char *) _("%d completions:\n"),
!                               (void*) (completions_found_index), NULL, NULL);
  
        /* Find the maximum length of a label. */
        for (i = 0; i < completions_found_index; i++)
--- 936,943 ----
        printf_to_message_buffer (completions_found_index == 1
                                  ? (char *) _("One completion:\n")
                                  : (char *) _("%d completions:\n"),
!                               (void *) (long) completions_found_index,
!                               NULL, NULL);
  
        /* Find the maximum length of a label. */
        for (i = 0; i < completions_found_index; i++)
Index: info/infokey.c
===================================================================
RCS file: /cvsroot/texinfo/texinfo/info/infokey.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -c -r1.8 -r1.9
*** info/infokey.c      8 Dec 2004 16:49:48 -0000       1.8
--- info/infokey.c      14 Dec 2004 00:15:36 -0000      1.9
***************
*** 1,5 ****
  /* infokey.c -- compile ~/.infokey to ~/.info.
!    $Id: infokey.c,v 1.8 2004/12/08 16:49:48 karl Exp $
  
     Copyright (C) 1999, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
  
--- 1,5 ----
  /* infokey.c -- compile ~/.infokey to ~/.info.
!    $Id: infokey.c,v 1.9 2004/12/14 00:15:36 karl Exp $
  
     Copyright (C) 1999, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
  
***************
*** 639,645 ****
                {
                  syntax_error (filename, lnum,
                        (char *) _("NUL character (^%c) not permitted"),
!                       (void *) (c), NULL, NULL, NULL);
                  error = 1;
                }
              seqstate = normal;
--- 639,645 ----
                {
                  syntax_error (filename, lnum,
                        (char *) _("NUL character (^%c) not permitted"),
!                       (void *) (long) c, NULL, NULL, NULL);
                  error = 1;
                }
              seqstate = normal;
***************
*** 663,669 ****
              if (alen == 0)
                {
                  syntax_error (filename, lnum, (char *) _("missing action 
name"),
!                       (void *) (c), NULL, NULL, NULL);
                  error = 1;
                }
              else
--- 663,669 ----
              if (alen == 0)
                {
                  syntax_error (filename, lnum, (char *) _("missing action 
name"),
!                               (void *) (long) c, NULL, NULL, NULL);
                  error = 1;
                }
              else
Index: info/session.c
===================================================================
RCS file: /cvsroot/texinfo/texinfo/info/session.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -c -r1.15 -r1.16
*** info/session.c      8 Dec 2004 16:49:48 -0000       1.15
--- info/session.c      14 Dec 2004 00:15:36 -0000      1.16
***************
*** 1,5 ****
  /* session.c -- user windowing interface to Info.
!    $Id: session.c,v 1.15 2004/12/08 16:49:48 karl Exp $
  
     Copyright (C) 1993, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
     Free Software Foundation, Inc.
--- 1,5 ----
  /* session.c -- user windowing interface to Info.
!    $Id: session.c,v 1.16 2004/12/14 00:15:36 karl Exp $
  
     Copyright (C) 1993, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
     Free Software Foundation, Inc.
***************
*** 962,968 ****
                       same as the first menu item found in this node. */
                    window_message_in_echo_area
                      ((char *) _("Moving Up %d time(s), then Next."),
!                      (void *) (up_counter), NULL);
  
                    info_handle_pointer ("Next", window);
                    return;
--- 962,968 ----
                       same as the first menu item found in this node. */
                    window_message_in_echo_area
                      ((char *) _("Moving Up %d time(s), then Next."),
!                      (void *) (long) up_counter, NULL);
  
                    info_handle_pointer ("Next", window);
                    return;
***************
*** 1975,1981 ****
      }
    else
      info_error ((char *) _("There aren't %d items in this menu."),
!                 (void *) (item), NULL);
  
    info_free_references (menu);
    return;
--- 1975,1981 ----
      }
    else
      info_error ((char *) _("There aren't %d items in this menu."),
!                 (void *) (long) item, NULL);
  
    info_free_references (menu);
    return;
Index: makeinfo/cmds.c
===================================================================
RCS file: /cvsroot/texinfo/texinfo/makeinfo/cmds.c,v
retrieving revision 1.54
retrieving revision 1.55
diff -c -r1.54 -r1.55
*** makeinfo/cmds.c     26 Nov 2004 00:48:35 -0000      1.54
--- makeinfo/cmds.c     14 Dec 2004 00:15:36 -0000      1.55
***************
*** 1,5 ****
  /* cmds.c -- Texinfo commands.
!    $Id: cmds.c,v 1.54 2004/11/26 00:48:35 karl Exp $
  
     Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software
     Foundation, Inc.
--- 1,5 ----
  /* cmds.c -- Texinfo commands.
!    $Id: cmds.c,v 1.55 2004/12/14 00:15:36 karl Exp $
  
     Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software
     Foundation, Inc.
***************
*** 1492,1508 ****
  {
    if (xml)
      {
!       unsigned char *line;
        xml_insert_element (CENTER, START);
!       get_rest_of_line (0, (char **)&line);
!       execute_string ("%s", (char *)line);
        free (line);
        xml_insert_element (CENTER, END);
      }
    else
      {
        int i, start, length;
!       unsigned char *line;
        int save_indented_fill = indented_fill;
        int save_filling_enabled = filling_enabled;
        int fudge_factor = 1;
--- 1492,1508 ----
  {
    if (xml)
      {
!       char *line;
        xml_insert_element (CENTER, START);
!       get_rest_of_line (0, &line);
!       execute_string ("%s", line);
        free (line);
        xml_insert_element (CENTER, END);
      }
    else
      {
        int i, start, length;
!       char *line;
        int save_indented_fill = indented_fill;
        int save_filling_enabled = filling_enabled;
        int fudge_factor = 1;
***************
*** 1515,1522 ****
          add_html_block_elt ("<div align=\"center\">");
  
        inhibit_output_flushing ();
!       get_rest_of_line (0, (char **)&line);
!       execute_string ("%s", (char *)line);
        free (line);
        uninhibit_output_flushing ();
        if (html)
--- 1515,1522 ----
          add_html_block_elt ("<div align=\"center\">");
  
        inhibit_output_flushing ();
!       get_rest_of_line (0, &line);
!       execute_string ("%s", line);
        free (line);
        uninhibit_output_flushing ();
        if (html)
Index: makeinfo/makeinfo.c
===================================================================
RCS file: /cvsroot/texinfo/texinfo/makeinfo/makeinfo.c,v
retrieving revision 1.72
retrieving revision 1.73
diff -c -r1.72 -r1.73
*** makeinfo/makeinfo.c 5 Dec 2004 23:33:08 -0000       1.72
--- makeinfo/makeinfo.c 14 Dec 2004 00:15:36 -0000      1.73
***************
*** 1,5 ****
  /* makeinfo -- convert Texinfo source into other formats.
!    $Id: makeinfo.c,v 1.72 2004/12/05 23:33:08 karl Exp $
  
     Copyright (C) 1987, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
     2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
--- 1,5 ----
  /* makeinfo -- convert Texinfo source into other formats.
!    $Id: makeinfo.c,v 1.73 2004/12/14 00:15:36 karl Exp $
  
     Copyright (C) 1987, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
     2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
***************
*** 1839,1845 ****
  void
  init_paragraph (void)
  {
!   free_and_clear ((char **) &output_paragraph);
    output_paragraph = xmalloc (paragraph_buffer_len);
    output_paragraph[0] = 0;
    output_paragraph_offset = 0;
--- 1839,1845 ----
  void
  init_paragraph (void)
  {
!   free (output_paragraph);
    output_paragraph = xmalloc (paragraph_buffer_len);
    output_paragraph[0] = 0;
    output_paragraph_offset = 0;
P ChangeLog
P info/echo-area.c
P info/infokey.c
P info/session.c
P makeinfo/cmds.c
P makeinfo/makeinfo.c


reply via email to

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