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/ls.c | |
| parent | *** empty log message *** (diff) | |
| download | coreutils-92f4be12b1e2f8e77260b34cc609a5b850c8719c.tar.gz coreutils-92f4be12b1e2f8e77260b34cc609a5b850c8719c.zip | |
(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/ls.c')
| -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 |
