Skip to content

Commit 8e8ff5f

Browse files
committed
Disable SHOPT_PFSH in feature test (re: f089d79)
src/cmd/ksh93/features/options: - To make sure SHOPT_PFSH stays disabled on Solaris, we also need to stop this feature test from re-enabling it.
1 parent f089d79 commit 8e8ff5f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/cmd/ksh93/features/options

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,11 @@ tst cross{
2929
case `echo a | tr a '\012' | wc -l` in
3030
*1*) option MULTIBYTE 0 ;;
3131
esac
32-
test -x /bin/pfexec -o -x /usr/bin/pfexec
33-
option PFSH $?
32+
33+
# deprecated: Solaris disabled SHOPT_PFSH in its build
34+
#test -x /bin/pfexec -o -x /usr/bin/pfexec
35+
#option PFSH $?
36+
3437
/bin/test ! -l . 2> /dev/null
3538
option TEST_L $?
3639
test -f /etc/ksh.kshrc -o -f /etc/bash.bashrc &&

0 commit comments

Comments
 (0)