GNU bug report logs -
#14495
unistd.h problem in t/lex-header.sh
Previous Next
Reported by: Peter Rosin <peda <at> lysator.liu.se>
Date: Wed, 29 May 2013 00:11:01 UTC
Severity: minor
Tags: patch
Done: Stefano Lattarini <stefano.lattarini <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #20 received at 14495 <at> debbugs.gnu.org (full text, mbox):
On 2013-05-29 11:51, Stefano Lattarini wrote:
> On 05/29/2013 11:43 AM, Peter Rosin wrote:
>> diff --git a/t/lex-header.sh b/t/lex-header.sh
>> index 005ae86..0789af4 100644
>> --- a/t/lex-header.sh
>> +++ b/t/lex-header.sh
>> @@ -55,6 +55,7 @@ cat > lexer.l << 'END'
>> END
>>
>> cat > main.c <<'END'
>> +#define YY_NO_UNISTD_H 1
>> #include "mylex.h"
>> int main (void)
>> {
>>
Pushing this:
From a4598c57d3dded53851f1319f23d187b2c8132d3 Mon Sep 17 00:00:00 2001
From: Peter Rosin <peda <at> lysator.liu.se>
Date: Wed, 29 May 2013 12:01:07 +0200
Subject: [PATCH 1/2] tests: avoid a spurious failure on non-POSIX systems
Fixes automake bug#14495.
* t/lex-header.sh: Make sure unistd.h isn't included.
Signed-off-by: Peter Rosin <peda <at> lysator.liu.se>
---
t/lex-header.sh | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/t/lex-header.sh b/t/lex-header.sh
index 005ae86..0789af4 100644
--- a/t/lex-header.sh
+++ b/t/lex-header.sh
@@ -55,6 +55,7 @@ cat > lexer.l << 'END'
END
cat > main.c <<'END'
+#define YY_NO_UNISTD_H 1
#include "mylex.h"
int main (void)
{
--
1.7.9
This bug report was last modified 12 years and 49 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.