mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Fix error sending NSPortMessage objects which have not reserved space in their first component.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25811 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
1957e4a9b4
commit
dcf09f1c31
3 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
2007-12-31 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSMessagePort.m:
|
||||
* Source/NSSocketPort.m:
|
||||
Fix error sending NSPortMessage objects which have not reserved
|
||||
space in their first component.
|
||||
|
||||
2007-12-26 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* config/config.joinable.m: test for joinable threads.
|
||||
|
|
|
@ -1843,6 +1843,7 @@ typedef struct {
|
|||
* a maximum of NETBLOCK bytes. This is to try to get a single,
|
||||
* efficient write operation if possible.
|
||||
*/
|
||||
c = [components count];
|
||||
for (i = 1; i < c; i++)
|
||||
{
|
||||
id o = [components objectAtIndex: i];
|
||||
|
|
|
@ -2384,6 +2384,7 @@ static Class tcpPortClass;
|
|||
* a maximum of NETBLOCK bytes. This is to try to get a single,
|
||||
* efficient write operation if possible.
|
||||
*/
|
||||
c = [components count];
|
||||
for (i = 1; i < c; i++)
|
||||
{
|
||||
id o = [components objectAtIndex: i];
|
||||
|
|
Loading…
Reference in a new issue