diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 1995-10-26 10:56:38 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 1995-10-26 10:56:38 +0000 |
| commit | f5bd01c69ef369fe7912c3281dd693eb434614e3 (patch) | |
| tree | cd4745e566967630535d212587699acc1e3bb693 /bin | |
| parent | 345705134a65e9ab3ab16cc15c7331d67613349d (diff) | |
Notes
Diffstat (limited to 'bin')
| -rw-r--r-- | bin/ls/ls.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/ls/ls.c b/bin/ls/ls.c index ed1975e80442..6be4a32267c2 100644 --- a/bin/ls/ls.c +++ b/bin/ls/ls.c @@ -33,7 +33,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: ls.c,v 1.7 1995/10/23 20:36:26 ache Exp $ + * $Id: ls.c,v 1.8 1995/10/23 21:09:01 ache Exp $ */ #ifndef lint @@ -105,7 +105,8 @@ main(argc, argv) int ch, fts_options, notused; char *p; - (void) setlocale(LC_CTYPE|LC_TIME, ""); + (void) setlocale(LC_ALL, ""); + /* Terminal defaults to -Cq, non-terminal defaults to -1. */ if (isatty(STDOUT_FILENO)) { if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &win) == -1 || |
