newp 9124 src/simh/scp.c BRKTAB *bp, **newp; newp 9130 src/simh/scp.c newp = (BRKTAB **) calloc (t, sizeof (BRKTAB*)); /* new table */ newp 9131 src/simh/scp.c if (newp == NULL) /* can't extend */ newp 9133 src/simh/scp.c memcpy (newp, sim_brk_tab, sim_brk_lnt * sizeof (*sim_brk_tab));/* copy table */ newp 9134 src/simh/scp.c (void)memset (newp + sim_brk_lnt, 0, SIM_BRK_INILNT * sizeof (*newp));/* zero new entries */ newp 9136 src/simh/scp.c sim_brk_tab = newp; /* new base, lnt */ newp 9205 src/simh/scp.c char *newp = (char *) calloc (CBUFSIZE+1, sizeof (char)); /* alloc buf */ newp 9206 src/simh/scp.c if (newp == NULL) /* mem err? */ newp 9208 src/simh/scp.c strncpy (newp, act, CBUFSIZE); /* copy action */ newp 9209 src/simh/scp.c bp->act = newp; /* set pointer */ newp 9813 src/simh/scp.c char *newp = (char *) calloc (strlen (act)+1, sizeof (*act)); /* alloc buf */ newp 9814 src/simh/scp.c if (newp == NULL) /* mem err? */ newp 9816 src/simh/scp.c strcpy (newp, act); /* copy action */ newp 9817 src/simh/scp.c ep->act = newp; /* set pointer */ newp 10988 src/simh/scp.c char *newp, *newt; newp 11002 src/simh/scp.c newp = (char *) malloc (strlen (prefix) + 1 + strlen (topic->title) + 1 + newp 11004 src/simh/scp.c if (!newp) { newp 11010 src/simh/scp.c strcpy (newp, prefix); newp 11013 src/simh/scp.c strcat (newp, " "); newp 11017 src/simh/scp.c char *np = newp + strlen (newp); newp 11025 src/simh/scp.c strcat (newp, newt); newp 11027 src/simh/scp.c strcat (newp, " "); newp 11029 src/simh/scp.c strcat (newp, pstring); newp 11031 src/simh/scp.c return newp;