mc: multple fixes (#2367)
[termux-packages] / packages / coreutils / src-ls.c.patch
CommitLineData
fb8471fb
FF
1diff -u -r ../coreutils-8.26/src/ls.c ./src/ls.c
2--- ../coreutils-8.26/src/ls.c 2016-11-22 15:04:32.000000000 -0500
3+++ ./src/ls.c 2016-11-30 20:27:28.910732105 -0500
4@@ -1749,6 +1749,9 @@
5 }
6 }
7
8+ /* Termux patch: Default to colors if terminal. The --color option may override this. */
9+ print_with_color = isatty(STDOUT_FILENO);
10+
11 while (true)
12 {
13 int oi = -1;