This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/11963] staprun uses non-standard sscanf extension "%as"
- From: "grant dot b dot edwards at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 31 Aug 2010 22:18:26 -0000
- Subject: [Bug runtime/11963] staprun uses non-standard sscanf extension "%as"
- References: <20100831221451.11963.grant.b.edwards@gmail.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- 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.