newt 9996 src/simh/scp.c char *newt; newt 10001 src/simh/scp.c newt = (char *)realloc (topic->text, topic->len + len +1); newt 10002 src/simh/scp.c if (!newt) { newt 10007 src/simh/scp.c topic->text = newt; newt 10008 src/simh/scp.c memcpy (newt + topic->len, text, len); newt 10010 src/simh/scp.c newt[topic->len] = '\0'; newt 10173 src/simh/scp.c TOPIC *newt; newt 10232 src/simh/scp.c newt = (TOPIC *) calloc (sizeof (TOPIC), 1); newt 10233 src/simh/scp.c if (!newt) { newt 10238 src/simh/scp.c newt->title = (char *) malloc ((htext - start)+1); newt 10239 src/simh/scp.c if (!newt->title) { newt 10240 src/simh/scp.c FREE (newt); newt 10245 src/simh/scp.c memcpy (newt->title, start, htext - start); newt 10246 src/simh/scp.c newt->title[htext - start] = '\0'; newt 10250 src/simh/scp.c if (newt->title[0] == '$') newt 10251 src/simh/scp.c newt->flags |= HLP_MAGIC_TOPIC; newt 10256 src/simh/scp.c FREE (newt->title); newt 10257 src/simh/scp.c FREE (newt); newt 10263 src/simh/scp.c topic->children[topic->kids++] = newt; newt 10264 src/simh/scp.c newt->level = n; newt 10265 src/simh/scp.c newt->parent = topic; newt 10266 src/simh/scp.c n = strlen (newt->title); newt 10271 src/simh/scp.c newt->label = (char *) malloc (n); newt 10272 src/simh/scp.c if (!newt->label) { newt 10273 src/simh/scp.c FREE (newt->title); newt 10275 src/simh/scp.c FREE (newt); newt 10280 src/simh/scp.c sprintf (newt->label, "%s%s", topic->label, nbuf); newt 10281 src/simh/scp.c topic = newt; newt 10307 src/simh/scp.c char *newp, *newt; newt 10333 src/simh/scp.c newt = (topic->flags & HLP_MAGIC_TOPIC)? newt 10337 src/simh/scp.c while (*newt) { newt 10338 src/simh/scp.c *np++ = blankch (*newt)? '_' : *newt; newt 10339 src/simh/scp.c newt++; newt 10344 src/simh/scp.c strcat (newp, newt);