Re: [PATCH] DragonFly BSD support - reworked

2008-06-04 Thread Bruno Haible
VOROSKOI Andras wrote: > These two commits fixes the problem and all the tests run fine. Thanks! This means that the next version of m4 will work out-of-the-box on DragonFly. Also, if the DragonFly libc developers want to introduce more extended stdio primitives, like __sreadahead, gnulib may use

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 Bruno Haible
VOROSKOI Andras wrote: > diff -aur testdir-stdioext/gllib/stdio-impl.h > testdir-stdioext-dfly/gllib/stdio-impl.h > --- testdir-stdioext/gllib/stdio-impl.h 2008-05-01 16:38:47 +0200 > +++ testdir-stdioext-dfly/gllib/stdio-impl.h2008-06-01 22:52:47 +0200 > @@ -35,7 +35,7 @@ >

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 Bruno Haible
VOROSKOI Andras wrote: > 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. The first hunk (file freadahead.c) is correct when looking at the DragonFlyBSD CVS http://www.dr

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

Re: [PATCH] DragonFly BSD support

2008-05-31 Thread Bruno Haible
Hi, Hasso Tepper wrote: > The attached patch fixes DragonFly BSD support in gnulib. The patch is > written by Matthew Dillon and is tested by many users as part of GNU m4 > pkgsrc package. Thank you for reporting this to us. We don't have the habit of checking the various "ports collections" re

[PATCH] DragonFly BSD support

2008-05-31 Thread Hasso Tepper
The attached patch fixes DragonFly BSD support in gnulib. The patch is written by Matthew Dillon and is tested by many users as part of GNU m4 pkgsrc package. regards, -- Hasso Tepper diff --git a/lib/freadahead.c b/lib/freadahead.c index 610de87..5914326 100644 --- a/lib/freadahead.c +++ b/l