[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: [PATCH] solaris 8 printing crash
From: Tom Dyas <tdyas () globix ! com>
Date: 2001-08-03 16:29:20
[Download RAW message or body]
The attached patch converts some qDebug() calls into kdDebug() form. The
qDebug()'s were causing core dumps on Solaris 8 in some instances. I was
unable to print from KDE (CVS snapshot 7/31/01) until I made the
changes.
["kdeprint.diff" (text/plain)]
--- kdelibs/kdeprint/kprinter.cpp.orig Fri Aug 3 12:08:52 2001
+++ kdelibs/kdeprint/kprinter.cpp Fri Aug 3 12:15:53 2001
@@ -593,9 +593,9 @@
void dumpOptions(const QMap<QString,QString>& opts)
{
- qDebug("********************");
+ kdDebug() << "********************" << endl;
for (QMap<QString,QString>::ConstIterator it=opts.begin(); it!=opts.end(); ++it)
- qDebug("%s = %s",it.key().latin1(),it.data().latin1());
+ kdDebug() << it.key() << " = " << it.data() << endl;
}
KPrinterImpl* KPrinter::implementation() const
--- kdelibs/kdeprint/kprinterimpl.cpp.orig Tue Jun 26 03:34:08 2001
+++ kdelibs/kdeprint/kprinterimpl.cpp Fri Aug 3 12:16:23 2001
@@ -147,7 +147,7 @@
if (QFile::exists(*it))
printfiles.append(*it);
else
- qDebug("File not found: %s",(*it).latin1());
+ kdDebug() << "File not found: " << (*it) << endl;
if (printfiles.count() > 0)
{
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic