This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug runtime/3708] New: Array elements set to 0 or NULL should not be automatically deleted


Currently, if you set an array element to 0 or NULL, it's automatically deleted
from the array.  This behavior is not intuitive to a C programmer.  I've run
into situations where I need to store 0's and NULL's in arrays and have to use
some fairly ugly workarounds.  Given that we can explicitly delete an array
element with "delete array[n]", I don't think the auto deletion feature is
needed or desirable anymore. Unless someone can think of something I'm not
considering, please remove it.

-- 
           Summary: Array elements set to 0 or NULL should not be
                    automatically deleted
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: runtime
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: mmlnx at us dot ibm dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=3708

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]