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
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to