summaryrefslogtreecommitdiff
path: root/bin/chmod
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-06-27 18:37:06 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-06-27 18:37:06 +0000
commit9fe77c1af108cc57635c17d5c4205479db4fedcd (patch)
treeb3a250159938ed568b67bc2499a8be3b1c8fedd5 /bin/chmod
parent428f9feab5345b6b730caa295ebb9f0e24fbe724 (diff)
setlocale; kleink
Diffstat (limited to 'bin/chmod')
-rw-r--r--bin/chmod/chmod.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/bin/chmod/chmod.c b/bin/chmod/chmod.c
index 9893e13c961..c4047f2751e 100644
--- a/bin/chmod/chmod.c
+++ b/bin/chmod/chmod.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: chmod.c,v 1.4 1996/12/14 12:17:37 mickey Exp $ */
+/* $OpenBSD: chmod.c,v 1.5 1997/06/27 18:37:05 deraadt Exp $ */
/* $NetBSD: chmod.c,v 1.12 1995/03/21 09:02:09 cgd Exp $ */
/*
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)chmod.c 8.8 (Berkeley) 4/1/94";
#else
-static char rcsid[] = "$OpenBSD: chmod.c,v 1.4 1996/12/14 12:17:37 mickey Exp $";
+static char rcsid[] = "$OpenBSD: chmod.c,v 1.5 1997/06/27 18:37:05 deraadt Exp $";
#endif
#endif /* not lint */
@@ -78,6 +78,9 @@ main(argc, argv)
set = NULL;
omode = 0;
#endif
+
+ setlocale(LC_ALL, "");
+
Hflag = Lflag = Pflag = Rflag = fflag = hflag = 0;
while ((ch = getopt(argc, argv, "HLPRXfgorstuwx")) != -1)
switch (ch) {