mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Support xml property list parsing when libxml2 is not available.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24266 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6e173f6e98
commit
f37b00aa8f
4 changed files with 393 additions and 76 deletions
|
@ -271,7 +271,11 @@ static BOOL setSharedDefaults = NO; /* Flag to prevent infinite recursion */
|
|||
[sharedDefaults synchronize]; // Ensure changes are written.
|
||||
regDefs = RETAIN([sharedDefaults->_tempDomains
|
||||
objectForKey: NSRegistrationDomain]);
|
||||
|
||||
/* To ensure that we don't try to synchronise the old defaults to disk
|
||||
* after creating the new ones, remove as housekeeping notification
|
||||
* observer.
|
||||
*/
|
||||
[[NSNotificationCenter defaultCenter] removeObserver: sharedDefaults];
|
||||
setSharedDefaults = NO;
|
||||
DESTROY(sharedDefaults);
|
||||
if (regDefs != nil)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue