summaryrefslogtreecommitdiff
path: root/src/stty.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-01-29 09:50:14 +0000
committerJim Meyering <jim@meyering.net>2000-01-29 09:50:14 +0000
commitba088349be06116c9293d5dc62d5aeb38e655bcb (patch)
tree8cc35bd6d30783e8edabaf451ddc94d109341f85 /src/stty.c
parentbbcd510bc56500744483cc09b1061d956e9aeba2 (diff)
downloadcoreutils-ba088349be06116c9293d5dc62d5aeb38e655bcb.tar.xz
(screen_columns): Change #if-0 (test code, mistakenly committed in last delta)
back to #ifdef TIOCGWINSZ.
Diffstat (limited to 'src/stty.c')
-rw-r--r--src/stty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stty.c b/src/stty.c
index 4362705ad..9ba372407 100644
--- a/src/stty.c
+++ b/src/stty.c
@@ -1426,7 +1426,7 @@ display_window_size (int fancy, int fd, const char *device_name)
static int
screen_columns (void)
{
-#if 0
+#ifdef TIOCGWINSZ
struct winsize win;
/* With Solaris 2.[123], this ioctl fails and errno is set to