Lines Matching refs:tmpname
204 static char *tmpname = NULL; variable
590 if (tmpname != NULL && dounlink) in terminate_cleanup()
591 unlink(tmpname); in terminate_cleanup()
610 tmpname = mktmpname(destfile, ".ctf"); in copy_ctf_data()
611 write_ctf(srctd, destfile, tmpname, CTF_COMPRESS); in copy_ctf_data()
612 if (rename(tmpname, destfile) != 0) { in copy_ctf_data()
613 terminate("Couldn't rename temp file %s to %s", tmpname, in copy_ctf_data()
616 free(tmpname); in copy_ctf_data()
993 tmpname = mktmpname(outfile, ".ctf"); in main()
994 write_ctf(savetd, outfile, tmpname, in main()
996 if (rename(tmpname, outfile) != 0) in main()
997 terminate("Couldn't rename output temp file %s", tmpname); in main()
998 free(tmpname); in main()