Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 770 - (show annotations) (download)
Sat Apr 25 10:37:53 2009 UTC (15 years ago) by niro
File size: 296 byte(s)
patches for coreutils-7.2

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 {