RTEMS | Cannot obtain dates later than 2100 (!339)

Gedare Bloom (@gedare) gitlab at rtems.org
Tue Feb 11 03:49:23 UTC 2025




Gedare Bloom started a new discussion on cpukit/rtems/src/clockgettod.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/339#note_119621

 > -}
 >  
 >  rtems_status_code rtems_clock_get_tod(
 >    rtems_time_of_day  *time_of_day
 >  )
 >  {
 >    struct timeval now;
 > -  uint32_t       days;
 > -  uint32_t       day_secs;
 > -  uint32_t       year;
 > -  uint32_t       year_days;
 > -  uint32_t       leap_years;
 > +  struct tm      buf;
 > +  struct tm     *current_time_tm;
 >  
 > +  

delete extra blank line.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/339#note_119621
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/20250211/dd12db67/attachment-0001.htm>


More information about the bugs mailing list