This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/3708] New: Array elements set to 0 or NULL should not be automatically deleted
- From: "mmlnx at us dot ibm dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 12 Dec 2006 21:24:32 -0000
- Subject: [Bug runtime/3708] New: Array elements set to 0 or NULL should not be automatically deleted
- Reply-to: sourceware-bugzilla at sourceware dot org
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.