[Top][All Lists]

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

Re: getenv() and i370-ibm-openedition (also compilation error)

From: Thomas Dickey
Subject: Re: getenv() and i370-ibm-openedition (also compilation error)
Date: Wed, 23 Jul 2014 20:31:20 -0400
User-agent: Mutt/1.5.20 (2009-06-14)

On Wed, Jul 23, 2014 at 05:10:51PM -0600, Paul Gilmartin wrote:
> On 07/23/14 17:01, Thomas Dickey wrote:
> >hmm: is there some place where I'm not strdup'ing a long-lived value from
> >getenv?
> We discussed this long ago; perhaps you fixed it.  But I never got
> a complete compilation -- my unfamiliarity with c99.
> On 07/23/14 16:59, Thomas Dickey wrote:
> >On Wed, Jul 23, 2014 at 03:46:38PM -0600, Paul Gilmartin wrote:
> >
> >Would you like also:
> >
> >address@hidden:180$ ls -l */*.lst
> >-rw-r--r--   1 SPPG     15       3317319 Jul 23 15:12 ncurses/make_hash.lst
> >I don't think so - it's not showing me the substitutions which are
> >made.
> They appear in the 3.3 MB full version.  I could send that either to
> you personally or to bug-ncurses.  But NCURSES_CONST is not replaced
> because it's nowhere #defined.  (The .lst also shows the #includes.)

3.3MB is too long for the list (if you want, you can send it directly to me).

NCURSES_CONST would be like this in curses.h:  (or "/* nothing */" as a 

 * Expands to 'const' if ncurses is configured using --enable-const.  Note that
 * doing so makes it incompatible with other implementations of X/Open Curses.
#define NCURSES_CONST const

Thomas E. Dickey <address@hidden>

Attachment: signature.asc
Description: Digital signature

reply via email to

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