Index: ossp-pkg/pth/ChangeLog RCS File: /v/ossp/cvs/ossp-pkg/pth/ChangeLog,v rcsdiff -q -kk '-r1.575' '-r1.576' -u '/v/ossp/cvs/ossp-pkg/pth/ChangeLog,v' 2>/dev/null --- ChangeLog 2002/10/20 16:22:03 1.575 +++ ChangeLog 2002/10/23 13:55:49 1.576 @@ -21,6 +21,11 @@ Changes between 1.4.1 and 1.5.0 (27-Jan-2002 to xx-Oct-2002) + *) Allow a NULL name for pth_msgport_create() in order to + support locally scoped message ports which are not searched via + pth_msgport_find(). + [Ralf S. Engelschall, Matthew Mondor ] + *) Added "hard syscall mapping" support for using SYS___sigprocmask14 instead of SYS_sigprocmask on NetBSD. [Nick Hudson ] Index: ossp-pkg/pth/pth.pod RCS File: /v/ossp/cvs/ossp-pkg/pth/pth.pod,v rcsdiff -q -kk '-r1.154' '-r1.155' -u '/v/ossp/cvs/ossp-pkg/pth/pth.pod,v' 2>/dev/null --- pth.pod 2002/10/15 20:34:22 1.154 +++ pth.pod 2002/10/23 13:55:49 1.155 @@ -1266,9 +1266,10 @@ =item pth_msgport_t B(const char *I); -This returns a pointer to a new message port with name I. The I -can be used by other threads via pth_msgport_find(3) to find the message port -in case they do not know directly the pointer to the message port. +This returns a pointer to a new message port. If name I +is not C, the I can be used by other threads via +pth_msgport_find(3) to find the message port in case they do not know +directly the pointer to the message port. =item void B(pth_msgport_t I); Index: ossp-pkg/pth/pth_msg.c RCS File: /v/ossp/cvs/ossp-pkg/pth/pth_msg.c,v rcsdiff -q -kk '-r1.22' '-r1.23' -u '/v/ossp/cvs/ossp-pkg/pth/pth_msg.c,v' 2>/dev/null --- pth_msg.c 2002/01/27 11:03:40 1.22 +++ pth_msg.c 2002/10/23 13:55:49 1.23 @@ -46,9 +46,7 @@ { pth_msgport_t mp; - /* check input */ - if (name == NULL) - return_errno(NULL, EINVAL); + /* Notice: "name" is allowed to be NULL */ /* allocate message port structure */ if ((mp = (pth_msgport_t)malloc(sizeof(struct pth_msgport_st))) == NULL)