Lines Matching refs:fnew
256 char *fnew = NULL; in process_file() local
306 if (fnew != NULL) in process_file()
308 unlink (fnew); in process_file()
309 free (fnew); in process_file()
310 fnew = NULL; in process_file()
556 fnew = NULL; in process_file()
577 fnew = xmalloc (fname_len + sizeof (".XXXXXX")); in process_file()
578 strcpy (mempcpy (fnew, fname, fname_len), ".XXXXXX"); in process_file()
579 fdnew = mkstemp (fnew); in process_file()
583 fnew = xstrdup (foutput); in process_file()
584 fdnew = open (fnew, O_WRONLY | O_CREAT, st.st_mode & ALLPERMS); in process_file()
589 error (0, errno, "Couldn't create output file %s", fnew); in process_file()
591 free (fnew); in process_file()
592 fnew = NULL; in process_file()
600 fnew, elf_errmsg (-1)); in process_file()
1270 error (0, 0, "Couldn't write %s: %s", fnew, elf_errmsg (-1)); in process_file()
1283 error (0, errno, "Couldn't fchown %s", fnew); in process_file()
1286 error (0, errno, "Couldn't fchmod %s", fnew); in process_file()
1290 if (rename (fnew, fname) != 0) in process_file()
1292 error (0, errno, "Couldn't rename %s to %s", fnew, fname); in process_file()
1297 free (fnew); in process_file()
1298 fnew = NULL; in process_file()