From: Jim Meyering Date: Sat, 29 Jan 2000 09:50:14 +0000 (+0000) Subject: (screen_columns): Change #if-0 (test code, mistakenly committed in last delta) X-Git-Tag: FILEUTILS-4_0p~42 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ba088349be06116c9293d5dc62d5aeb38e655bcb;p=thirdparty%2Fcoreutils.git (screen_columns): Change #if-0 (test code, mistakenly committed in last delta) back to #ifdef TIOCGWINSZ. --- 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