diff options
author | ache <ache@FreeBSD.org> | 1997-11-04 05:33:15 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1997-11-04 05:33:15 +0000 |
commit | 4f252df3ada32f04597589573c19208aa06a8f39 (patch) | |
tree | 4a11caa0a301d1fd6d2b66b6873b978a31e4bdf1 /usr.bin/hexdump/hexdump.c | |
parent | 2fba0f4632d76a1730c62c2a90fa4328fe1d4103 (diff) | |
download | FreeBSD-src-4f252df3ada32f04597589573c19208aa06a8f39.zip FreeBSD-src-4f252df3ada32f04597589573c19208aa06a8f39.tar.gz |
Localize it
Diffstat (limited to 'usr.bin/hexdump/hexdump.c')
-rw-r--r-- | usr.bin/hexdump/hexdump.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/hexdump/hexdump.c b/usr.bin/hexdump/hexdump.c index 36d35a3..8491c42 100644 --- a/usr.bin/hexdump/hexdump.c +++ b/usr.bin/hexdump/hexdump.c @@ -42,11 +42,11 @@ static const char copyright[] = static char sccsid[] = "@(#)hexdump.c 8.1 (Berkeley) 6/6/93"; #endif static const char rcsid[] = - "$Id$"; + "$Id: hexdump.c,v 1.2 1997/07/10 06:48:16 charnier Exp $"; #endif /* not lint */ #include <sys/types.h> - +#include <locale.h> #include <stdlib.h> #include <stdio.h> #include <string.h> @@ -65,6 +65,8 @@ main(argc, argv) register FS *tfs; char *p; + (void)setlocale(LC_CTYPE, ""); + if (!(p = rindex(argv[0], 'o')) || strcmp(p, "od")) newsyntax(argc, &argv); else |