[PATCH v1 0/5] Add nanosecond support patch
Ryan Long
ryan.long at oarcorp.com
Mon May 3 13:40:22 UTC 2021
Hi,
For this series of patches, I
- Created the futimens() and utimensat() functions
- Reimplemented utime() and utimes() using utimensat()
- Added onto the test cases for utime() and utimes()
- Made tests for utimensat() and futimens()
- Changed the utime_h handler to utimens_h()
I still have to change the handler itself. The main change that was made
in that patch was changing the arguments from an access and modifcation
time to a timespec array. The names of the functions were changed, and a
couple of files were renamed as well.
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 | 61 +++-
cpukit/libcsupport/src/__usrenv.c | 9 +-
cpukit/libcsupport/src/futimens.c | 91 ++++++
cpukit/libcsupport/src/utime.c | 74 +++--
cpukit/libcsupport/src/utimensat.c | 229 +++++++++++++
cpukit/libcsupport/src/utimes.c | 54 +++-
cpukit/libfs/src/defaults/default_ops.c | 2 +-
cpukit/libfs/src/defaults/default_utime.c | 32 --
cpukit/libfs/src/defaults/default_utimens.c | 33 ++
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 | 42 +++
cpukit/libfs/src/jffs2/src/fs-rtems.c | 11 +-
cpukit/libfs/src/rfs/rtems-rfs-rtems.c | 16 +-
spec/build/cpukit/librtemscpu.yml | 6 +-
testsuites/psxtests/psx13/main.c | 2 -
testsuites/psxtests/psx13/test.c | 484 +++++++++++++++++++++++++++-
25 files changed, 1056 insertions(+), 190 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
--
1.8.3.1
More information about the devel
mailing list