#unifdef HAVE_SETLOCALE, it is C89 so no need to check for it.

This commit is contained in:
Todd C. Miller
2012-11-12 08:51:58 -05:00
parent 6485906583
commit acf8af9aac
14 changed files with 5 additions and 50 deletions

View File

@@ -60,9 +60,7 @@ main(int argc, char *argv[], char *envp[])
int noexec = 0;
debug_decl(main, SUDO_DEBUG_MAIN)
#ifdef HAVE_SETLOCALE
setlocale(LC_ALL, "");
#endif
bindtextdomain(PACKAGE_NAME, LOCALEDIR);
textdomain(PACKAGE_NAME);