From cc381691c454326915081d878b092c13743b3523 Mon Sep 17 00:00:00 2001 From: tjr Date: Thu, 15 Jul 2004 07:26:20 +0000 Subject: [PATCH] Respect locale settings from the environment. --- usr.bin/killall/killall.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/usr.bin/killall/killall.c b/usr.bin/killall/killall.c index be3b9697d778..24e3f3166282 100644 --- a/usr.bin/killall/killall.c +++ b/usr.bin/killall/killall.c @@ -45,6 +45,7 @@ __FBSDID("$FreeBSD$"); #include #include #include +#include static void __dead2 usage(void) @@ -136,6 +137,8 @@ main(int ac, char **av) int matched; int killed = 0; + setlocale(LC_ALL, ""); + av++; ac--;