From ba088349be06116c9293d5dc62d5aeb38e655bcb Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 29 Jan 2000 09:50:14 +0000 Subject: [PATCH] (screen_columns): Change #if-0 (test code, mistakenly committed in last delta) back to #ifdef TIOCGWINSZ. --- src/stty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stty.c b/src/stty.c index 4362705adf..9ba372407c 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 -- 2.47.3