Lines Matching refs:filearr
454 - char **filearr = NULL, *mfn;
456 + char **filearr = NULL;
514 mlen = maxfiles * sizeof(*filearr);
515 if ((filearr = CAST(char **,
516 - realloc(filearr, mlen))) == NULL) {
517 + erealloc(filearr, mlen))) == NULL) {
526 - filearr[files++] = mfn;
527 + filearr[files++] = estrndup(mfn, (mflen > sizeof(mfn) - 1)? sizeof(mfn) - 1: mflen);
531 qsort(filearr, files, sizeof(*filearr), cmpstrp);
533 load_1(ms, action, filearr[i], &errs, mset);
534 - free(filearr[i]);
535 + efree(filearr[i]);
537 - free(filearr);
538 + efree(filearr);