Searched refs:filenamesfx (Results 1 – 2 of 2) sorted by relevance
/external/toybox/toys/pending/ |
D | userdel.c | 27 char *filenamesfx = NULL, *sfx = NULL, *line = NULL; in update_groupfiles() local 32 filenamesfx = xmprintf("%s+", filename); in update_groupfiles() 33 sfx = strchr(filenamesfx, '+'); in update_groupfiles() 37 unlink(filenamesfx); in update_groupfiles() 38 if (link(filename, filenamesfx)) error_msg("Can't create backup file"); in update_groupfiles() 50 newfp = xfopen(filenamesfx, "w+"); in update_groupfiles() 84 rename(filenamesfx, filename); in update_groupfiles() 87 unlink(filenamesfx); in update_groupfiles() 89 free(filenamesfx); in update_groupfiles()
|
/external/toybox/lib/ |
D | password.c | 111 char *filenamesfx = NULL, *namesfx = NULL, *shadow = NULL, in update_password() local 118 filenamesfx = xmprintf("%s+", filename); in update_password() 119 sfx = strchr(filenamesfx, '+'); in update_password() 128 unlink(filenamesfx); in update_password() 129 ret = link(filename, filenamesfx); in update_password() 143 newfp = fopen(filenamesfx, "w+"); in update_password() 190 rename(filenamesfx, filename); in update_password() 193 unlink(filenamesfx); in update_password() 198 free(filenamesfx); in update_password()
|