-
Notifications
You must be signed in to change notification settings - Fork 505
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
7 additions
and
7 deletions.
There are no files selected for viewing
14 changes: 7 additions & 7 deletions
14
L/LLVM/LLVM_full@16/bundled/libcxx_patches/7005_libcxx_musl.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; |