Re: C89 compatibility

2009-03-05 Thread Reuben Thomas
On Thu, 5 Mar 2009, Simon Josefsson wrote: Did you run all the gnulib configure tests using the same compiler and flags? You can't change compiler and flags after running configure. I think this is my problem: I set CFLAGS after running gl_EARLY in configure.ac. Putting the setting right aft

Re: [patch #6758] Add support for Atari FreeMiNT OS to fpurge

2009-03-05 Thread Bruno Haible
Alan Hourihane wrote: > +#if !defined __MINT__ /* FreeMiNT has problems seeking past end of file > */ >/* Test ftell beyond end of file. */ >ASSERT (fseek (stdin, 0, SEEK_END) == 0); >ch = ftell (stdin); >ASSERT (fseek (stdin, 10, SEEK_END) == 0); >ASSERT (ftell (stdin) == ch +

Re: [patch #6758] Add support for Atari FreeMiNT OS to fpurge

2009-03-05 Thread Alan Hourihane
On Sun, 2009-03-01 at 15:00 +0100, Bruno Haible wrote: > Alan Hourihane wrote: > > Yes. This does the trick. > > Committed. One last one to the tests... Alan. diff --git a/tests/test-ftell.c b/tests/test-ftell.c index 845d944..71f3ed2 100644 --- a/tests/test-ftell.c +++ b/tests/test-ftell.c @@

Re: C89 compatibility

2009-03-05 Thread Bruno Haible
Reuben Thomas wrote: > Since gnulib works on many systems, I imagine it's supposed to work with C89 > compilers? Yes. > I'm working on a project which uses C89, so I just added the -std=c89 flag > to GCC when building it, How did you do that, exactly? I.e. please show the configure command lin

Re: C89 compatibility

2009-03-05 Thread Simon Josefsson
Reuben Thomas writes: > Since gnulib works on many systems, I imagine it's supposed to work > with C89 compilers? Yes. > I'm working on a project which uses C89, so I just added the -std=c89 > flag to GCC when building it, to find potential > problems. Unfortunately, some of the gnulib code I'm

Re: [PATCH] filevercmp: move hidden files up in ordering

2009-03-05 Thread Bruno Haible
Hello Kamil, The patch is committed, in your name. Thanks for having considered my remarks. Bruno

C89 compatibility

2009-03-05 Thread Reuben Thomas
Since gnulib works on many systems, I imagine it's supposed to work with C89 compilers? I'm working on a project which uses C89, so I just added the -std=c89 flag to GCC when building it, to find potential problems. Unfortunately, some of the gnulib code I'm using now doesn't work: In file i

Re: [PATCH] Specify archive suffixes to announce-gen

2009-03-05 Thread Sergey Poznyakoff
Jim Meyering ha escrit: > Sure, that looks fine. > But please remove the trailing blanks first. Done. Regards, Sergey

Re: [PATCH] Specify archive suffixes to announce-gen

2009-03-05 Thread Jim Meyering
Sergey Poznyakoff wrote: > The enclosed patch add to announce-gen a new option, --archive-suffix, > which allows to specify new archive suffixes. For example: > > announce-gen --archive-suffix cpio.gz --archive-suffix shar.gz > > It is useful for such projects as GNU tar, which is distributed in

[PATCH] Specify archive suffixes to announce-gen

2009-03-05 Thread Sergey Poznyakoff
Hello, The enclosed patch add to announce-gen a new option, --archive-suffix, which allows to specify new archive suffixes. For example: announce-gen --archive-suffix cpio.gz --archive-suffix shar.gz It is useful for such projects as GNU tar, which is distributed in a wider set of archive form

Re: special characters in filenames in error messages

2009-03-05 Thread Michael(tm) Smith
Karl, Just pinging you to find out if there's been any progress on this issue in the last few months. The last message that seems to have been posted in this thread was this one from Bruno on Dec. 14: http://lists.gnu.org/archive/html/bug-gnulib/2008-12/msg00127.html -- Michael(tm) Smith http

[PATCH] filevercmp: move hidden files up in ordering

2009-03-05 Thread Kamil Dudka
Hello, I've completely rewritten the patch for filevercmp. Now it is easier and gives "better" results. Please have a look at tests/test-filevercmp.c for expected ordering which covers most of cases. Kamil From 495b5d95ddca27efd31929df358c3749965691e7 Mon Sep 17 00:00:00 2001 From: Kamil Dudka