Lines Matching defs:newpath
1147 char newpath[MAXPATHLEN];
1153 if (((len = snprintf(newpath, MAXPATHLEN, "%s.new",
1167 if ((newfd = open(newpath, O_RDWR|O_NONBLOCK, 0)) != -1) {
1176 newpath, backuppath)) {
1179 newpath, strerror(errno));
1188 gettext(ERR_NOT_REG), newpath);
1195 gettext(ERR_WRITE), newpath,
2179 char newpath[MAXPATHLEN];
2184 (void) snprintf(newpath, MAXPATHLEN, "%s.new", dest);
2187 if ((fd = open(newpath, O_CREAT|O_EXCL|O_WRONLY|O_NONBLOCK,
2190 newpath, strerror(errno));
2197 newpath, strerror(errno));
2204 newpath);
2211 newpath, strerror(errno));
2218 newpath);
2232 (void) rename(newpath, dest);