mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
Minor fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16372 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ec89a4213a
commit
f00e78a769
2 changed files with 9 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2003-04-06 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSThread.m: (GSPerformHolder) execute perform operations
|
||||
in the same order in which they were submitted.
|
||||
|
||||
2003-04-04 Stephane Corthesy <stephane@sente.ch>
|
||||
|
||||
* macosx/config.h, macosx/preface.h: Update.
|
||||
|
|
|
@ -725,7 +725,8 @@ static NSDate *theFuture;
|
|||
forMode: (NSString*)mode
|
||||
{
|
||||
NSRunLoop *loop = [NSRunLoop currentRunLoop];
|
||||
unsigned c;
|
||||
unsigned int i;
|
||||
unsigned int c;
|
||||
char dummy;
|
||||
|
||||
read(inputFd, &dummy, 1);
|
||||
|
@ -733,9 +734,9 @@ static NSDate *theFuture;
|
|||
[subthreadsLock lock];
|
||||
|
||||
c = [perfArray count];
|
||||
while (c-- > 0)
|
||||
for (i = 0; i < c; i++)
|
||||
{
|
||||
GSPerformHolder *h = [perfArray objectAtIndex: c];
|
||||
GSPerformHolder *h = [perfArray objectAtIndex: i];
|
||||
|
||||
[loop performSelector: @selector(fire)
|
||||
target: h
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue