https://bugs.winehq.org/show_bug.cgi?id=46269
Bug ID: 46269 Summary: Metatrader 5 File handlers aren't flushed when calling FileFlush() / flush Product: Wine Version: 3.0.3 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: critical Priority: P2 Component: wineserver Assignee: wine-bugs@winehq.org Reporter: roberto@spadim.com.br Distribution: ---
Hi guys, there's a problem with metatrader 5 file handlers All calls to FileFlush / fflush aren't flush to disk A file being openned to shared read, can't be read since data isn't at disk, in other works no one see new data until application close. after application close all data can be read, but if application close with a signal (kill <pid>), all filewrite operations are lost
I can share some examples if you need, but the easiers is
start terminal64.exe with: terminal64.exe /portable
read logs/<current day>.log file with "tail -f logs/..." you don't see anything close the metatrader window with "X" windows button now you can see data at file
i don't know if wineserver have a buffer at memory or temporary files, but it's a bit strange. the normal windows behaviour is write to file at each "fileflush" / fflush operation, wine is working different