RTEMS | cpukit/close.c: Fix reference counting under concurrent access. (!775)

Sebastian Huber (@sebhub) gitlab at rtems.org
Mon Oct 13 04:04:26 UTC 2025




Sebastian Huber started a new discussion on cpukit/libcsupport/src/close.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/775#note_134879

 >      bool         success;
 >  
 >      if ( ( flags & LIBIO_FLAGS_OPEN ) == 0 ) {
 > +      rtems_libio_iop_drop( iop );

Here you stop the `close()` if the open flag is not set.

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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20251013/b01f21da/attachment-0001.htm>


More information about the bugs mailing list