mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-04 10:30:47 +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/branches/stable@25812 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
739991d34a
commit
a28048e566
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-29 Adam Fedor <fedor@gnu.org>
|
2007-12-29 Adam Fedor <fedor@gnu.org>
|
||||||
|
|
||||||
* Version 1.14.2
|
* Version 1.14.2
|
||||||
|
|
|
@ -1843,6 +1843,7 @@ typedef struct {
|
||||||
* a maximum of NETBLOCK bytes. This is to try to get a single,
|
* a maximum of NETBLOCK bytes. This is to try to get a single,
|
||||||
* efficient write operation if possible.
|
* efficient write operation if possible.
|
||||||
*/
|
*/
|
||||||
|
c = [components count];
|
||||||
for (i = 1; i < c; i++)
|
for (i = 1; i < c; i++)
|
||||||
{
|
{
|
||||||
id o = [components objectAtIndex: 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,
|
* a maximum of NETBLOCK bytes. This is to try to get a single,
|
||||||
* efficient write operation if possible.
|
* efficient write operation if possible.
|
||||||
*/
|
*/
|
||||||
|
c = [components count];
|
||||||
for (i = 1; i < c; i++)
|
for (i = 1; i < c; i++)
|
||||||
{
|
{
|
||||||
id o = [components objectAtIndex: i];
|
id o = [components objectAtIndex: i];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue