Lines Matching defs:tname
124 char *oname, *tname;
176 if ((tname =
181 if ((fd = mkstemp(tname)) == -1 || fstat(fd, &sb)) {
182 free(tname);
189 frp->tname = tname;
192 if ((frp->name = strdup(tname)) == NULL) {
197 oname = frp->tname;
412 if (frp->tname != NULL) {
413 (void)unlink(frp->tname);
414 free(frp->tname);
415 frp->tname = NULL;
656 if (!F_ISSET(frp, FR_DONTDELETE) && frp->tname != NULL) {
657 if (unlink(frp->tname))
658 msgq_str(sp, M_SYSERR, frp->tname, "240|%s: remove");
659 free(frp->tname);
660 frp->tname = NULL;