[Bug translator/11346] @defined() with '--skip-badvars' doesn't work correctly

fche at redhat dot com sourceware-bugzilla@sourceware.org
Wed Mar 3 22:45:00 GMT 2010


------- Additional Comments From fche at redhat dot com  2010-03-03 22:45 -------
> Well, it's "correct" in that $foo is "defined" to 0 when it doesn't exist -- but
> I agree this fails to DWIM.  I think we can just bypass the badvar replacement
> while inside a @defined traversal.

tapsets.cxx:2611 ish intends to set the policy w.r.t. conflicting --skip-badvars
vs @defined().  We might just flip it around.


-- 


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

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



More information about the Systemtap mailing list