Magellan Linux

Annotation of /trunk/coreutils/patches-5.3.0/coreutils-5.3.0-dumbterm.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 44 - (hide annotations) (download)
Thu Oct 13 21:17:16 2005 UTC (18 years, 8 months ago) by niro
File size: 296 byte(s)
patch set for coretutils-5.3.0

1 niro 44 --- 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     {