#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

@@ -552,9 +552,7 @@ init_vars(char * const envp[])
(void) tzset(); /* set the timezone if applicable */
#endif /* HAVE_TZSET */
#ifdef HAVE_SETLOCALE
user_locale = estrdup(setlocale(LC_ALL, NULL));
#endif
for (ep = envp; *ep; ep++) {
/* XXX - don't fill in if empty string */