Hi,

>  This patch fixes the logic of #ifdefs in the signalfd testcase. The
>  problem was, that if our own syscall was used, no test would actually
>  be compiled (because of #else between those two pieces of code). This
>  patch also fixes this compile error:
> 
> make[5]: Leaving directory 
> `/tmp/buildd/ltp-20081130+dfsg/testcases/kernel/syscalls/signal'
> make[5]: Entering directory 
> `/tmp/buildd/ltp-20081130+dfsg/testcases/kernel/syscalls/signalfd'
> cc -g -O2 -g -Wall -O2 -Wall -g -O2 -g -Wall -O2 -I../../include -g -Wall 
> -I../../../../include -Wall    signalfd01.c-L../../../../lib -lltp -o 
> signalfd01
> signalfd01.c:88:18: error: #if with no expression
> signalfd01.c: In function 'do_test1':
> signalfd01.c:117: warning: implicit declaration of function 'signalfd'
> 
>  by checking for "defined USE_OWNIMPL", not "USE_OWNIMPL".
...

Thank you for pointing out a bug I introduced:)
Reviewed-by: Masatake YAMATO <[email protected]>

------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to