summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1997-06-27 18:37:05 +0000
committerderaadt <deraadt@openbsd.org>1997-06-27 18:37:05 +0000
commit04852cc16800242c8b48980ab467ea048460b9f8 (patch)
tree500f93b0bb7dc299c395aa6494af1b7dc149b64d
parentfix up KRBTKFILE confusion; dm@ and traister@gate.net (diff)
downloadwireguard-openbsd-04852cc16800242c8b48980ab467ea048460b9f8.tar.xz
wireguard-openbsd-04852cc16800242c8b48980ab467ea048460b9f8.zip
setlocale; kleink
-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) {