bug-ncurses
[Top][All Lists]
Advanced

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

RE: Simple patch for allowing NCurses to build on HPE NonStop


From: Randall S. Becker
Subject: RE: Simple patch for allowing NCurses to build on HPE NonStop
Date: Tue, 18 Aug 2020 09:37:30 -0400

On August 18, 2020 4:05 AM, Thomas Dickey wrote:
> To: Randall S. Becker <rsbecker@nexbridge.com>
> Cc: Ncurses Mailing List <bug-ncurses@gnu.org>
> Subject: Re: Simple patch for allowing NCurses to build on HPE NonStop
> 
> On Mon, Aug 17, 2020 at 08:18:26PM -0400, Thomas Dickey wrote:
> > On Mon, Aug 17, 2020 at 07:24:50PM -0400, Thomas Dickey wrote:
> ...
> > however, I'm reminded that strings.h is only standardized to include
> > the legacy BSD stuff - described here:
> >
> >
> https://pubs.opengroup.org/onlinepubs/009695399/basedefs/strings.h.htm
> > l
> >
> > while picsmap is using several functions from the modern version
string.h:
> >
> >
> https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/string.h.htm
> > l
> >
> > strchr
> > strcmp
> > strcpy
> > strlen
> > strncmp
> > strstr
> >
> > (strstr vs index used to be something I took into account in ports)
> 
> s/strstr/strchr/
> 
> ...back to the point - I'd like to know what problem the ifdef'd include
for
> <strings.h> is solving.

It is strcasecmp in lookup_rgb(). Platform declares it in strings.h rather
than string.h.

Regards,
Randall




reply via email to

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