diff options
| author | Tim J. Robbins <tjr@FreeBSD.org> | 2004-07-15 08:54:41 +0000 |
|---|---|---|
| committer | Tim J. Robbins <tjr@FreeBSD.org> | 2004-07-15 08:54:41 +0000 |
| commit | e781c653ddbcea188ede02a392245e76dac0c7fa (patch) | |
| tree | dd5e12586070d3d25c0e26bf2c83013416ba31cb | |
| parent | 80209ec51c1c30606a7f572c4ecfa1331b1de6c4 (diff) | |
Notes
| -rw-r--r-- | usr.bin/du/du.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.bin/du/du.c b/usr.bin/du/du.c index 6b85e17ea257..b86c180547b7 100644 --- a/usr.bin/du/du.c +++ b/usr.bin/du/du.c @@ -57,6 +57,7 @@ __FBSDID("$FreeBSD$"); #include <fnmatch.h> #include <fts.h> #include <libutil.h> +#include <locale.h> #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -89,6 +90,8 @@ main(int argc, char *argv[]) char **save; static char dot[] = "."; + setlocale(LC_ALL, ""); + Hflag = Lflag = Pflag = aflag = sflag = dflag = cflag = hflag = 0; save = argv; |
