[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Simple patch for allowing NCurses to build on HPE NonStop
From: |
Thomas Dickey |
Subject: |
Re: Simple patch for allowing NCurses to build on HPE NonStop |
Date: |
Tue, 18 Aug 2020 04:04:39 -0400 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
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.html
>
> while picsmap is using several functions from the modern version string.h:
>
> https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/string.h.html
>
> 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.
--
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net
ftp://ftp.invisible-island.net
signature.asc
Description: PGP signature