[PATCH v3 0/5] Add nanosecond support patch

Ryan Long ryan.long at oarcorp.com
Wed May 12 13:33:37 UTC 2021


Hi,

The notable changes in this iteration are:
- got rid of rtems_filesystem_utime_tv_sec_valid() created
  _Timespec_Is_non_negative() in rtems/score/timespec.h to take its
  place.
- Fixed some license issues

Thanks,
Ryan

Ryan Long (5):
  libcsupport: Added futimens() and utimensat()
  libcsupport: Implement utime() in terms of utimensat()
  libcsupport: Implement utimes() in terms of utimensat()
  psx13: Added tests for utimensat() and futimens()
  Change filesystem utime_h handler to utimens_h

 bsps/arm/csb337/umon/tfsDriver.c            |   2 +-
 cpukit/Makefile.am                          |   6 +-
 cpukit/include/rtems/confdefs/libio.h       |   4 +-
 cpukit/include/rtems/imfs.h                 |   7 +-
 cpukit/include/rtems/libio.h                |  21 +-
 cpukit/include/rtems/libio_.h               |  64 +++-
 cpukit/include/rtems/score/timespec.h       |  16 +-
 cpukit/libcsupport/src/__usrenv.c           |   9 +-
 cpukit/libcsupport/src/futimens.c           |  87 +++++
 cpukit/libcsupport/src/utime.c              |  77 +++--
 cpukit/libcsupport/src/utimensat.c          | 224 ++++++++++++
 cpukit/libcsupport/src/utimes.c             |  53 ++-
 cpukit/libfs/src/defaults/default_ops.c     |   2 +-
 cpukit/libfs/src/defaults/default_utime.c   |  32 --
 cpukit/libfs/src/defaults/default_utimens.c |  49 +++
 cpukit/libfs/src/dosfs/msdos_init.c         |  11 +-
 cpukit/libfs/src/ftpfs/ftpfs.c              |   2 +-
 cpukit/libfs/src/ftpfs/tftpDriver.c         |   2 +-
 cpukit/libfs/src/imfs/imfs_init.c           |   4 +-
 cpukit/libfs/src/imfs/imfs_utime.c          |  41 ---
 cpukit/libfs/src/imfs/imfs_utimens.c        |  58 ++++
 cpukit/libfs/src/jffs2/src/fs-rtems.c       |  11 +-
 cpukit/libfs/src/rfs/rtems-rfs-rtems.c      |  16 +-
 cpukit/score/src/timespecisnonnegative.c    |  35 ++
 spec/build/cpukit/librtemscpu.yml           |   7 +-
 testsuites/psxtests/psx13/main.c            |   5 +-
 testsuites/psxtests/psx13/test.c            | 517 ++++++++++++++++++++++++++--
 27 files changed, 1159 insertions(+), 203 deletions(-)
 create mode 100644 cpukit/libcsupport/src/futimens.c
 create mode 100644 cpukit/libcsupport/src/utimensat.c
 delete mode 100644 cpukit/libfs/src/defaults/default_utime.c
 create mode 100644 cpukit/libfs/src/defaults/default_utimens.c
 delete mode 100644 cpukit/libfs/src/imfs/imfs_utime.c
 create mode 100644 cpukit/libfs/src/imfs/imfs_utimens.c
 create mode 100644 cpukit/score/src/timespecisnonnegative.c

-- 
1.8.3.1



More information about the devel mailing list