Skip to content

Commit

Permalink
Don't use POSIX 2008 locale on Dragonfly
Browse files Browse the repository at this point in the history
Tony Cook has shown with a C program that it leaks.
https://bugs.dragonflybsd.org/issues/3361
  • Loading branch information
khwilliamson committed Nov 16, 2023
1 parent 0fc8a78 commit ae3e9dd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions hints/dragonfly.sh
Expand Up @@ -87,3 +87,8 @@ case "$cc" in
d_dlopen='define'
;;
esac

# Dragonfly leaks with a newlocale/freelocale combination. See
# https://bugs.dragonflybsd.org/issues/3361
ccflags="$ccflags -DNO_POSIX_2008"

0 comments on commit ae3e9dd

Please sign in to comment.