added moo_ucwidth()

This commit is contained in:
hyunghwan.chung
2017-07-05 14:23:13 +00:00
parent d0b38926d4
commit fc121cd70a
4 changed files with 149 additions and 7 deletions

View File

@ -92,7 +92,6 @@
# include <unistd.h>
# include <fcntl.h>
# include <locale.h>
# if defined(USE_THREAD)
# include <pthread.h>
@ -1759,11 +1758,6 @@ int main (int argc, char* argv[])
}
#endif
if (!setlocale (LC_ALL, ""))
{
fprintf (stderr, "Warning: setlocale() error. carrying on.\n");
}
memset (&vmprim, 0, MOO_SIZEOF(vmprim));
vmprim.dl_open = dl_open;
vmprim.dl_close = dl_close;