109 tpath = genb_fpath_tmp(fname);
111 filef = fopen(fpath,
"r");
118 rename(tpath, fpath);
122 frd = fread(fbuf, 1, 1024, filef);
124 trd = fread(tbuf, 1, frd, filef_tmp);
126 (memcmp(tbuf, fbuf, trd) != 0)) {
132 rename(tpath, fpath);
137 frd = fread(fbuf, 1, 1024, filef);