This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug tapsets/10627] adding string comparison to tapset
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 22 Oct 2009 00:14:59 -0000
- Subject: [Bug tapsets/10627] adding string comparison to tapset
- References: <20090911150134.10627.rgrunber@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From fche at redhat dot com 2009-10-22 00:14 -------
Thanks Wenji & Roland, but strncmp() seems like the wrong thing here.
Remember, we're not trying to recreate libc <string.h>, since we're
starting from awk and such. IMO WONTFIX.
In any case they'd have to be MAXSTRINGLEN-clamped. Also:
function strncmp(a,b,n) {return substr(a,0,n) != substr(b,0,n)}
--
http://sourceware.org/bugzilla/show_bug.cgi?id=10627
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.