13 Nov
2022
13 Nov
'22
12:49 a.m.
Zebediah Figura (@zfigura) commented about dlls/kernelbase/file.c:
return FALSE; }
+ stream_count++; while (ReadFile( h1, buffer, buffer_size, &count, NULL ) && count) { - char *p = buffer; + p = buffer; + if(total_written.QuadPart == 0 && !handle_progress_callback(progress, stream_count, total, total_written,buffer_size, + stream_written, &invoke_progress, CALLBACK_STREAM_SWITCH, h1, h2, param)) + { + break; + }
Why is this inside of the loop? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/145#note_15573