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

Gerrit Code Review
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 <>
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.
    Tested-by: BuildBot <>
    Reviewed-by: Michael Meffie <>
    Reviewed-by: Chas Williams <>
    Reviewed-by: Benjamin Kaduk <>
    (cherry picked from commit b800f7d9bd5ea390ab330c1c0c38ac8277eb9998)
    Change-Id: Ia42eb33a963aa15131511c07ef4823f3f061a762
    Tested-by: BuildBot <>
    Reviewed-by: Chas Williams <>
    Reviewed-by: Michael Meffie <>
    Reviewed-by: Stephan Wiesand <>

 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