[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug in texinfo 4.0
From: |
Frank Naumann |
Subject: |
Bug in texinfo 4.0 |
Date: |
Mon, 17 Sep 2001 10:42:44 +0200 (CEST) |
Hello!
I think I found a bug in texinfo 4.0:
*** texinfo-4.0/makeinfo/multi.c.orig Tue Aug 17 23:06:56 1999
--- texinfo-4.0/makeinfo/multi.c Mon Sep 17 10:26:24 2001
***************
*** 199,205 ****
do
{
! if (**params == '{' && (*params)[-1] != '@')
brace_level++;
else if (**params == '}' && (*params)[-1] != '@')
brace_level--;
--- 199,205 ----
do
{
! if (**params == '{' && ((*params == start) || ((*params)[-1] != '@')))
brace_level++;
else if (**params == '}' && (*params)[-1] != '@')
brace_level--;
(*params)[-1] is an illegal access in the first do { } while loop because
it points to an xmalloc'ed area (if I see this correct). This produced
sometimes failures and wrong error messages here.
Hope it helps.
Regards,
Frank
- Bug in texinfo 4.0,
Frank Naumann <=