diff options
| author | Tim J. Robbins <tjr@FreeBSD.org> | 2004-07-11 14:44:23 +0000 |
|---|---|---|
| committer | Tim J. Robbins <tjr@FreeBSD.org> | 2004-07-11 14:44:23 +0000 |
| commit | 0742d4ed1a69d3a99cc4b790405bd95840dfb2e5 (patch) | |
| tree | 0c759429816eb887b2065c2b5dd122b3dd7e5e73 /usr.bin/split/split.c | |
| parent | 167b6b11ddc14bb10cd5aa6a27d141de5551fc4e (diff) | |
Notes
Diffstat (limited to 'usr.bin/split/split.c')
| -rw-r--r-- | usr.bin/split/split.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.bin/split/split.c b/usr.bin/split/split.c index c49a1de77a41..ca3847c5c965 100644 --- a/usr.bin/split/split.c +++ b/usr.bin/split/split.c @@ -52,6 +52,7 @@ static const char sccsid[] = "@(#)split.c 8.2 (Berkeley) 4/16/94"; #include <fcntl.h> #include <inttypes.h> #include <limits.h> +#include <locale.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> @@ -85,6 +86,8 @@ main(int argc, char **argv) int ch; char *ep, *p; + setlocale(LC_ALL, ""); + while ((ch = getopt(argc, argv, "-0123456789a:b:l:p:")) != -1) switch (ch) { case '0': case '1': case '2': case '3': case '4': |
