newp 9262 src/simh/scp.c BRKTAB *bp, **newp; newp 9268 src/simh/scp.c newp = (BRKTAB **) calloc (t, sizeof (BRKTAB*)); /* new table */ newp 9269 src/simh/scp.c if (newp == NULL) /* can't extend */ newp 9271 src/simh/scp.c memcpy (newp, sim_brk_tab, sim_brk_lnt * sizeof (*sim_brk_tab));/* copy table */ newp 9272 src/simh/scp.c (void)memset (newp + sim_brk_lnt, 0, SIM_BRK_INILNT * sizeof (*newp));/* zero new entries */ newp 9274 src/simh/scp.c sim_brk_tab = newp; /* new base, lnt */ newp 9343 src/simh/scp.c char *newp = (char *) calloc (CBUFSIZE+1, sizeof (char)); /* alloc buf */ newp 9344 src/simh/scp.c if (newp == NULL) /* mem err? */ newp 9346 src/simh/scp.c strncpy (newp, act, CBUFSIZE); /* copy action */ newp 9347 src/simh/scp.c bp->act = newp; /* set pointer */ newp 9951 src/simh/scp.c char *newp = (char *) calloc (strlen (act)+1, sizeof (*act)); /* alloc buf */ newp 9952 src/simh/scp.c if (newp == NULL) /* mem err? */ newp 9954 src/simh/scp.c strcpy (newp, act); /* copy action */ newp 9955 src/simh/scp.c ep->act = newp; /* set pointer */ newp 11130 src/simh/scp.c char *newp, *newt; newp 11144 src/simh/scp.c newp = (char *) malloc (strlen (prefix) + 1 + strlen (topic->title) + 1 + newp 11146 src/simh/scp.c if (!newp) { newp 11152 src/simh/scp.c strcpy (newp, prefix); newp 11155 src/simh/scp.c strcat (newp, " "); newp 11159 src/simh/scp.c char *np = newp + strlen (newp); newp 11167 src/simh/scp.c strcat (newp, newt); newp 11169 src/simh/scp.c strcat (newp, " "); newp 11171 src/simh/scp.c strcat (newp, pstring); newp 11173 src/simh/scp.c return newp;