OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_16pre1-4-g28a06cd

Gerrit Code Review gerrit@openafs.org
Mon, 14 Dec 2015 07:47:17 -0500


The following commit has been merged in the openafs-stable-1_6_x branch:
commit 28a06cd8e4a8f57ddfc52a570b63b5ccf85bfc7b
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.
    
    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>
    (cherry picked from commit b800f7d9bd5ea390ab330c1c0c38ac8277eb9998)
    
    Change-Id: Ia42eb33a963aa15131511c07ef4823f3f061a762
    Reviewed-on: http://gerrit.openafs.org/12125
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Chas Williams <3chas3@gmail.com>
    Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
    Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>

 acinclude.m4            |   15 +------
 src/cf/curses.m4        |   94 +++++++++++++++++++++++++++++++++++++++++++++++
 src/gtx/curseswindows.c |    8 +---
 src/gtx/gtxcurseswin.h  |    8 ++++
 4 files changed, 105 insertions(+), 20 deletions(-)

-- 
OpenAFS Master Repository