[Github-comments] [geany/geany] Geany does not flush the entire buffer on save (#2434)
Sergey
notifications at xxxxx
Mon Apr 20 13:49:34 UTC 2020
@elextr
Thanks for great IDE! it is very useful for me for several years
about 'fflush', as described in man pages: ...write of all **user-space** buffered data....
After that (fflush or fclose) the data pushed into system-buffers from user-space, and not written on device actually. I faced with that issue with fflush too, when worked on high I/O consumption application. The completely solution is use 'man 3 open' with SYNC or use 'fsync'. But both operate with file descriptor instead of streams
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2434#issuecomment-616566390
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20200420/84ecb6cf/attachment.htm>
More information about the Github-comments
mailing list