[LTP] [RFC PATCH 1/1] open_posix_testsuite/pthread_sigmask: fix return value checks

Cyril Hrubis chrubis@suse.cz
Mon May 20 11:53:57 CEST 2019


Hi!
> Consistently use error(3) and replace all occurences of perror()
> at the same time.

The error(3) is GNU extension we cannot use it in a POSIX testsuite as
such, I guess that we will have to add custom error reporting functions
(in a separate patch) to the open_posix_testsuite/include/posixtest.h
header...

Other than that the patch is obviously correct.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list