On 04/22/2011 05:28 AM, Markus Trippelsdorf wrote: >> I would be surprised if the bug is around for such a long time, but >> otherwise I concur. > > It's a bug. Let me quote what Jeff Bonwick wrote on his blog: > > »I'm not sure where you got the impression that either SEEK_HOLE or > SEEK_DATA doesn't set the file pointer. They do. (If they didn't, that > would be weird, and we'd call it out explicitly.)« > > http://blogs.sun.com/bonwick/entry/seek_hole_and_seek_data I've created a request to standardize SEEK_HOLE and SEEK_DATA in the next revision of POSIX; comments are welcome to make sure that everyone is happy with wording: http://austingroupbugs.net/view.php?id=415 -- Eric Blake eblake@xxxxxxxxxx +1-801-349-2682 Libvirt virtualization library http://libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature