Searched refs:source_fp (Results 1 – 1 of 1) sorted by relevance
296 FILE* source_fp = fopen(source, "r"); in copy_log_file() local297 if (source_fp != nullptr) { in copy_log_file()299 fseek(source_fp, tmplog_offset, SEEK_SET); // Since last write in copy_log_file()303 while ((bytes = fread(buf, 1, sizeof(buf), source_fp)) != 0) { in copy_log_file()307 tmplog_offset = ftell(source_fp); in copy_log_file()309 check_and_fclose(source_fp, source); in copy_log_file()