+2004-08-06 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
+
+ * src/mcs51/gen.c (emitcode): fixed bug #992819
+
2004-08-05 Maarten Brock <sourceforge.brock AT dse.nl>
* src/pic/ralloc.c (deassignLR): allthough pic port is buggy already,
if (inst && *inst)
{
if (fmt && *fmt)
- sprintf (lb, "%s\t", inst);
+ SNPRINTF (lb, sizeof(lb), "%s\t", inst);
else
- sprintf (lb, "%s", inst);
- vsprintf (lb + (strlen (lb)), fmt, ap);
+ SNPRINTF (lb, sizeof(lb), "%s", inst);
+ tvsprintf (lb + strlen(lb), sizeof(lb) - strlen(lb), fmt, ap);
}
else
- vsprintf (lb, fmt, ap);
+ tvsprintf (lb, sizeof(lb), fmt, ap);
while (isspace (*lbp))
lbp++;