> I was actually looking into that recently as part of another project
> and it's pretty easy. Basically ...
Sounds cool :-) any chance you can knock up a nice fragment of tested C code that would do this for Linux under MPL/LGPLv3+ that we can couple up ? We'd want to add that to sal/osl/unx/file.cxx (osl_syncFile) inside some #ifdef LINUX guard I guess.
Then we'd want to add an osl_syncFile to the end of our export logic, which is slightly more involved; I suspect ucb/source/ucp/file/filstr.cxx /closeOutput/ - anyhow - first steps first.
Turning this into an intermediate / easy hack with the above pointers :-)
Hi Tristan,
> I was actually looking into that recently as part of another project
> and it's pretty easy. Basically ...
Sounds cool :-) any chance you can knock up a nice fragment of tested C code that would do this for Linux under MPL/LGPLv3+ that we can couple up ? We'd want to add that to sal/osl/ unx/file. cxx (osl_syncFile) inside some #ifdef LINUX guard I guess.
Then we'd want to add an osl_syncFile to the end of our export logic, which is slightly more involved; I suspect ucb/source/ ucp/file/ filstr. cxx /closeOutput/ - anyhow - first steps first.
Turning this into an intermediate / easy hack with the above pointers :-)