summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1995-10-23 21:09:01 +0000
committerache <ache@FreeBSD.org>1995-10-23 21:09:01 +0000
commit76a4f2bbdd467a55e19748db102bd78f846f6ddf (patch)
tree8efe4d7188c06e35bb9dc5fc61457735807b4937 /bin
parent426182c17ec421992aec26285b1c8bb9445f0f9e (diff)
downloadFreeBSD-src-76a4f2bbdd467a55e19748db102bd78f846f6ddf.zip
FreeBSD-src-76a4f2bbdd467a55e19748db102bd78f846f6ddf.tar.gz
Change LC_ALL to LC_CTYPE|LC_TIME - small optimization
Diffstat (limited to 'bin')
-rw-r--r--bin/ls/ls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ls/ls.c b/bin/ls/ls.c
index c9ef074..ed1975e 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.6 1995/03/23 19:05:00 phk Exp $
+ * $Id: ls.c,v 1.7 1995/10/23 20:36:26 ache Exp $
*/
#ifndef lint
@@ -105,7 +105,7 @@ main(argc, argv)
int ch, fts_options, notused;
char *p;
- (void) setlocale(LC_ALL, "");
+ (void) setlocale(LC_CTYPE|LC_TIME, "");
/* Terminal defaults to -Cq, non-terminal defaults to -1. */
if (isatty(STDOUT_FILENO)) {
if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &win) == -1 ||
OpenPOWER on IntegriCloud