RTEMS | cpukit/libblock: Close all valid FDs (!186)

Kinsey Moore (@opticron) gitlab at rtems.org
Mon Aug 12 17:54:34 UTC 2024



Kinsey Moore created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/186

Project:Branches: opticron/rtems:fix-fd-check to rtems/rtos/rtems:main
Author:   Kinsey Moore
Assignee: Kinsey Moore
Reviewer: Joel Sherrill


## Summary

cpukit/libblock: Close all valid FDs

This is intended to close any valid FDs that were opened, but 0 is also
a valid FD. This change ensures that a FD of 0 is also closed properly.


<!-- Default settings, if it is a dropdown it will set after submission -->

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/186
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/20240812/7f0473fa/attachment.htm>


More information about the bugs mailing list