On Sun, Jun 01, 2008 at 11:22:28PM +0200, Bruno Haible wrote:
> > test-lseek.c:49: assertion failed
> > Abort trap (core dumped)
> > FAIL: test-lseek.sh
> 
> This is clearly a bug in your OS: lseek must fail when at attempt is made
> to set a negative file position on a regular file. You can analyze it with
> gdb, or extract a simple testcase for your libc + kernel developers.

Just for the record:
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_syscalls.c.diff?r1=1.129&r2=1.130
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_syscalls.c.diff?r1=1.130&r2=1.131

These two commits fixes the problem and all the tests run fine.

Thanks Bruno for your help!

-- 
voroskoi


Reply via email to