sigaction/16-1.c: make build pass on mips arch
PATCH 1/1 sigaction/16-1.c: make build pass on mips arch
There is no signal SIGTLKFLT on mips architecture. Remove SIGTLKFLT from signal set when test on mips arch.
Signed-off-by Kang Kai <[email protected]>
--- .../conformance/interfaces/sigaction/16-1.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
testcases/open_posix_testsuite/conformance/interfaces/sigaction/16-1.c +2 -0
@@ -67,7 +67,9 @@ static struct sig_info sigs[] = { {SIGPIPE, "SIGPIPE", 0}, {SIGALRM, "SIGALRM", 0}, {SIGTERM, "SIGTERM", 0}, +#ifndef __mips__ {SIGSTKFLT, "SIGSTKFLT", 0}, +#endif {SIGCHLD, "SIGCHLD", 0}, {SIGCONT, "SIGCONT", 0}, {SIGTSTP, "SIGTSTP", 0},
Signature · 13 lines
1.7.5.4 ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
Hi!
Quoted 10 lines
Signed-off-by Kang Kai <[email protected]>--- .../conformance/interfaces/sigaction/16-1.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)testcases/open_posix_testsuite/conformance/interfaces/sigaction/16-1.c +0
-0
testcases/open_posix_testsuite/conformance/interfaces/sigaction/16-1.c static struct sig_info sigs[] = { · line 75
Quoted 9 lines
testcases/open_posix_testsuite/conformance/interfaces/sigaction/16-1.c +2
-0@@ -67,7 +67,9 @@ static struct sig_info sigs[] = { {SIGPIPE, "SIGPIPE", 0}, {SIGALRM, "SIGALRM", 0}, {SIGTERM, "SIGTERM", 0}, +#ifndef __mips__ {SIGSTKFLT, "SIGSTKFLT", 0}, +#endif {SIGCHLD, "SIGCHLD", 0}, {SIGCONT, "SIGCONT", 0}, {SIGTSTP, "SIGTSTP", 0},
What about?
#ifdef SIGSTKFLT
{SIGSTKFLT, "SIGSTKFLT", 0},
#endif
Which should fix all possible systems without this signal.
Signature · 13 lines
Cyril Hrubis [email protected] ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list