Home
last modified time | relevance | path

Searched refs:newfn (Results 1 – 1 of 1) sorted by relevance

/external/e2fsprogs/util/
Dsubst.c267 static int compare_file(const char *outfn, const char *newfn) in compare_file() argument
276 new_f = fopen(newfn, "r"); in compare_file()
306 char *outfn = NULL, *newfn = NULL; in main() local
347 newfn = (char *) malloc(strlen(outfn)+20); in main()
348 if (!newfn) { in main()
352 strcpy(newfn, outfn); in main()
353 strcat(newfn, ".new"); in main()
354 out = fopen(newfn, "w"); in main()
356 perror(newfn); in main()
374 if (compare_file(outfn, newfn)) { in main()
[all …]