newp 8707 src/simh/scp.c BRKTAB *bp, **newp; newp 8713 src/simh/scp.c newp = (BRKTAB **) calloc (t, sizeof (BRKTAB*)); /* new table */ newp 8714 src/simh/scp.c if (newp == NULL) /* can't extend */ newp 8716 src/simh/scp.c memcpy (newp, sim_brk_tab, sim_brk_lnt * sizeof (*sim_brk_tab));/* copy table */ newp 8717 src/simh/scp.c memset (newp + sim_brk_lnt, 0, SIM_BRK_INILNT * sizeof (*newp));/* zero new entries */ newp 8719 src/simh/scp.c sim_brk_tab = newp; /* new base, lnt */ newp 8788 src/simh/scp.c char *newp = (char *) calloc (CBUFSIZE+1, sizeof (char)); /* alloc buf */ newp 8789 src/simh/scp.c if (newp == NULL) /* mem err? */ newp 8791 src/simh/scp.c strncpy (newp, act, CBUFSIZE); /* copy action */ newp 8792 src/simh/scp.c bp->act = newp; /* set pointer */ newp 9381 src/simh/scp.c char *newp = (char *) calloc (strlen (act)+1, sizeof (*act)); /* alloc buf */ newp 9382 src/simh/scp.c if (newp == NULL) /* mem err? */ newp 9384 src/simh/scp.c strcpy (newp, act); /* copy action */ newp 9385 src/simh/scp.c ep->act = newp; /* set pointer */ newp 10541 src/simh/scp.c char *newp, *newt; newp 10555 src/simh/scp.c newp = (char *) malloc (strlen (prefix) + 1 + strlen (topic->title) + 1 + newp 10557 src/simh/scp.c if (!newp) { newp 10563 src/simh/scp.c strcpy (newp, prefix); newp 10566 src/simh/scp.c strcat (newp, " "); newp 10570 src/simh/scp.c char *np = newp + strlen (newp); newp 10578 src/simh/scp.c strcat (newp, newt); newp 10580 src/simh/scp.c strcat (newp, " "); newp 10582 src/simh/scp.c strcat (newp, pstring); newp 10584 src/simh/scp.c return newp;