Fix for logic of 'executing' state by Fred

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37763 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2014-03-25 10:29:35 +00:00
parent 51fc1f745e
commit 58f05fde30
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2014-03-25 Fred Kiefer <fredkiefer@gmx.de>
* Tools/NSOperation.m: ([_finish]) fix logic of 'executing' flag.
2014-03-19 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/gdomap.c: Don't open syslog connection until after we have
@ -10177,7 +10181,7 @@
which is used there were erroneously changed to assume an NSNumber.
This was causing a crash in various applications.
2009-04-24 Fred Morcos <fred.morcos"gmail.com>
2009-04-24 Fred Morcos <fred.morcos@gmail.com>
* Headers/Foundation/NSFileManager.h:
* Source/NSFileManager.m:

View file

@ -521,7 +521,7 @@ static NSArray *empty = nil;
[internal->lock lock];
if (NO == internal->finished)
{
if (NO == internal->executing)
if (YES == internal->executing)
{
[self willChangeValueForKey: @"isExecuting"];
[self willChangeValueForKey: @"isFinished"];