2013-06-27
2013-06-27 09:59:14 by Henrik Grubbström (Grubba) <grubba@grubba.org>
-
6d239d613bd85d73eea7b7dc824c716986a537a6
(6 lines)
(+4/-2)
[
Show
| Annotate
]
Branch: 6d239d613bd85d73eea7b7dc824c716986a537a6
[compat][debug] Fix PikeCompile compat with Pike 7.9.
String.Buffer in Pike 7.9 contains a sprintf() function. Make sure
not to call it (due to our inherit) since we want the normal one.
Fixes "Bad argument 1 to add(). Expected string." where add()
was passed an int.
2:
//
// Created 1999-07-30 by Martin Stjernholm.
//
- // $Id: module.pmod,v 1.281 2002/04/17 00:44:04 mast Exp $
+ // $Id$
// Kludge: Must use "RXML.refs" somewhere for the whole module to be
// loaded correctly.
6870: Inside #if defined(DEBUG)
string errmsg = "Still got unresolved delayed resolve places:\n";
foreach (indices (delayed_resolve_places), mixed what) {
mixed index = m_delete (delayed_resolve_places, what);
- errmsg += replace (sprintf (" %O[%O]: %O", what, index, what[index]),
+ errmsg += replace (predef::sprintf (" %O[%O]: %O",
+ what, index, what[index]),
"\n", "\n ") + "\n";
}
error (errmsg);