OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-4746-gb800f7d
Gerrit Code Review
gerrit@openafs.org
Wed, 2 Dec 2015 23:27:12 -0500
The following commit has been merged in the master branch:
commit b800f7d9bd5ea390ab330c1c0c38ac8277eb9998
Author: Brandon S Allbery <ballbery@sinenomine.net>
Date: Tue Nov 24 16:39:02 2015 -0500
gtx: use getmaxyx() with sensible fallbacks
configure now checks for the standard getmaxyx() macro; failing that,
it looks for the older but pre-standardization getmaxx() and getmaxy(),
then falls back to the 4.2BSD curses _maxx and _maxy fields; if all
else fails, gtx building is disabled.
gtx now defines getmaxyx() itself if necessary, based on the above.
This also fixes a bug in gtx with all ncurses versions > 1.8.0 on
platforms other than NetBSD and OS X: gtx was using the _maxx and
_maxy fields, which starting with ncurses 1.8.1 were off by 1 from
the expected values. As such, behavior of scout and/or afsmonitor
may change on most ncurses-using platforms.
Change-Id: I49778e87adacef2598f0965e09538dfc3d840dcc
Reviewed-on: http://gerrit.openafs.org/12107
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Chas Williams <3chas3@gmail.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
acinclude.m4 | 15 +-------
src/cf/curses.m4 | 94 +++++++++++++++++++++++++++++++++++++++++++++++
src/gtx/curseswindows.c | 8 +---
src/gtx/gtxcurseswin.h | 8 ++++
4 files changed, 104 insertions(+), 21 deletions(-)
--
OpenAFS Master Repository