summaryrefslogtreecommitdiff
path: root/hints/freebsd.sh
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2018-02-14 21:18:52 -0700
committerKarl Williamson <khw@cpan.org>2018-02-18 09:02:09 -0700
commite8409b32712c2243f980593b74096eee50e2f65a (patch)
treebe1c199c831cabc1eb551529b7c9fd136c123868 /hints/freebsd.sh
parent8fc14efc8e8ce14fba31220281badcf4cfa4ce42 (diff)
downloadperl-e8409b32712c2243f980593b74096eee50e2f65a.tar.gz
Revise when POSIX 2008 ops on FreeBSD
It appears that bugs in FreeBSD are not fully fixed until later than we thought, and so this commit updates the hints file to exclude POSIX 2008 operations on releases previously permitted. See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211743
Diffstat (limited to 'hints/freebsd.sh')
-rw-r--r--hints/freebsd.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/hints/freebsd.sh b/hints/freebsd.sh
index 07eab0e252..bf89069437 100644
--- a/hints/freebsd.sh
+++ b/hints/freebsd.sh
@@ -324,11 +324,13 @@ d_printf_format_null='undef'
#1200004 and up
#1100502 >= version < 1200000
#1003507 >= version < 1100000
+# Experiments have shown that this doesn't fully work. The first kernel we know it works is 1200056
FREEBSD_KERNEL_VERSION=`uname -U`
-if [ $FREEBSD_KERNEL_VERSION -lt 1003507 ] || \
- [ $FREEBSD_KERNEL_VERSION -ge 1100000 ] && [ $FREEBSD_KERNEL_VERSION -lt 1100502 ] || \
- [ $FREEBSD_KERNEL_VERSION -ge 1200000 ] && [ $FREEBSD_KERNEL_VERSION -lt 1200004 ]
+#if [ $FREEBSD_KERNEL_VERSION -lt 1003507 ] || \
+# [ $FREEBSD_KERNEL_VERSION -ge 1100000 ] && [ $FREEBSD_KERNEL_VERSION -lt 1100502 ] || \
+# [ $FREEBSD_KERNEL_VERSION -ge 1200000 ] && [ $FREEBSD_KERNEL_VERSION -lt 1200004 ]
+if [ $FREEBSD_KERNEL_VERSION -lt 1200056 ]
then
d_uselocale='undef'
fi