Searched refs:fnew (Results 1 - 2 of 2) sorted by relevance
/third_party/elfutils/tests/ |
H A D | elfstrmerge.c | 42 static char *fnew = NULL; variable 80 unlink (fnew); in release() 86 // free (fnew); in release() 377 fnew = malloc (fname_len + sizeof (".XXXXXX")); in main() 378 if (fnew == NULL) in main() 380 strcpy (mempcpy (fnew, fname, fname_len), ".XXXXXX"); in main() 382 fdnew = mkstemp (fnew); in main() 386 fnew = argv[2]; in main() 387 fdnew = open (fnew, O_WRONLY | O_CREAT, st.st_mode & ALLPERMS); in main() 391 fail_errno ("couldn't create output file", fnew); in main() [all...] |
/third_party/elfutils/src/ |
H A D | elfcompress.c | 280 char *fnew = NULL; in process_file() local 545 fnew = xmalloc (fname_len + sizeof (".XXXXXX")); in process_file() 546 strcpy (mempcpy (fnew, fname, fname_len), ".XXXXXX"); in process_file() 547 fdnew = mkstemp (fnew); in process_file() 551 fnew = xstrdup (foutput); in process_file() 552 fdnew = open (fnew, O_WRONLY | O_CREAT, st.st_mode & ALLPERMS); in process_file() 557 error (0, errno, "Couldn't create output file %s", fnew); in process_file() 559 free (fnew); in process_file() 560 fnew = NULL; in process_file() 568 fnew, elf_errms in process_file() [all...] |
Completed in 3 milliseconds