The branch stable/15 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=b34fd6017a572b3f62885cc8976df7c2449834cf
commit b34fd6017a572b3f62885cc8976df7c2449834cf Author: Konstantin Belousov <[email protected]> AuthorDate: 2026-07-05 02:50:27 +0000 Commit: Konstantin Belousov <[email protected]> CommitDate: 2026-07-12 08:34:45 +0000 libc locale/localeconv.c: use release semantic when clearing locale_changed PR: 296410 (cherry picked from commit 4efbcf36a0d49ab142023a767871532f515f1381) --- lib/libc/locale/localeconv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libc/locale/localeconv.c b/lib/libc/locale/localeconv.c index 2cd629e8210d..3efd95fc5452 100644 --- a/lib/libc/locale/localeconv.c +++ b/lib/libc/locale/localeconv.c @@ -88,7 +88,7 @@ localeconv_l(locale_t loc) M_ASSIGN_CHAR(int_n_sep_by_space); M_ASSIGN_CHAR(int_p_sign_posn); M_ASSIGN_CHAR(int_n_sign_posn); - atomic_store_int(&loc->monetary_locale_changed, 0); + atomic_store_rel_int(&loc->monetary_locale_changed, 0); } if (atomic_load_acq_int(&loc->numeric_locale_changed) != 0) { @@ -101,7 +101,7 @@ localeconv_l(locale_t loc) N_ASSIGN_STR(decimal_point); N_ASSIGN_STR(thousands_sep); N_ASSIGN_STR(grouping); - atomic_store_int(&loc->numeric_locale_changed, 0); + atomic_store_rel_int(&loc->numeric_locale_changed, 0); } return ret;
