Magellan Linux

Contents of /trunk/coreutils/patches-6.10/coreutils-5.3.0-dumbterm.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 536 - (show annotations) (download)
Tue Mar 25 13:54:58 2008 UTC (16 years, 1 month ago) by niro
File size: 296 byte(s)
-coreutils-6.10

1 --- coreutils-5.1.2/src/ls.c
2 +++ coreutils-5.1.2/src/ls.c
3 @@ -1592,7 +1593,8 @@
4
5 print_with_color = (i == color_always
6 || (i == color_if_tty
7 - && isatty (STDOUT_FILENO)));
8 + && isatty (STDOUT_FILENO))
9 + && getenv("TERM"));
10
11 if (print_with_color)
12 {