#unifdef HAVE_SETLOCALE, it is C89 so no need to check for it.
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user