[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: IPv6-porting project update
From: Thiago Macieira <thiagom () mail ! com>
Date: 2001-01-12 1:15:03
[Download RAW message or body]
Harri Porten wrote:
> Tried QString::fromLocal8Bit() ? perror() is a system call and won't
> return QString any time soon.
I meant the perror iomanip that is used in kdbgstream. This one:
kdbgstream &perror( kdbgstream &s);
I hope this solves it then. It worked fine here, with proper accents
--
Thiago Macieira - UFOT Registry number: 1001
thiagom@mail.com talha@geocities.com
ICQ UIN: 1967141 PGP: 0x8F2978D5 and 0xEA9037A5
Registered Linux user #65028
183/379. Is that why you came down so hard on him? A formal reprimand
for being intimate with a young woman? -- Cmdr. Chakotay, "The
Disease"
---------------------------------------------------------------------
Index: kdebug.cpp
===================================================================
RCS file: /home/kde/kdelibs/kdecore/kdebug.cpp,v
retrieving revision 1.85
diff -u -3 -p -r1.85 kdebug.cpp
--- kdebug.cpp 2000/12/28 20:17:25 1.85
+++ kdebug.cpp 2001/01/12 01:11:21
@@ -409,7 +409,7 @@ void kDebugPError( unsigned short area,
kDebugError( area, "%s: %s", buf, strerror(errno) );
}
-kdbgstream &perror( kdbgstream &s) { return s << " " << strerror(errno); }
+kdbgstream &perror( kdbgstream &s) { return s << " " <<
QString::fromLocal8Bit(strerror(errno)); }
kdbgstream kdDebug(int area) { return kdbgstream(area, KDEBUG_INFO); }
kdbgstream kdDebug(bool cond, int area) { if (cond) return kdbgstream(area,
KDEBUG_INFO); else return kdbgstream(0, 0, false); }
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic