Lines Matching refs:oldfile
354 char *oldfile, in delete_entry() argument
397 gettext(ERR_INT_UPDATE), oldfile); in delete_entry()
402 if ((fp = fopen(oldfile, "r")) == NULL) { in delete_entry()
404 (void) fprintf(stderr, gettext(ERR_CANT_ACCESS_FILE), oldfile); in delete_entry()
416 (void) snprintf(newfile, sizeof (newfile), "%s%s", oldfile, ".hold"); in delete_entry()
450 (void) fprintf(stderr, gettext(ERR_UPDATE), oldfile); in delete_entry()
461 oldfile); in delete_entry()
470 oldfile, line); in delete_entry()
482 oldfile); in delete_entry()
489 if ((strcmp(oldfile, minor_perm) == 0) || in delete_entry()
490 (strcmp(oldfile, extra_privs) == 0) || in delete_entry()
491 (strcmp(oldfile, driver_aliases) == 0)) { in delete_entry()
498 oldfile); in delete_entry()
509 oldfile); in delete_entry()
547 if (rename(newfile, oldfile) == -1) { in delete_entry()
549 (void) fprintf(stderr, gettext(ERR_UPDATE), oldfile); in delete_entry()
1615 char *oldfile, in list_entry() argument
1624 if ((fp = fopen(oldfile, "r")) == NULL) { in list_entry()
1626 (void) fprintf(stderr, gettext(ERR_CANT_ACCESS_FILE), oldfile); in list_entry()
1641 oldfile, line); in list_entry()