1 --- Ice-3.4.2/py/modules/IcePy/Operation.cpp.orig 2012-11-19 01:04:19.920721630 +0100
2 +++ Ice-3.4.2/py/modules/IcePy/Operation.cpp 2012-11-19 01:05:20.854052813 +0100
4 // IllegalArgumentException can propagate directly.
5 // (Raised by checkAsyncTwowayOnly)
7 - PyErr_Format(PyExc_RuntimeError, STRCAST(ex.reason().c_str()));
8 + PyErr_Format(PyExc_RuntimeError, "%s", STRCAST(ex.reason().c_str()));
11 catch(const Ice::Exception&)
14 catch(const IceUtil::IllegalArgumentException& ex)
16 - PyErr_Format(PyExc_RuntimeError, STRCAST(ex.reason().c_str()));
17 + PyErr_Format(PyExc_RuntimeError, "%s", STRCAST(ex.reason().c_str()));
19 catch(const Ice::Exception& ex)
23 catch(const IceUtil::IllegalArgumentException& ex)
25 - PyErr_Format(PyExc_RuntimeError, STRCAST(ex.reason().c_str()));
26 + PyErr_Format(PyExc_RuntimeError, "%s", STRCAST(ex.reason().c_str()));
28 catch(const Ice::Exception& ex)
30 --- Ice-3.4.2/rb/src/IceRuby/Operation.cpp~ 2011-06-15 21:44:00.000000000 +0200
31 +++ Ice-3.4.2/rb/src/IceRuby/Operation.cpp 2012-11-19 01:14:40.380699743 +0100
34 if(!_deprecateMessage.empty())
36 - rb_warning(_deprecateMessage.c_str());
37 + rb_warning("%s", _deprecateMessage.c_str());
38 _deprecateMessage.clear(); // Only show the warning once.