Home | History | Annotate | Download | only in applypatch

Lines Matching refs:outname

697     char* outname;
800 outname = NULL;
816 outname = (char*)malloc(strlen(target_filename) + 10);
817 strcpy(outname, target_filename);
818 strcat(outname, ".patch");
820 output = open(outname, O_WRONLY | O_CREAT | O_TRUNC);
823 outname, strerror(errno));
862 if (outname != NULL) {
863 unlink(outname);
887 if (chmod(outname, source_to_use->st.st_mode) != 0) {
888 printf("chmod of \"%s\" failed: %s\n", outname, strerror(errno));
891 if (chown(outname, source_to_use->st.st_uid,
893 printf("chown of \"%s\" failed: %s\n", outname, strerror(errno));
898 if (rename(outname, target_filename) != 0) {