Joel Sherrill started a new discussion on cpukit/posix/src/pthreadsigmask.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/546#note_126636

 >    POSIX_API_Control  *api;
 >  
 >    if ( !set && !oset )
 > -    rtems_set_errno_and_return_minus_one( EINVAL );

Per POSIX, pthread_sigmask() should return the error not -1. It also should not 
set errno at all.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/546#note_126636
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to