[MacPorts] #64181: ksh @2020.0.0_1 : typeset -f crashes the shell

MacPorts noreply at macports.org
Sat Dec 11 08:21:40 UTC 2021


#64181: ksh @2020.0.0_1 : typeset -f crashes the shell
-----------------------+------------------------
  Reporter:  posguy99  |      Owner:  ryandesign
      Type:  defect    |     Status:  accepted
  Priority:  Low       |  Milestone:
 Component:  ports     |    Version:  2.7.1
Resolution:            |   Keywords:  bigsur
      Port:  ksh       |
-----------------------+------------------------
Changes (by ryandesign):

 * cc: ryandesign@… (removed)
 * status:  new => accepted
 * owner:  (none) => ryandesign


Comment:

 Here's what I see:

 {{{
 $ /opt/local/bin/ksh
 [033[01;32m]u at h [033[01;36m]W $ [033[00m]function ver {
 >     printf 'ksh: %s\n' "${KSH_VERSION:-unknown}"
 > }
 [033[01;32m]u at h [033[01;36m]W $ [033[00m]ver
 ksh: Version A 2020.0.0
 [033[01;32m]u at h [033[01;36m]W $ [033[00m]typeset -f
 function ver {
     printf 'ksh: %s\n' "${KSH_VERSION:-unknown}"
 }
 [033[01;32m]u at h [033[01;36m]W $ [033[00m]
 }}}

 So, no crash at `typeset -f` for me on Catalina, but I don't need to
 reproduce your crash; I already agree the ksh and ksh-devel ports should
 go away. I'll update ksh93 to the new fork you mention and add a
 ksh93-devel to track its development between releases, and mark ksh and
 ksh-devel replaced by the new ones.

-- 
Ticket URL: <https://trac.macports.org/ticket/64181#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list