texinfo-commits
[Top][All Lists]
Advanced

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

texinfo/makeinfo cmds.c,1.31,1.32 xml.c,1.24,1.25


From: dirt
Subject: texinfo/makeinfo cmds.c,1.31,1.32 xml.c,1.24,1.25
Date: Fri, 13 Feb 2004 23:12:26 +0100

Update of /cvsroot/texinfo/texinfo/makeinfo
In directory sheep:/tmp/cvs-serv1157/makeinfo

Modified Files:
        cmds.c xml.c 
Log Message:
2004-02-14  Alper Ersoy  <address@hidden>

        * makeinfo/cmds.c (cm_strong):
        * makeinfo/xml.c (xml_begin_index): cast output_paragraph to char, to
        avoid warnings with -pedantic.



Index: cmds.c
===================================================================
RCS file: /cvsroot/texinfo/texinfo/makeinfo/cmds.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -d -r1.31 -r1.32
*** cmds.c      13 Feb 2004 22:01:38 -0000      1.31
--- cmds.c      13 Feb 2004 22:12:23 -0000      1.32
***************
*** 1066,1070 ****
        && arg == END
        && end_pos - start_pos >= 6
!       && strncmp (output_paragraph + start_pos, "*Note:*", 6) == 0)
      /* Translators: "Note:" is literal here and should not be
         translated.  @strong{Nota}, say, does not cause the problem.  */
--- 1066,1070 ----
        && arg == END
        && end_pos - start_pos >= 6
!       && strncmp ((char *) output_paragraph + start_pos, "*Note:*", 6) == 0)
      /* Translators: "Note:" is literal here and should not be
         translated.  @strong{Nota}, say, does not cause the problem.  */

Index: xml.c
===================================================================
RCS file: /cvsroot/texinfo/texinfo/makeinfo/xml.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** xml.c       13 Feb 2004 22:01:39 -0000      1.24
--- xml.c       13 Feb 2004 22:12:23 -0000      1.25
***************
*** 1741,1745 ****
        char *tmp = xmalloc (l+1);
        char *p = tmp;
!       strncpy (tmp, output_paragraph, l);
  
        /* We remove <SECTION */
--- 1741,1745 ----
        char *tmp = xmalloc (l+1);
        char *p = tmp;
!       strncpy (tmp, (char *) output_paragraph, l);
  
        /* We remove <SECTION */



reply via email to

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