RTEMS | Cannot obtain dates later than 2100 (!339)
Gedare Bloom (@gedare)
gitlab at rtems.org
Fri Feb 7 21:23:56 UTC 2025
Merge request https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/339 was reviewed by Gedare Bloom
--
Gedare Bloom started a new discussion on cpukit/rtems/src/clockgettod.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/339#note_119457
> - }
> + struct tm buf;
> + struct tm *current_time_tm;
Declare the variables at the start of block scope.
--
Gedare Bloom started a new discussion on cpukit/rtems/src/clockgettod.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/339#note_119458
> time_of_day->ticks = now.tv_usec /
> - rtems_configuration_get_microseconds_per_tick( );
> + rtems_configuration_get_microseconds_per_tick();
avoid making changes to existing whitespace (until we have automated formatter)
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/339
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/20250207/b9ea7fcc/attachment.htm>
More information about the bugs
mailing list