[PUSHED] Re: linux / solaris vs other *nix file handling in sal/osl/unx/file.c

Riccardo Magliocchetti riccardo.magliocchetti at gmail.com
Thu Jan 3 03:39:31 PST 2013


Il 02/01/2013 14:35, Riccardo Magliocchetti ha scritto:
> Hi,
>
> Il 02/01/2013 12:39, Francois Tigeot ha scritto:
>> Hi,
>>
>> On Wed, Jan 02, 2013 at 12:03:16PM +0100, Riccardo Magliocchetti wrote:
>>> Il 01/01/2013 14:36, Riccardo Magliocchetti ha scritto:
>>>>
>>>> does anyone know why linux and solaris are using pread / pwrite
>>>> syscalls
>>>> while other unixes are using read + lseek? The code is at least
>>>> FileHandle_Impl::writeAt which AFAIU is the base for the osl_* file
>>>> functions.
>>>
>>> Patch attached if anyone on these plaforms want to give it a try.
>>
>> I tried a patched out LibreOffice-3.6.4 on DragonFly; it worked like a
>> charm.
>> Reading and opening files even seemed a bit faster.
>
> Nice, thanks! Now if only a MacOS X guy shows up...

Pushed to git master, let's see how it goes :)

riccardo


More information about the LibreOffice mailing list