OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:newfn
(Results
1 - 2
of
2
) sorted by null
/external/e2fsprogs/util/
subst.c
270
static int compare_file(const char *outfn, const char *
newfn
)
279
new_f = fopen(
newfn
, "r");
309
char *outfn = NULL, *
newfn
= NULL;
local
350
newfn
= (char *) malloc(strlen(outfn)+20);
351
if (!
newfn
) {
355
strcpy(
newfn
, outfn);
356
strcat(
newfn
, ".new");
357
out = fopen(
newfn
, "w");
359
perror(
newfn
);
377
if (compare_file(outfn,
newfn
)) {
[
all
...]
/bootable/recovery/
recovery.cpp
280
char
newfn
[256];
local
285
snprintf(
newfn
, sizeof(
newfn
), LAST_LOG_FILE ".%d", i+1);
287
rename(oldfn,
newfn
);
[
all
...]
Completed in 160 milliseconds