7002957: (fc) FileChannel.transferTo fails to load libsendfile on Solaris 64-bit
Chris Hegarty
chris.hegarty at oracle.com
Sun Jan 9 12:03:49 PST 2011
On 01/ 9/11 05:53 PM, Alan Bateman wrote:
> ...
> When you compile for 64-bit then it supports large files/offsets by
> default and so sendfilev and sendfilev64 are the same thing. With 32-bit
> apps then you have to use the transitional interfaces (xxx64). I've
> cleaned it up slightly to only use sendfilev64 as you suggested and this
> will compile to the same thing as before. The main overall change is to
Thanks, to me this looks simpler.
> link against libsendfile rather than using dlopen to attempt to load
> libsendfile.
Yes, this part looks fine.
-Chris.
>
> -Alan
More information about the nio-dev
mailing list