From: David Marlin <dmarlin@redhat.com>
To: LTP list <ltp-list@lists.sourceforge.net>
Subject: [LTP] problems building mallopt01.c for uClinux
Date: Tue, 17 Aug 2010 13:30:12 -0500 [thread overview]
Message-ID: <4C6AD534.2020109@redhat.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 298 bytes --]
The testcase mallopt01 skips performing the test when UCLINUX=1, but the
mallinfo structure is defined outside the #if !defined(UCLINUX) block.
Attached is a patch to move the mallinfo structure definition inside the
#if !defined(UCLINUX) block.
Signed-off-by: d.marlin <dmarlin@redhat.com>
[-- Attachment #2: mallopt01.c.patch --]
[-- Type: text/x-patch, Size: 497 bytes --]
--- testcases/kernel/syscalls/mallopt/mallopt01.c.orig2 2010-08-13 10:28:12.318231000 -0500
+++ testcases/kernel/syscalls/mallopt/mallopt01.c 2010-08-13 10:44:06.279068760 -0500
@@ -56,10 +56,10 @@
extern int Tst_COUNT; /* Test Case counter for tst_routines */
void printinfo();
-/***** * * *****/
-struct mallinfo info;
#if !defined(UCLINUX)
+/***** * * *****/
+struct mallinfo info;
/*--------------------------------------------------------------*/
int main(int argc, char *argv[])
[-- Attachment #3: Type: text/plain, Size: 224 bytes --]
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
[-- Attachment #4: Type: text/plain, Size: 155 bytes --]
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
next reply other threads:[~2010-08-17 18:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-17 18:30 David Marlin [this message]
2010-08-17 19:47 ` [LTP] problems building mallopt01.c for uClinux Garrett Cooper
2010-08-17 20:00 ` Mike Frysinger
2010-08-17 20:05 ` Garrett Cooper
2010-08-17 20:09 ` Mike Frysinger
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=4C6AD534.2020109@redhat.com \
--to=dmarlin@redhat.com \
--cc=ltp-list@lists.sourceforge.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox