newp 8494 src/simh/scp.c BRKTAB *bp, **newp; newp 8500 src/simh/scp.c newp = (BRKTAB **) calloc (t, sizeof (BRKTAB*)); /* new table */ newp 8501 src/simh/scp.c if (newp == NULL) /* can't extend */ newp 8503 src/simh/scp.c memcpy (newp, sim_brk_tab, sim_brk_lnt * sizeof (*sim_brk_tab));/* copy table */ newp 8504 src/simh/scp.c memset (newp + sim_brk_lnt, 0, SIM_BRK_INILNT * sizeof (*newp));/* zero new entries */ newp 8506 src/simh/scp.c sim_brk_tab = newp; /* new base, lnt */ newp 8575 src/simh/scp.c char *newp = (char *) calloc (CBUFSIZE+1, sizeof (char)); /* alloc buf */ newp 8576 src/simh/scp.c if (newp == NULL) /* mem err? */ newp 8578 src/simh/scp.c strncpy (newp, act, CBUFSIZE); /* copy action */ newp 8579 src/simh/scp.c bp->act = newp; /* set pointer */ newp 9168 src/simh/scp.c char *newp = (char *) calloc (strlen (act)+1, sizeof (*act)); /* alloc buf */ newp 9169 src/simh/scp.c if (newp == NULL) /* mem err? */ newp 9171 src/simh/scp.c strcpy (newp, act); /* copy action */ newp 9172 src/simh/scp.c ep->act = newp; /* set pointer */ newp 10307 src/simh/scp.c char *newp, *newt; newp 10321 src/simh/scp.c newp = (char *) malloc (strlen (prefix) + 1 + strlen (topic->title) + 1 + newp 10323 src/simh/scp.c if (!newp) { newp 10329 src/simh/scp.c strcpy (newp, prefix); newp 10332 src/simh/scp.c strcat (newp, " "); newp 10336 src/simh/scp.c char *np = newp + strlen (newp); newp 10344 src/simh/scp.c strcat (newp, newt); newp 10346 src/simh/scp.c strcat (newp, " "); newp 10348 src/simh/scp.c strcat (newp, pstring); newp 10350 src/simh/scp.c return newp;