nuttx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [incubator-nuttx] Ouss4 opened a new pull request #925: include/sys/stat.h: Change the xtime fields to align with the standard.
Date Thu, 30 Apr 2020 17:17:05 GMT

Ouss4 opened a new pull request #925:

   ## Summary
   Starting from Issue 7 of the POSIX standard the fields  `st_atime`, `st_mtime` and `st_ctime`
have a type of `strcut timespec` instead of  `time_t`.
   This PR updates them and also provides the necessary macros to achieve backward compatibility.
   ## Impact
   Most of the file systems don't use these fields or just initialize them and never update
them.  However others do like FAT and NXFFS.
   ## Testing
   Testing was performed using the "stat" example in apps/ with a FAT formatted device.

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:

View raw message