[CFT] ncurses update
Thomas Dickey
dickey at radix.net
Sat Jan 6 08:09:02 PST 2007
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20070106/88a8e858/attachment.pgp
More information about the freebsd-current
mailing list