This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: [eliz@is.elta.co.il: Problem with gnu-regex.c when wctype.h is available]
- To: dj@delorie.com, eliz@is.elta.co.il
- Subject: Re: [eliz@is.elta.co.il: Problem with gnu-regex.c when wctype.h is available]
- From: Stan Shebs <shebs@cygnus.com>
- Date: Thu, 12 Aug 1999 18:50:51 -0700
- CC: gdb-patches@sourceware.cygnus.com
Date: Sun, 27 Jun 1999 18:49:48 +0300 (IDT)
From: Eli Zaretskii <eliz@is.elta.co.il>
If wctype.h and wchar.h are available, but btowc is not (DJGPP is a case
in point), gnu-regex.c causes link errors. Here's a patch:
1999-06-26 Eli Zaretskii <eliz@is.elta.co.il>
* gnu-regex.c (CHAR_CLASS_MAX_LENGTH): Don't use wide characters
unless HAVE_BTOWC is defined.
I installed this in the repository, thanks. Note that this is actually
a copy of a file from glibc, you should consider sending it to those
folks also.
Stan