Home | History | Annotate | Download | only in applypatch

Lines Matching defs:outname

675     char* outname;
778 outname = NULL;
794 outname = (char*)malloc(strlen(target_filename) + 10);
795 strcpy(outname, target_filename);
796 strcat(outname, ".patch");
798 output = open(outname, O_WRONLY | O_CREAT | O_TRUNC);
801 outname, strerror(errno));
840 if (outname != NULL) {
841 unlink(outname);
865 if (chmod(outname, source_to_use->st.st_mode) != 0) {
866 printf("chmod of \"%s\" failed: %s\n", outname, strerror(errno));
869 if (chown(outname, source_to_use->st.st_uid,
871 printf("chown of \"%s\" failed: %s\n", outname, strerror(errno));
876 if (rename(outname, target_filename) != 0) {