Searched refs:writeok (Results 1 – 1 of 1) sorted by relevance
455 int r, writeok, closeok; in write_checkpoint() local472 writeok = (fprintf(fp, "%lu\n", (unsigned long)lineno) > 0); in write_checkpoint()474 if (writeok && closeok && rename(tmp, cpfile) == 0) { in write_checkpoint()