https://issues.apache.org/ooo/show_bug.cgi?id=121614
Bug ID: 121614
Issue Type: DEFECT
Summary: SAL Unix file handling : pread/pwrite vs lseek
Classification: Code
Product: framework
Version: AOO400-dev
Hardware: All
OS: Mac OSX, all
Status: CONFIRMED
Severity: trivial
Priority: P3
Component: code
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Created attachment 80142
--> https://issues.apache.org/ooo/attachment.cgi?id=80142&action=edit
Use pread for FreeBSD/MacOSX too
We are currently using pread/pwrite in sal/osl/unx/file.cxx
but only for the linux/Solaris case. According to FreeBSD's man page, "The
pread(2) function appeared in AT&T System V Release 4 UNIX." and it is
available in FreeBSD and MacOSX.
The code should probably be cleaned to use it everywhere though.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.