Yang Zhang created a merge request: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1325

Project:Branches: Chloe/rtems:fix-psxmsgq01-timeval-subtraction to 
rtems/rtos/rtems:main
Author:   Yang Zhang



## Summary

This patch fixes the timeval subtraction logic in psxmsgq01/init.c which 
previously failed to borrow from the seconds component when the microsecond 
difference was negative.

This bug resulted in negative microsecond values and an off-by-one incorrect 
seconds count during timed queue verifications.

Additionally, this patch removes the associated "FIXME: This is wrong." comment.

## Generative AI

<!--If you have used AI please use the "AI Contribution" template otherwise 
leave this blank see our fulls statement at 
https://www.rtems.org/generative-ai/-->

None

<!--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/1325
You're receiving this email because of your account on gitlab.rtems.org. 
Unsubscribe from this thread: 
https://gitlab.rtems.org/-/sent_notifications/4-1i5dw0sinq2uexdgoe4c2lhz0-1d/unsubscribe
 | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | 
Help: https://gitlab.rtems.org/help


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to