[Bug translator/13283] script -> C translator incorrect comparison (using ==) of kernel_string() operands
david.pat.skindell at hp dot com
sourceware-bugzilla@sourceware.org
Wed Oct 12 17:55:00 GMT 2011
http://sourceware.org/bugzilla/show_bug.cgi?id=13283
--- Comment #7 from David Skindell <david.pat.skindell at hp dot com> 2011-10-12 17:53:16 UTC ---
Comment on attachment 5978
--> http://sourceware.org/bugzilla/attachment.cgi?id=5978
Script to change values in call and compare at return
Output:
dev1.scsi3addr[0]=a, dev2.scsi3addr[0]=b
Comparing using kernel_string() == kernel_string()
Equal? 1
var1 = kernel_string($dev1->scsi3addr)
var2 = kernel_string($dev2->scsi3addr)
Comparing using var1 == var2
Equal? 0
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Systemtap
mailing list