Lines Matching refs:infile
255 const char *infile = NULL;
314 infile = argv[0];
320 ifd = open(infile, O_RDONLY);
322 ctfconvert_fatal("failed to open input file %s: %s\n", infile,
330 if (outfile != NULL && strcmp(infile, outfile) != 0)
347 (void) unlink(infile);
356 if (outfile == NULL || strcmp(infile, outfile) == 0) {
357 if (asprintf(&tmpfile, "%s.ctf", infile) == -1) {
359 (void) unlink(infile);
365 err = ctf_elfwrite(ofp, infile, outfile, CTF_ELFWRITE_F_COMPRESS);
369 (void) unlink(infile);
376 if (rename(tmpfile, infile) != 0) {
380 (void) unlink(infile);