texinfo-commits
[Top][All Lists]
Advanced

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

texinfo/makeinfo sectioning.c,1.13,1.14


From: dirt
Subject: texinfo/makeinfo sectioning.c,1.13,1.14
Date: Sun, 14 Mar 2004 04:45:57 +0100

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

Modified Files:
        sectioning.c 
Log Message:
2004-03-14  Alper Ersoy  <address@hidden>

        * makeinfo/sectioning.c (sectioning_underscore): check if title is
        pointing to NULL before calling strlen (happens when there is no
        @settitle before @top.)



Index: sectioning.c
===================================================================
RCS file: /cvsroot/texinfo/texinfo/makeinfo/sectioning.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** sectioning.c        14 Mar 2004 03:26:36 -0000      1.13
--- sectioning.c        14 Mar 2004 03:45:54 -0000      1.14
***************
*** 348,352 ****
        line_number--;
  
!       if (strlen (temp) == 0 && strlen (title) == 0)
          warning ("Must specify a title with least one of @settitle or @top");
  
--- 348,352 ----
        line_number--;
  
!       if (strlen (temp) == 0 && (!title || strlen (title) == 0))
          warning ("Must specify a title with least one of @settitle or @top");
  



reply via email to

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