OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:filenamesfx
(Results
1 - 2
of
2
) sorted by null
/external/toybox/toys/pending/
userdel.c
27
char *
filenamesfx
= NULL, *sfx = NULL, *line = NULL;
local
32
filenamesfx
= xmprintf("%s+", filename);
33
sfx = strchr(
filenamesfx
, '+');
37
unlink(
filenamesfx
);
38
if (link(filename,
filenamesfx
)) error_msg("Can't create backup file");
50
newfp = xfopen(
filenamesfx
, "w+");
84
rename(
filenamesfx
, filename);
87
unlink(
filenamesfx
);
89
free(
filenamesfx
);
/external/toybox/lib/
password.c
111
char *
filenamesfx
= NULL, *namesfx = NULL, *shadow = NULL,
local
118
filenamesfx
= xmprintf("%s+", filename);
119
sfx = strchr(
filenamesfx
, '+');
128
unlink(
filenamesfx
);
129
ret = link(filename,
filenamesfx
);
143
newfp = fopen(
filenamesfx
, "w+");
190
rename(
filenamesfx
, filename);
193
unlink(
filenamesfx
);
198
free(
filenamesfx
);
Completed in 3157 milliseconds