Skip to content

Commit

Permalink
darwin hints querylocale race in earlier darwins?
Browse files Browse the repository at this point in the history
  • Loading branch information
khwilliamson committed Nov 17, 2023
1 parent 68f1131 commit b337d4f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hints/darwin.sh
Expand Up @@ -363,6 +363,8 @@ esac

# Darwin's querylocale() has races
ccflags="$ccflags -DNO_THREAD_SAFE_QUERYLOCALE"
# XXX
ccflags="$ccflags -DNO_POSIX_2008_LOCALE"

# But it doesn't much matter because the whole implementation has bugs [GH
# #21556]
Expand Down Expand Up @@ -536,3 +538,5 @@ d_mkostemp=undef
# Apparently the MACH-O format can't support _Thread_local in shared objects,
# but clang isn't wise to this, so our probe works but the build fails...
d_thread_local=undef

d_querylocale=undef

0 comments on commit b337d4f

Please sign in to comment.