Changes committed to git://oss.sgi.com/nathans/pcp-gui.git
qa/017.out | 23 ++++++++++------------
src/libqmc/qmc_indom.cpp | 48
+++++++++++++++++++----------------------------
2 files changed, 31 insertions(+), 40 deletions(-)
commit 779b5823e929e558d00e0c2bf24346e80af04ec1
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Wed Feb 11 09:13:39 2009 +1100
Fix issues in string handling in the QMC Indom code.
Asking for a (const char *) pointer into a QString can
be inherently dangerous it seems, as subseuent calls to
string routines may move the memory around underneath
you. We now use Qt routines for handling strings and
sub-strings, rather than open-coding using C strings.
|