[MacPorts] #36682: ksh93; typeset does not localize shell variable inside function

MacPorts noreply at macports.org
Sun Oct 21 13:08:12 PDT 2012


#36682: ksh93; typeset does not localize shell variable inside function
--------------------------+--------------------------------
 Reporter:  ruttenberg@…  |      Owner:  macports-tickets@…
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.1.2
 Keywords:                |       Port:  ksh93
--------------------------+--------------------------------
 When a shell variable is "typeset" inside a function, changing the value
 inside the function should not affect the value of the variable outside of
 the function. This feature works properly in Solaris.

-- 
Ticket URL: <https://trac.macports.org/ticket/36682>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list