diff options
author | ache <ache@FreeBSD.org> | 1996-08-11 22:51:00 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1996-08-11 22:51:00 +0000 |
commit | 8affe69b986c0b8bb82151a3b5717f1279fb4864 (patch) | |
tree | e3a45bb03f226bffcc615e7bd211f67122b2c56b /bin/sh/main.c | |
parent | 3c7673013285ac763e247767e237240275819280 (diff) | |
download | FreeBSD-src-8affe69b986c0b8bb82151a3b5717f1279fb4864.zip FreeBSD-src-8affe69b986c0b8bb82151a3b5717f1279fb4864.tar.gz |
Localize it
Diffstat (limited to 'bin/sh/main.c')
-rw-r--r-- | bin/sh/main.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/sh/main.c b/bin/sh/main.c index 9d451d4..34a0abb 100644 --- a/bin/sh/main.c +++ b/bin/sh/main.c @@ -33,7 +33,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: main.c,v 1.2 1994/09/24 02:57:48 davidg Exp $ + * $Id: main.c,v 1.3 1995/05/30 00:07:18 rgrimes Exp $ */ #ifndef lint @@ -48,6 +48,8 @@ static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 5/31/93"; #include <signal.h> #include <fcntl.h> +#include <locale.h> + #include "shell.h" #include "main.h" #include "mail.h" @@ -103,6 +105,7 @@ main(argc, argv) char **argv; { #if PROFILE monitor(4, etext, profile_buf, sizeof profile_buf, 50); #endif + (void) setlocale(LC_ALL, ""); state = 0; if (setjmp(jmploc.loc)) { /* |