[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Desperate in need of help: Very very weird problem with sscanf
From: Sebastian =?iso-8859-1?q?Tr=FCg?= <trueg () kde ! org>
Date: 2009-08-19 18:41:19
Message-ID: 200908192041.19381.trueg () kde ! org
[Download RAW message or body]
On Wednesday 19 August 2009 17:21:26 Rafael Fernández López wrote:
> Hi,
>
> > I am having a look at it. It doesn't seem to be libnepomuk, but
> > libkdecore.
>
> Pretty strange. My only guess at the moment is that in kdecore there could
> be a static symbol (or extern) defined with the same name as some symbol
> used by sscanf (and being initializated on declaration)...
>
> I am curious about this issue... If someone finds something, please step
> forward ;) /me is still having a look though
The following patch "fixes" the issue. I do not know enough about locales to
make an informed decision about a real solution.
--- kdecore/localization/kcatalog.cpp (revision 1013365)
+++ kdecore/localization/kcatalog.cpp (working copy)
@@ -45,7 +45,7 @@
s_localeSet = true;
return 1;
}
-Q_CONSTRUCTOR_FUNCTION(kInitializeLocale)
+//Q_CONSTRUCTOR_FUNCTION(kInitializeLocale)
// not defined on win32 :(
#ifdef _WIN32
Apparently LC_ALL is reset once kdecore is loaded.
Cheers,
Sebastian
>> Visit http://mail.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