newt 10230 src/simh/scp.c char *newt; newt 10235 src/simh/scp.c newt = (char *)realloc (topic->text, topic->len + len +1); newt 10236 src/simh/scp.c if (!newt) { newt 10241 src/simh/scp.c topic->text = newt; newt 10242 src/simh/scp.c memcpy (newt + topic->len, text, len); newt 10244 src/simh/scp.c newt[topic->len] = '\0'; newt 10407 src/simh/scp.c TOPIC *newt; newt 10466 src/simh/scp.c newt = (TOPIC *) calloc (sizeof (TOPIC), 1); newt 10467 src/simh/scp.c if (!newt) { newt 10472 src/simh/scp.c newt->title = (char *) malloc ((htext - start)+1); newt 10473 src/simh/scp.c if (!newt->title) { newt 10474 src/simh/scp.c FREE (newt); newt 10479 src/simh/scp.c memcpy (newt->title, start, htext - start); newt 10480 src/simh/scp.c newt->title[htext - start] = '\0'; newt 10484 src/simh/scp.c if (newt->title[0] == '$') newt 10485 src/simh/scp.c newt->flags |= HLP_MAGIC_TOPIC; newt 10490 src/simh/scp.c FREE (newt->title); newt 10491 src/simh/scp.c FREE (newt); newt 10497 src/simh/scp.c topic->children[topic->kids++] = newt; newt 10498 src/simh/scp.c newt->level = n; newt 10499 src/simh/scp.c newt->parent = topic; newt 10500 src/simh/scp.c n = strlen (newt->title); newt 10505 src/simh/scp.c newt->label = (char *) malloc (n); newt 10506 src/simh/scp.c if (!newt->label) { newt 10507 src/simh/scp.c FREE (newt->title); newt 10509 src/simh/scp.c FREE (newt); newt 10514 src/simh/scp.c sprintf (newt->label, "%s%s", topic->label, nbuf); newt 10515 src/simh/scp.c topic = newt; newt 10541 src/simh/scp.c char *newp, *newt; newt 10567 src/simh/scp.c newt = (topic->flags & HLP_MAGIC_TOPIC)? newt 10571 src/simh/scp.c while (*newt) { newt 10572 src/simh/scp.c *np++ = blankch (*newt)? '_' : *newt; newt 10573 src/simh/scp.c newt++; newt 10578 src/simh/scp.c strcat (newp, newt);