newt             10615 src/simh/scp.c char *newt;
newt             10620 src/simh/scp.c newt = (char *)realloc (topic->text, topic->len + len +1);
newt             10621 src/simh/scp.c if (!newt) {
newt             10626 src/simh/scp.c topic->text = newt;
newt             10627 src/simh/scp.c memcpy (newt + topic->len, text, len);
newt             10629 src/simh/scp.c newt[topic->len] = '\0';
newt             10792 src/simh/scp.c             TOPIC *newt;
newt             10851 src/simh/scp.c             newt = (TOPIC *) calloc (sizeof (TOPIC), 1);
newt             10852 src/simh/scp.c             if (!newt) {
newt             10857 src/simh/scp.c             newt->title = (char *) malloc ((htext - start)+1);
newt             10858 src/simh/scp.c             if (!newt->title) {
newt             10859 src/simh/scp.c                 FREE (newt);
newt             10864 src/simh/scp.c             memcpy (newt->title, start, htext - start);
newt             10865 src/simh/scp.c             newt->title[htext - start] = '\0';
newt             10869 src/simh/scp.c             if (newt->title[0] == '$')
newt             10870 src/simh/scp.c                 newt->flags |= HLP_MAGIC_TOPIC;
newt             10875 src/simh/scp.c                 FREE (newt->title);
newt             10876 src/simh/scp.c                 FREE (newt);
newt             10882 src/simh/scp.c             topic->children[topic->kids++] = newt;
newt             10883 src/simh/scp.c             newt->level = n;
newt             10884 src/simh/scp.c             newt->parent = topic;
newt             10885 src/simh/scp.c             n = strlen (newt->title);
newt             10890 src/simh/scp.c             newt->label = (char *) malloc (n);
newt             10891 src/simh/scp.c             if (NULL == newt->label) {
newt             10892 src/simh/scp.c                 FREE (newt->title);
newt             10894 src/simh/scp.c                 FREE (newt);
newt             10899 src/simh/scp.c             (void)sprintf (newt->label, "%s%s", topic->label, nbuf);
newt             10900 src/simh/scp.c             topic = newt;
newt             10926 src/simh/scp.c char *newp, *newt;
newt             10952 src/simh/scp.c     newt = (topic->flags & HLP_MAGIC_TOPIC)?
newt             10956 src/simh/scp.c         while (*newt) {
newt             10957 src/simh/scp.c             *np++ = blankch (*newt)? '_' : *newt;
newt             10958 src/simh/scp.c             newt++;
newt             10963 src/simh/scp.c         strcat (newp, newt);