Re: texinfo4.5.90 pretest available

[email protected] (Karl Berry)
Newsgroups gmane.comp.tex.texinfo.pretest
Message-ID <[email protected]>
        (gdb) r lilypond-internals.nexi
        Starting program: /var/fred/cvs/savannah/texinfo/texinfo/makeinfo/makeinfo lilypond-internals.nexi

        Program received signal SIGSEGV, Segmentation fault.
        0x0804e24a in sort_index (index=0x0) at index.c:638

I think/hope this was an easy one, just failed to protect when there's
an empty index.  Patch follows.

I hope to make another pretest tomorrow.

Thanks Jan.

*** index.c.~1.7.~	Sat May 10 08:56:01 2003
--- index.c	Fri May 16 16:49:52 2003
***************
*** 634,641 ****
    make_index_entries_unique (array, count);
  
    /* Replace the original index with the sorted one, in case the
!      document wants to print it again.  */
!   *index = **array;
  
    return array;
  }
--- 634,642 ----
    make_index_entries_unique (array, count);
  
    /* Replace the original index with the sorted one, in case the
!      document wants to print it again.  If the index wasn't empty.  */
!   if (index)
!     *index = **array;
  
    return array;
  }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.