]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(screen_columns): Change #if-0 (test code, mistakenly committed in last delta)
authorJim Meyering <jim@meyering.net>
Sat, 29 Jan 2000 09:50:14 +0000 (09:50 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 29 Jan 2000 09:50:14 +0000 (09:50 +0000)
back to #ifdef TIOCGWINSZ.

src/stty.c

index 4362705adf6d00dbf0a337e09ec1089efa261d9c..9ba372407c6983d696978f60ec4fc0d26c31f886 100644 (file)
@@ -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