Don't set rows or columns to zero, to avoid
commit34027743250f6c9fcbe481921d431d9e675ab8c3
authorJim Meyering <jim@meyering.net>
Mon, 3 Jan 2005 21:25:13 +0000 (3 21:25 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 3 Jan 2005 21:25:13 +0000 (3 21:25 +0000)
tree9fa91505dc29399f31ecfa664ad9dcd09f934f73
parent8ca6bb6254e64e7d7c88d8a0f15d62e3754db73f
Don't set rows or columns to zero, to avoid
a bug in the TIOCGWINSZ ioctl on at least Solaris5.9 systems.  Setting
either (or both) to zero would succeed, but subsequent `stty size'
would say `no size information for this device' due to the ioctl
failing with EINVAL.
tests/stty/row-col-1