1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-11 09:18:25 +03:00

add setlocale() call so that localisation of things like number entry

and display will work correctly.
This commit is contained in:
Patrick Caulfield 2002-04-24 10:42:09 +00:00
parent 668879d2e1
commit 0ad98cabde

View File

@ -22,6 +22,7 @@
#include <ctype.h>
#include <time.h>
#include <stdlib.h>
#include <locale.h>
#ifdef READLINE_SUPPORT
#include <readline/readline.h>
@ -117,6 +118,7 @@ int main(int argc, char **argv)
char *namebase, *base;
int ret, alias = 0;
setlocale(LC_ALL, "");
if (!init())
return -1;