Subject: pkg/26999: pkgtools/libnbcompat assumes _POSIX2_RE_DUP_MAX is defined
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <geos@epost.de>
List: pkgsrc-bugs
Date: 09/19/2004 17:53:15
>Number: 26999
>Category: pkg
>Synopsis: pkgtools/libnbcompat assumes _POSIX2_RE_DUP_MAX is defined
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Sep 19 17:54:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Georg Schwarz
>Release: current pkgsrc
>Organization:
>Environment:
IRIX lorenz 5.3 08031225 IP20 mips
>Description:
pkgtools/libnbcompat assumes _POSIX2_RE_DUP_MAX is defined, which is not the case on every platform.
>How-To-Repeat:
>Fix:
maybe use some "reasonable estimate" instead in files/private/utils.h?
#ifdef _POSIX2_RE_DUP_MAX
#define DUPMAX _POSIX2_RE_DUP_MAX /* xxx is this right? */
#else
#define DUPMAX 255
#endif
>Release-Note:
>Audit-Trail:
>Unformatted: