nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] syntax coloring segfault


From: Wouter Van Hemel
Subject: Re: [Nano-devel] syntax coloring segfault
Date: Thu, 20 Feb 2003 21:08:06 +0100 (CET)

On Thu, 20 Feb 2003, David Benbennick wrote:

> Thanks for your bug report.  The regexec() function on your system
> crashed when Nano tested the empty string "" on line 21 of nano.c.  The
> "right way" to fix this problem is to fix regexec().  If you can't do

Default Slackware 8.0.0, gcc 2.95.3, glibc-2.2.3. My system will be
updated in a few days/weeks anyway.

I was already wondering why it crashed on something as trivial as an empty
line...

> that, here's a patch that makes Nano not call regexec() on empty
> strings.  Apply the patch, then add the line
>
> #define BROKEN_REGEXEC
>
> to your config.h file.  Let us know whether it works.
>

Everything works fine now. That was fast, thanks. ;)


Regards,

  wouter





reply via email to

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