nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] 1.2.1?


From: Wouter Van Hemel
Subject: Re: [Nano-devel] 1.2.1?
Date: Sun, 20 Apr 2003 06:34:54 +0200 (CEST)

On Sun, 20 Apr 2003, Jordi Mallach wrote:

> On Sat, Apr 19, 2003 at 09:44:05PM +0200, Wouter Van Hemel wrote:
> > Do you have a test for the broken regexec problem?
>
> Yeah, configure.ac in CVS has one.
>

I should have asked for a 'working test', since 1.2.1 syntax coloring
still crashes on the same line in nano.c. ;)

  checking for regex.h... (cached) yes
  checking for broken regexec... no     <--


After manually defining BROKEN_REGEXEC in config.h, everything works fine.


#include <sys/types.h>
#include <regex.h>

int main() {
  regex_t reg;
  size_t n;
  regmatch_t r;

  regcomp(&reg, ".", 0);
  regexec(&reg, "", n, &r, 0);
  return 0;
}

This test does not fail (or segfault).


Regards,

  wouter




reply via email to

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