1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-01-24 06:31:07 +00:00

Merge pull request #887 from neheb/patch-1

Change fseek and ftell to o variants
This commit is contained in:
Jens Steube 2016-11-29 11:50:41 +01:00 committed by GitHub
commit 9b7e0c35da

View File

@ -138,7 +138,7 @@ static int outfile_remove (hashcat_ctx_t *hashcat_ctx)
out_info[j].seek = 0;
}
fseek (fp, out_info[j].seek, SEEK_SET);
fseeko (fp, out_info[j].seek, SEEK_SET);
char *line_buf = (char *) hcmalloc (HCBUFSIZ_LARGE);
@ -278,7 +278,7 @@ static int outfile_remove (hashcat_ctx_t *hashcat_ctx)
hcfree (line_buf);
out_info[j].seek = ftell (fp);
out_info[j].seek = ftello (fp);
//hc_thread_mutex_unlock (status_ctx->mux_display);