[issue1632] Seek to end of file returns 136 on CD/DVD drives

Alex Hornung (via DragonFly issue tracker) sinknull at leaf.dragonflybsd.org
Thu Dec 17 07:39:42 PST 2009

Alex Hornung <ahornung at gmail.com> added the comment:

Fixed in commit 2d0767552b6288b28a2ec45d633cfd93fa58ca64.
Steve, just fyi: you need to change your %ld formatter to %lld, as off_t is 64 
bit wide.
I've tested this with several hard disks and partitions and a DVD. It seems to 
work, but I'll wait for Steve's feedback before closing this issue.

Alex Hornung

status: in-progress -> testing

DragonFly issue tracker <bugs at lists.dragonflybsd.org>

More information about the Bugs mailing list