discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSUserDefaults locking bug?


From: Wim Oudshoorn
Subject: NSUserDefaults locking bug?
Date: Fri, 26 Jan 2007 14:46:40 +0100
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/22.0.50 (darwin)

I assume that the point I raised below is potientally a very annoying bug.
Could someone who knows this code better check if that is the case?

Wim Oudshoorn <woudshoo@xs4all.nl> writes:
>
>   2 - the check 
>           
>                 if ([self lockDefaultsFile: &wasLocked] == NO)
>                    {
>                         return NO;
>                    }
>
>       in NSUserDefaults.m around line 1610
>       returns NO, and forgets to unlock _lock.  This will later
>       lead to problems with locking.  However still your stacktrace
>       does not seem consistent with this option.   But still
>       this warrants some investigation! (I think this is a bug.)


Wim Oudshoorn.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]