Re: [PATCH] DragonFly BSD support - reworked

2008-06-03 Thread VOROSKOI Andras
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 analyz

Re: [PATCH] DragonFly BSD support - reworked

2008-06-01 Thread VOROSKOI Andras
On Sun, Jun 01, 2008 at 11:22:28PM +0200, Bruno Haible wrote: > > File offset is wrong after fseek: 17. > > FAIL: test-fflush > > That may be better in the new tarball. Yepp, works fine now. > > test-lseek.c:49: assertion failed > > Abort trap (core dumped) > > FAIL: test-lseek.sh > > This is c

Re: [PATCH] DragonFly BSD support - reworked

2008-06-01 Thread VOROSKOI Andras
On Sun, Jun 01, 2008 at 06:43:19PM +0200, Bruno Haible wrote: > The first hunk (file freadahead.c) is correct when looking at the DragonFlyBSD > I applied that. Thanks. > The second hunk (file freading.c) appears to be a nop to me; why should I > apply > this? Well, skip that. testdir-stdioext

Re: [PATCH] DragonFly BSD support - reworked

2008-06-01 Thread VOROSKOI Andras
Hi, I've updated the original patch a bit. I've reworked the #ifdef __DragonFly__ parts to avoid duplicates. About the third hunk: this new patch does not touch that part. Let me know if you still got problems with it. PS: please cc me, i'm off-list -- voroskoi diff --git a/lib/freadahead.c b