summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--translate.cxx2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 5c356d0d..c3e05bd6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-04-10 Martin Hunt <hunt@redhat.com>
+
+ * translate.cxx (visit_print_format): Call
+ _stp_snprintf() instead of snprintf().
+
2006-04-09 Martin Hunt <hunt@redhat.com>
Add binary printf support.
diff --git a/translate.cxx b/translate.cxx
index d1f4ca6a..cbdf39f9 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));