Fixed issue where the number of columns in emacs M-x shell would be 0. If TIOCGWINSZ returns an unreasonable value, fall back first to the COLUMNS environnement variable and then the default (80).
Fixed issue where the number of columns in emacs M-x shell would be 0.
If TIOCGWINSZ returns an unreasonable value, fall back first to the
COLUMNS environnement variable and then the default (80).

R=andychu,sfoy,dbentley,mboerger
DELTA=9  (7 added, 0 deleted, 2 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=3092

joachimmetz/python-gflags,austgl/python-gflags,google/python-gflags