This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug translator/10242] sprintf does not recognize "%-*s" conversion specifier


------- Additional Comments From jistone at redhat dot com  2009-06-05 19:06 -------
Can you give a more complete example of what's not working for you?  I tried the
following and it looks fine:

$ stap -e 'probe begin { aff = "aff"; s = sprintf("%-*s", 23, aff);
printf("|%s|\n", s); exit() }'
|aff                    |


-- 


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

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]