From: hunt Date: Tue, 11 Apr 2006 04:27:01 +0000 (+0000) Subject: 2006-04-10 Martin Hunt X-Git-Tag: release-0.5.7~49 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=048c97644c4a6bff95de01e4e74b7343775d24b2;p=systemtap.git 2006-04-10 Martin Hunt * translate.cxx (visit_print_format): Call _stp_snprintf() instead of snprintf(). --- diff --git a/ChangeLog b/ChangeLog index 5c356d0db..c3e05bd6e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-04-10 Martin Hunt + + * translate.cxx (visit_print_format): Call + _stp_snprintf() instead of snprintf(). + 2006-04-09 Martin Hunt Add binary printf support. diff --git a/translate.cxx b/translate.cxx index d1f4ca6ae..cbdf39f9e 100644 --- a/translate.cxx +++ b/translate.cxx @@ -3511,7 +3511,7 @@ c_unparser::visit_print_format (print_format* e) o->newline() << "_stp_printf ("; } else - o->newline() << "snprintf (" << res.qname() << ", MAXSTRINGLEN, "; + o->newline() << "_stp_snprintf (" << res.qname() << ", MAXSTRINGLEN, "; o->line() << lex_cast_qstring(print_format::components_to_string(components));