summaryrefslogtreecommitdiffstats
path: root/bin/dd/dd.c
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1995-10-23 21:31:48 +0000
committerache <ache@FreeBSD.org>1995-10-23 21:31:48 +0000
commitb2faa00f391f4484c97976152e731b4f5ffa1a08 (patch)
treeb71b4be11f14d8dbcf2cb1fce016c6c5503cb14f /bin/dd/dd.c
parent73ab20d2fc1071aff9034045be14d44674237217 (diff)
downloadFreeBSD-src-b2faa00f391f4484c97976152e731b4f5ffa1a08.zip
FreeBSD-src-b2faa00f391f4484c97976152e731b4f5ffa1a08.tar.gz
Add setlocale LC_CTYPE
Diffstat (limited to 'bin/dd/dd.c')
-rw-r--r--bin/dd/dd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/dd/dd.c b/bin/dd/dd.c
index d342870..55c4e76 100644
--- a/bin/dd/dd.c
+++ b/bin/dd/dd.c
@@ -34,7 +34,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: dd.c,v 1.3 1995/01/17 22:55:59 ache Exp $
+ * $Id: dd.c,v 1.4 1995/01/17 23:04:29 ache Exp $
*/
#ifndef lint
@@ -61,6 +61,7 @@ static char sccsid[] = "@(#)dd.c 8.5 (Berkeley) 4/2/94";
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <locale.h>
#include "dd.h"
#include "extern.h"
@@ -84,6 +85,7 @@ main(argc, argv)
int argc;
char *argv[];
{
+ (void) setlocale(LC_CTYPE, "");
jcl(argv);
setup();
OpenPOWER on IntegriCloud