From: Carmelo AMOROSO <carmelo.amoroso@st.com>
To: Mike Frysinger <vapier@gentoo.org>
Cc: ltp-list@lists.sourceforge.net
Subject: Re: [LTP] [PATCH 1/2] getcontext01: fix build using uClibc C runtime
Date: Wed, 18 Jan 2012 16:31:38 +0100 [thread overview]
Message-ID: <4F16E5DA.2050707@st.com> (raw)
In-Reply-To: <201201181016.39003.vapier@gentoo.org>
On 18/01/2012 16.16, Mike Frysinger wrote:
> On Wednesday 18 January 2012 09:36:47 Carmelo AMOROSO wrote:
>> --- a/testcases/kernel/syscalls/getcontext/getcontext01.c +++
>> b/testcases/kernel/syscalls/getcontext/getcontext01.c
>>
>> #include <features.h> +#include <unistd.h> +#include "test.h"
>> +char *TCID = "getcontext01"; /* Test program identifier. */
>> + #if !defined(__UCLIBC__)
>>
>> #include <stdio.h> -#include <unistd.h> #include <errno.h>
>> #include <ucontext.h>
>>
>> -#include "test.h" #include "usctest.h"
>
> all of the system includes should come before LTP includes. i
> would just move the whole block above the #ifdef check.
>
ok, make sense.
> also, checking __UCLIBC__ is a bit broken now ... we should use
> configure.ac to test for the func and change this test
> accordingly.
yeah... there are few other occurrences of testing for __UCLIBC__ macro.
I should have sent this a lot of times ago ;-)
I'd send a new version moving the include block all together, and
keeping for now the __UCLIBC__ check, as a temporary solution.
> -mike
thanks,
carmelo
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
next prev parent reply other threads:[~2012-01-18 15:31 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-18 14:36 [LTP] [PATCH 1/2] getcontext01: fix build using uClibc C runtime Carmelo AMOROSO
2012-01-18 14:36 ` [LTP] [PATCH 2/2] profile01: fix build using uClibc runtime Carmelo AMOROSO
2012-01-18 15:16 ` Mike Frysinger
2012-01-18 15:44 ` [LTP] [PATCH 2/2 V2] " Carmelo AMOROSO
2012-01-18 16:46 ` Mike Frysinger
2012-01-18 15:16 ` [LTP] [PATCH 1/2] getcontext01: fix build using uClibc C runtime Mike Frysinger
2012-01-18 15:31 ` Carmelo AMOROSO [this message]
2012-01-18 15:44 ` [LTP] [PATCH 1/2 V2] " Carmelo AMOROSO
2012-01-18 16:46 ` Mike Frysinger
2012-01-20 13:40 ` Cyril Hrubis
2012-01-23 10:01 ` [LTP] [PATCH 1/2 V3] " Carmelo AMOROSO
2012-01-23 10:01 ` [LTP] [PATCH 2/2 V3] profile01: fix build using uClibc runtime Carmelo AMOROSO
2012-01-24 1:09 ` Mike Frysinger
2012-01-24 1:09 ` [LTP] [PATCH 1/2 V3] getcontext01: fix build using uClibc C runtime Mike Frysinger
2012-01-25 13:55 ` Cyril Hrubis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F16E5DA.2050707@st.com \
--to=carmelo.amoroso@st.com \
--cc=ltp-list@lists.sourceforge.net \
--cc=vapier@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.