Home | History | Annotate | Download | only in applypatch

Lines Matching full:outname

815     char* outname;
921 outname = NULL;
937 outname = (char*)malloc(strlen(target_filename) + 10);
938 strcpy(outname, target_filename);
939 strcat(outname, ".patch");
941 output = open(outname, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR);
944 outname, strerror(errno));
983 if (outname != NULL) {
984 unlink(outname);
1012 if (chmod(outname, source_to_use->st.st_mode) != 0) {
1013 printf("chmod of \"%s\" failed: %s\n", outname, strerror(errno));
1016 if (chown(outname, source_to_use->st.st_uid,
1018 printf("chown of \"%s\" failed: %s\n", outname, strerror(errno));
1023 if (rename(outname, target_filename) != 0) {