de-tabbify

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@142237 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Howard Hinnant
2011-10-17 20:08:59 +00:00
parent 08e17472e4
commit 8db4acad3b
5 changed files with 20 additions and 20 deletions

View File

@@ -22,10 +22,10 @@ locale_t uselocale( locale_t newloc )
locale_t old_locale = _get_current_locale();
// uselocale sets the thread's locale by definition, so unconditionally use thread-local locale
_configthreadlocale( _ENABLE_PER_THREAD_LOCALE );
// uselocale sets all categories
setlocale( LC_ALL, newloc->locinfo->lc_category[LC_ALL].locale );
// uselocale returns the old locale_t
return old_locale;
// uselocale sets all categories
setlocale( LC_ALL, newloc->locinfo->lc_category[LC_ALL].locale );
// uselocale returns the old locale_t
return old_locale;
}
lconv *localeconv_l( locale_t loc )
{

View File

@@ -21,7 +21,7 @@ int asprintf(char **sptr, const char *__restrict__ fmt, ...)
va_start(ap, fmt);
int result = vasprintf(sptr, fmt, ap);
va_end(ap);
return result;
return result;
}
int vasprintf( char **sptr, const char *__restrict__ fmt, va_list ap )
{