Lines Matching defs:new_name
341 openFiles(const char *name, char *new_name, size_t new_name_size,
346 snprintf(new_name, new_name_size, "%s-n", name);
347 (void) remove(new_name);
348 newfd = open(new_name, O_WRONLY | O_CREAT | O_EXCL, 0600);
350 perror(new_name);
355 perror(new_name);
357 (void) remove(new_name);
544 char home_name[1024], backup_name[1024], new_name[1024];
552 new_name[0] = '\0';
562 (home_name, new_name, sizeof(new_name), &old, &new)) {
581 (backup_name, new_name, sizeof(new_name), &old, &new)) {
615 if (link(new_name, name) == -1) {
616 envname = new_name;
619 remove(new_name);