[Bug runtime/11963] staprun uses non-standard sscanf extension "%as"

grant dot b dot edwards at gmail dot com sourceware-bugzilla@sourceware.org
Tue Aug 31 22:18:00 GMT 2010


------- Additional Comments From grant dot b dot edwards at gmail dot com  2010-08-31 22:18 -------
Created an attachment (id=4959)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=4959&action=view)
Fix staprun.c so that it uses standard "%s" sscanf format instead of "%as"

While the patch uses the standard "%s" instead of the glibc-specific
"%s", it does use a variable-length C array, which I gather is a gcc
extension until you get to C99.

There are plenty of libc's but there's only one C compiler...  ;)


-- 


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

------- 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