Home | History | Annotate | Download | only in applypatch

Lines Matching refs:outname

827     char* outname;
933 outname = NULL;
949 outname = (char*)malloc(strlen(target_filename) + 10);
950 strcpy(outname, target_filename);
951 strcat(outname, ".patch");
953 output = open(outname, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR);
956 outname, strerror(errno));
995 if (outname != NULL) {
996 unlink(outname);
1024 if (chmod(outname, source_to_use->st.st_mode) != 0) {
1025 printf("chmod of \"%s\" failed: %s\n", outname, strerror(errno));
1028 if (chown(outname, source_to_use->st.st_uid,
1030 printf("chown of \"%s\" failed: %s\n", outname, strerror(errno));
1035 if (rename(outname, target_filename) != 0) {