diff --git a/ChangeLog b/ChangeLog index 5bb5c2931..b4994af30 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2011-10-17 Wolfgang Sourdeau + * OpenChange/MAPIStoreSOGo.m (sogo_backend_init): invoke + -[NSProcessInfo initializeWithArguments:count:environment:] in + order to avoid an infinite loop with GNUstep occurring under + strange circumstances. + * OpenChange/MAPIStoreMapping.m (-initForUsername:withIndexing:): attach the struct tdb_wrap *indexing to a new memCtx ivar, in order to make sure its value is retained until the release of the diff --git a/OpenChange/MAPIStoreSOGo.m b/OpenChange/MAPIStoreSOGo.m index edd758aad..6027e12a5 100644 --- a/OpenChange/MAPIStoreSOGo.m +++ b/OpenChange/MAPIStoreSOGo.m @@ -77,6 +77,10 @@ sogo_backend_init (void) the encoding specified in the file. */ putenv ("GNUSTEP_STRING_ENCODING=NSUTF8StringEncoding"); + [NSProcessInfo initializeWithArguments: NULL + count: 0 + environment: environ]; + [SOGoSystemDefaults sharedSystemDefaults]; // /* We force the plugin to base its configuration on the SOGo tree. */