Subject: Re: [nextstep pkgsrc bootstrap] _POSIX2_RE_DUP_MAX not defined in nextstep
To: None <email@example.com>
From: Andreas_Hallmann <firstname.lastname@example.org>
Date: 06/24/2005 08:27:44
On Fri, Jun 24, 2005 at 10:46:55AM +1000, grant beattie wrote:
> On Thu, Jun 23, 2005 at 08:41:15PM +0200, Andreas_Hallmann wrote:
> > Hi everybody,
> > trying to bootstrap I found that
> > work/libnbcompat/private/utils.h uses _POSIX2_RE_DUP_MAX which is not defined in nextstep.
> > It's existence is assumed ...
> > You can find it in netbsd
> > /usr/include/limits.h:#define _POSIX2_RE_DUP_MAX 255
> is DUPMAX defined anywhere in nextstep?
> if _POSIX2_RE_DUP_MAX is not defined, it is probably safe to define
> DUPMAX to 255.
Nextstep has a
/* Maximum number of duplicates an interval can allow. */
#ifndef RE_DUP_MAX /* kludge for AIX, which defines it */
#define RE_DUP_MAX ((1 << 15) - 1)
in its c++ library headers for Regular expressions. (/usr/include/g++/regex.h)
But DUPMAX 255 seems to be more appropriate.
NetBSD: If you happen to have any problem with your uptime.