[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[patch] gnulib testsuite c99-ism
From: |
Matthew Woehlke |
Subject: |
[patch] gnulib testsuite c99-ism |
Date: |
Thu, 26 Mar 2009 17:39:53 -0500 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.21) Gecko/20090320 Fedora/2.0.0.21-1.fc10 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0 |
The gnulib test suite (from coreutils) fails on my non-c99 compiler,
needing the following patch:
--- test-argv-iter.c.orig 2009-03-26 14:36:15.000000000 -0800
+++ test-argv-iter.c 2009-03-26 14:36:57.000000000 -0800
@@ -75,6 +75,7 @@
{
FILE *fp;
struct argv_iterator *ai;
+ size_t n_found = 0;
if (use_stream)
{
/* Generate an identical list to be read via FP. */
@@ -88,7 +89,6 @@
}
ASSERT (ai);
- size_t n_found = 0;
while (1)
{
enum argv_iter_err ai_err;
(I've also got some gnulib test suite failures coming soon...)
--
Matthew
Please do not quote my e-mail address unobfuscated in message bodies.
--
"We're all mad here. I'm mad. You're mad... You must be, or you wouldn't
have come here." -- The Cheshire Cat (from Lewis Carroll's Alice in
Wonderland)
- [patch] gnulib testsuite c99-ism,
Matthew Woehlke <=