Skip to content

Commit

Permalink
Disable SHOPT_PFSH in feature test (re: f089d79)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
McDutchie committed Jan 18, 2021
1 parent f089d79 commit 8e8ff5f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/cmd/ksh93/features/options
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,11 @@ tst cross{
case `echo a | tr a '\012' | wc -l` in
*1*) option MULTIBYTE 0 ;;
esac
test -x /bin/pfexec -o -x /usr/bin/pfexec
option PFSH $?

# deprecated: Solaris disabled SHOPT_PFSH in its build
#test -x /bin/pfexec -o -x /usr/bin/pfexec
#option PFSH $?

/bin/test ! -l . 2> /dev/null
option TEST_L $?
test -f /etc/ksh.kshrc -o -f /etc/bash.bashrc &&
Expand Down

0 comments on commit 8e8ff5f

Please sign in to comment.