Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


Hello,

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.

Googling a bit shows that postgresql discussed the issue in 2003 and at the time the only unix missing pread was HPUX 10.20 http://archives.postgresql.org/pgsql-patches/2003-02/msg00205.php

Don't know how relevant is HPUX for libreoffice, hope 2013 is not the year of CDE on desktop :)

If the idea is sound i can cook a patch, but i'd like to have some feedback from *BSD / MacOS X people that will compile the new code path.

For reference this distinction got introduced a bit more than 3 years ago in b76cb86e

thanks,
riccardo

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.