hamilton@uiucuxc.CSO.UIUC.EDU (08/03/86)
the version of CreatePort() listed in appendix F (p3) of the 1.1 RKM
(and the one that came with aztec 3.20a) performs a NewList() on the
mp_MsgList structure _only if 'name' is NULL_. that doesn't look right
to me, so i promptly deleted the "else".
i haven't verified it, but i strongly suspect that adding messages to
(and later removing them from) an uninitialized (ie, all zero) MsgList
can produce crashes. when a message is added to such a List, won't
the longwords at locations 0 and 4 be treated as the link pointers of
a Node? and everybody expects location 4 to point to execbase...
however, i see people using named ports all the time, with apparently
no problems. have i jumped to conclusions?
wayne hamilton
U of Il and US Army Corps of Engineers CERL
UUCP: {ihnp4,pur-ee,convex}!uiucdcs!uiucuxc!hamilton
ARPA: hamilton%uiucuxc@a.cs.uiuc.edu USMail: Box 476, Urbana, IL 61801
CSNET: hamilton%uiucuxc@uiuc.csnet Phone: (217)333-8703hamilton@uiucuxc.CSO.UIUC.EDU (08/03/86)
re: CreatePort silly me. AddPort() does the NewList(). never mind. wayne hamilton