FreeBSD Bugzilla – Attachment 10182 Details for
Bug 20483
allowing old colors+paging combination with ls(1) again
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 521 bytes, created by
Ralf S. Engelschall
on 2000-08-08 14:00:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Ralf S. Engelschall
Created:
2000-08-08 14:00:01 UTC
Size:
521 bytes
patch
obsolete
>Index: ls.c >=================================================================== >RCS file: /home/ncvs/src/bin/ls/ls.c,v >retrieving revision 1.42 >diff -u -d -r1.42 ls.c >--- ls.c 2000/07/04 23:09:23 1.42 >+++ ls.c 2000/08/08 12:47:57 >@@ -202,7 +202,7 @@ > fts_options |= FTS_COMFOLLOW; > break; > case 'G': >- if (isatty(STDOUT_FILENO)) >+ if (isatty(STDOUT_FILENO) || getenv("LSCOLORS_FORCED") != NULL) > #ifdef COLORLS > if (tgetent(termcapbuf, getenv("TERM")) == 1) { > ansi_fgcol = tgetstr("AF", &bp);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 20483
: 10182