Skip to content

Commit

Permalink
[LLVM_full] Refresh libcxx patch
Browse files Browse the repository at this point in the history
  • Loading branch information
giordano committed May 22, 2023
1 parent 623c13f commit e07864f
Showing 1 changed file with 7 additions and 7 deletions.
@@ -1,22 +1,22 @@
diff --git a/include/locale b/include/locale
index 2043892fa2d..4af51464208 100644
index 874866f69822..8206013a0719 100644
--- a/include/locale
+++ b/include/locale
@@ -737,7 +737,7 @@ __num_get_signed_integral(const char* __a, const char* __a_end,
typename remove_reference<decltype(errno)>::type __save_errno = errno;
@@ -758,7 +758,7 @@ __num_get_signed_integral(const char* __a, const char* __a_end,
__libcpp_remove_reference_t<decltype(errno)> __save_errno = errno;
errno = 0;
char *__p2;
- long long __ll = strtoll_l(__a, &__p2, __base, _LIBCPP_GET_C_LOCALE);
+ long long __ll = strtoll(__a, &__p2, __base);
typename remove_reference<decltype(errno)>::type __current_errno = errno;
__libcpp_remove_reference_t<decltype(errno)> __current_errno = errno;
if (__current_errno == 0)
errno = __save_errno;
@@ -777,7 +777,7 @@ __num_get_unsigned_integral(const char* __a, const char* __a_end,
typename remove_reference<decltype(errno)>::type __save_errno = errno;
@@ -798,7 +798,7 @@ __num_get_unsigned_integral(const char* __a, const char* __a_end,
__libcpp_remove_reference_t<decltype(errno)> __save_errno = errno;
errno = 0;
char *__p2;
- unsigned long long __ll = strtoull_l(__a, &__p2, __base, _LIBCPP_GET_C_LOCALE);
+ unsigned long long __ll = strtoull(__a, &__p2, __base);
typename remove_reference<decltype(errno)>::type __current_errno = errno;
__libcpp_remove_reference_t<decltype(errno)> __current_errno = errno;
if (__current_errno == 0)
errno = __save_errno;

0 comments on commit e07864f

Please sign in to comment.