texinfo-commits
[Top][All Lists]
Advanced

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

texinfo/makeinfo sectioning.c,1.11,1.12


From: karl
Subject: texinfo/makeinfo sectioning.c,1.11,1.12
Date: Fri, 12 Mar 2004 19:21:08 +0100

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

Modified Files:
        sectioning.c 
Log Message:
(sectioning_underscore): don't segfault when
generating xml if @top arg was empty.  Report from Pat.


Index: sectioning.c
===================================================================
RCS file: /cvsroot/texinfo/texinfo/makeinfo/sectioning.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** sectioning.c        20 Feb 2004 02:42:19 -0000      1.11
--- sectioning.c        12 Mar 2004 18:21:06 -0000      1.12
***************
*** 2,6 ****
     $Id$
  
!    Copyright (C) 1999, 2001, 2002, 2003 Free Software Foundation, Inc.
  
     This program is free software; you can redistribute it and/or modify
--- 2,6 ----
     $Id$
  
!    Copyright (C) 1999, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
  
     This program is free software; you can redistribute it and/or modify
***************
*** 353,357 ****
            /* Use @settitle value if @top parameter is empty.  */
            if (STREQ (command, "top") && strlen(temp) == 0)
!             temp = xstrdup (title);
  
            /* Docbook does not support @unnumbered at all.  So we provide 
numbers
--- 353,357 ----
            /* Use @settitle value if @top parameter is empty.  */
            if (STREQ (command, "top") && strlen(temp) == 0)
!             temp = xstrdup (title ? title : "");
  
            /* Docbook does not support @unnumbered at all.  So we provide 
numbers



reply via email to

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