Searched refs:tmplog (Results 1 – 1 of 1) sorted by relevance
246 FILE *tmplog = fopen(source, "r"); in copy_log_file() local247 if (tmplog != NULL) { in copy_log_file()249 fseek(tmplog, tmplog_offset, SEEK_SET); // Since last write in copy_log_file()252 while (fgets(buf, sizeof(buf), tmplog)) fputs(buf, log); in copy_log_file()254 tmplog_offset = ftell(tmplog); in copy_log_file()256 check_and_fclose(tmplog, source); in copy_log_file()