crash found in indent 2.2.9

Lynn Kerby <[email protected]>
Newsgroups gmane.comp.gnu.indent.bugs
Message-ID <[email protected]>
[resending - originally sent on 2006/01/31 - was awaiting moderator 
approval]

Greetings,

I was running indent on some pretty ugly code today and indent dumped 
core in the process.  The problem was eventually tracked down to the 
-br option and a comment that is between the rparen and lbrace of a 
function declaration.  After a fair bit of debugging, I think the 
problem was due to incorrectly setting save_com.len when stuffing the 
unused lbrace into the save_com buffer.



Lynn Kerby

_______________________________________________
bug-indent mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-indent
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.