IBM Support

IV55195: KSH93:EXTRA SUBSCRIPT ADDED TO ASSOCIATIVE ARRAY BY ++ OPERATOR APPLIES TO AIX 7100-03

A fix is available

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • A subscript gets added incorrectly to an associative
    array when ++ operator is called:
    
    $ typeset -A foo
    $ typeset -A foo[bar]
    $ foo[bar][x]=2
    $ (( foo[bar][x]++ ))
    $ set | grep foo
    foo=([bar]=([0]='' [x]=2) [x]=1)
    
    Subscript x was added to foo and value is incremented,
    instead of the subscript [x] of bar value getting
    incremented.
    

Local fix

Problem summary

  • For ksh93 associative array, a subscript gets added
    incorrectly to an associative array when ++ operator
    is called.
    

Problem conclusion

  • Code changes are done to add subscript correctly when
    ++ operation done on assoicative array.
    

Temporary fix

Comments

  • 7100-03 - use AIX APAR IV55195
    7100-04 - use AIX APAR IV55345
    

APAR Information

  • APAR number

    IV55195

  • Reported component name

    AIX V7.1

  • Reported component ID

    5765H4000

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2014-02-07

  • Closed date

    2014-02-07

  • Last modified date

    2016-05-10

  • APAR is sysrouted FROM one or more of the following:

    IV52431

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    AIX V7.1

  • Fixed component ID

    5765H4000

Applicable component levels

  • R710 PSY U859733

       UP14/05/22 I 1000

PTF to Fileset Mapping



Document information

More support for: AIX Enterprise Edition

Software version: 710

Operating system(s): AIX

Reference #: IV55195

Modified date: 10 May 2016