Re: [CFT] ncurses update

From: Thomas Dickey <dickey_at_radix.net>
Date: Sat, 6 Jan 2007 10:06:01 -0500
On Sat, Jan 06, 2007 at 05:21:23PM +0300, Andrey Chernov wrote:
> On Sat, Jan 06, 2007 at 04:50:30PM +0800, Rong-en Fan wrote:
> > http://people.freebsd.org/~rafan/ncurses/ncurses-5.6-fbsd7-20070106.diff.gz
> 
> In our code
> 
>  (*tok == '\0' || *tok == '\\' || !isgraph(*tok)))
> 
> must be
> 
>  (*tok == '\0' || *tok == '\\' || !isgraph(UChar(*tok))))
> 
> BTW, why our glue is ever needed? I see ncurses already is able to use 
> cgetent. Not sure about proper TERMPATH and isetuid handling.

Discounting some code that was removed by editing where an ifdef would
have worked, there's a small change to use one of the FreeBSD-specific
functions, e.g.,

	/* For safety */
	if (issetugid())
		strcpy(pathbuf, _PATH_DEF_SEC);

That's all I recall from doing a diff last summer.  I don't recall
any issues with $TERMPATH per se.

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

Received on Sat Jan 06 2007 - 15:09:02 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:04 UTC