Lines Matching refs:newfile
52 static char *newfile;
59 if (dirfd != -1 && newfile != NULL)
60 if (unlinkat(dirfd, newfile, 0))
97 fprintf(stderr, "usage: bspatch oldfile newfile patchfile\n");
137 /* open directory where we'll write newfile */
143 if ((newfile = basename(argv[2])) == NULL)
145 /* open newfile */
146 if ((newfd = openat(dirfd, newfile,
175 24 8 sizeof(newfile)
296 newfile = NULL;