newt             10677 src/simh/scp.c char *newt;
newt             10682 src/simh/scp.c newt = (char *)realloc (topic->text, topic->len + len +1);
newt             10683 src/simh/scp.c if (!newt) {
newt             10688 src/simh/scp.c topic->text = newt;
newt             10689 src/simh/scp.c memcpy (newt + topic->len, text, len);
newt             10691 src/simh/scp.c newt[topic->len] = '\0';
newt             10854 src/simh/scp.c             TOPIC *newt;
newt             10913 src/simh/scp.c             newt = (TOPIC *) calloc (sizeof (TOPIC), 1);
newt             10914 src/simh/scp.c             if (!newt) {
newt             10919 src/simh/scp.c             newt->title = (char *) malloc ((htext - start)+1);
newt             10920 src/simh/scp.c             if (!newt->title) {
newt             10921 src/simh/scp.c                 FREE (newt);
newt             10926 src/simh/scp.c             memcpy (newt->title, start, htext - start);
newt             10927 src/simh/scp.c             newt->title[htext - start] = '\0';
newt             10931 src/simh/scp.c             if (newt->title[0] == '$')
newt             10932 src/simh/scp.c                 newt->flags |= HLP_MAGIC_TOPIC;
newt             10937 src/simh/scp.c                 FREE (newt->title);
newt             10938 src/simh/scp.c                 FREE (newt);
newt             10944 src/simh/scp.c             topic->children[topic->kids++] = newt;
newt             10945 src/simh/scp.c             newt->level = n;
newt             10946 src/simh/scp.c             newt->parent = topic;
newt             10947 src/simh/scp.c             n = strlen (newt->title);
newt             10952 src/simh/scp.c             newt->label = (char *) malloc (n);
newt             10953 src/simh/scp.c             if (NULL == newt->label) {
newt             10954 src/simh/scp.c                 FREE (newt->title);
newt             10956 src/simh/scp.c                 FREE (newt);
newt             10961 src/simh/scp.c             (void)sprintf (newt->label, "%s%s", topic->label, nbuf);
newt             10962 src/simh/scp.c             topic = newt;
newt             10988 src/simh/scp.c char *newp, *newt;
newt             11014 src/simh/scp.c     newt = (topic->flags & HLP_MAGIC_TOPIC)?
newt             11018 src/simh/scp.c         while (*newt) {
newt             11019 src/simh/scp.c             *np++ = blankch (*newt)? '_' : *newt;
newt             11020 src/simh/scp.c             newt++;
newt             11025 src/simh/scp.c         strcat (newp, newt);