diff options
author | Jim Meyering <jim@meyering.net> | 2003-10-14 20:59:50 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-10-14 20:59:50 +0000 |
commit | 92f4be12b1e2f8e77260b34cc609a5b850c8719c (patch) | |
tree | 4192a4118324ab8a25ef73e1b71376e64c6524b4 /src | |
parent | 8061cc6dbc1ee65d49aa2b428cc2b27791457513 (diff) | |
download | coreutils-92f4be12b1e2f8e77260b34cc609a5b850c8719c.tar.xz |
(decode_switches) [TIOCGWINSZ]: Comment out the
warning-inducing test, ws.ws_col <= SIZE_MAX, since it was always
true on Linux.
Diffstat (limited to 'src')
-rw-r--r-- | src/ls.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1334,7 +1334,7 @@ decode_switches (int argc, char **argv) struct winsize ws; if (ioctl (STDOUT_FILENO, TIOCGWINSZ, &ws) != -1 - && 0 < ws.ws_col && ws.ws_col <= SIZE_MAX) + && 0 < ws.ws_col /* && ws.ws_col <= SIZE_MAX */ ) line_length = ws.ws_col; } #endif |