*Synopsis*: compound v=( integer -A ar=( [aa]=4 [bb]=9 ) ; ) ; print -C v 
prints trash

CR 6944386 changed on Apr 16 2010 by <User 1-1SURPB>

=== Field ============ === New Value ============= === Old Value =============

Category               shell                       opensolaris                
SubCategory            korn93                      triage-queue               
====================== =========================== ===========================

     
*Change Request ID*: 6944386

*Synopsis*: compound v=( integer -A ar=( [aa]=4 [bb]=9 ) ; ) ; print -C v 
prints trash

  Product: solaris
  Category: shell
  Subcategory: korn93
  Type: Defect
  Subtype: 
  Status: 1-Dispatched
  Substatus: 
  Priority: 2-High
  Introduced In Release: 
  Introduced In Build: 
  Responsible Engineer: 
  Keywords: opensolaris

=== *Description* ============================================================
Category
    shell
Sub-Category
    korn93
Description
    ksh93 print -v or -C print trash when an integer array is in a compound 
variable:
ksh93 -c 'compound v=( integer -A ar=( [aa]=4 [bb]=9 ) ; ) ; print -v v'
(
        typeset -A -l -i ar=(
                [aa]=$'\004'
                [bb]=$'\t'
        )
)
Frequency
    Always
Regression
    no
Steps to Reproduce
    compound v=( integer -A ar=( [aa]=4 [bb]=9 ) ; ) ; print -v v
Expected Result
    (
        typeset -A -l -i ar=(
                [aa]=4
                [bb]=9
        )
)
Actual Result
    (
        typeset -A -l -i ar=(
                [aa]=$'\004'
                [bb]=$'\t'
        )
)
Error Message(s)
    -
Test Case
    -
Workaround
    -
Additional configuration information
    ksh93 --version
  version         sh (AT&T Research) 93t+ 2010-03-05
ON b134

*** (#1 of 1): 2010-04-16 00:56:24 GMT+00:00 <User 1-9HOB9N>


=== *Public Comments* ========================================================

=== *Workaround* =============================================================

=== *Additional Details* =====================================================
        Targeted Release: 
        Commit To Fix In Build: 
        Fixed In Build: 
        Integrated In Build: 
        Verified In Build: 
  See Also: 6939349
  Duplicate of: 
  Hooks:
        Hook1: 
        Hook2: 
        Hook3: 
        Hook4: 
        Hook5: 
        Hook6: <email address omitted>
  Program Management: 
  Root Cause: 
  Fix Affects Documentation: No
  Fix Affects Localization: No

=== *History* ================================================================
        Date Submitted: 2010-04-16 00:56:24 GMT+00:00
        Submitted By: <User 1-9HOB9N>

        Status Changed    Date Updated                  Updated By


=== *Service Request* ========================================================
        Impact: Critical
        Functionality: Primary
        Severity: 1
        Product Name: solaris
        Product Release: solaris_nevada
        Product Build: snv_134
        Operating System: solaris_nevada
        Hardware: generic
        Submitted Date: 2010-04-16 00:56:24 GMT+00:00


=== *Multiple Release (MR) Cluster* - 0 ======================================

_______________________________________________
ksh93-integration-discuss mailing list
ksh93-integration-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/ksh93-integration-discuss

Reply via email to