[PATCH] posix-compliance: Change utimes() from sys/times.h to sys/time.h
Marçal Comajoan Cara
mcomajoancara at gmail.com
Sun Dec 9 18:57:47 UTC 2018
In the RTEMS POSIX 1003.1 Compliance Guide it says:
The following methods and variables in <sys/times.h> are supported:
- times()
- utimes()
But according to the official POSIX Specifications
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_times.h.html,
<sys/times.h> only declares times(), and utimes() is decleared by
<sys/time.h> (notice that it's time, not times) according to
http://pubs.opengroup.org/onlinepubs/9699919799/functions/utimensat.html
and http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_time.h.html.
This patch fixes this error.
This work was part of GCI 2018.
---
posix-compliance/RTEMS-Standards-Compliance-v4.csv | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/posix-compliance/RTEMS-Standards-Compliance-v4.csv b/posix-compliance/RTEMS-Standards-Compliance-v4.csv
index 3519e12..c6e6e0c 100755
--- a/posix-compliance/RTEMS-Standards-Compliance-v4.csv
+++ b/posix-compliance/RTEMS-Standards-Compliance-v4.csv
@@ -1129,7 +1129,7 @@ uselocale(),locale.h,INCL,,,,,,,,,,,,,,,,,,,,,RT-YES,,,,,
usleep(),unistd.h,,INCL,,,,,,,,,,,,,,,,,,,RT-YES,RT-YES,,,,,
utime(),utime.h,INCL,INCL,,INCL,INCL,INCL,,,,,,,,,,,INCL,,,,,RT-YES,,,,,POSIX_FILE_SYSTEM
utimensat(),sys/stat.h,INCL,,,,,,,,,,,,,,,,,,,,,RT-NO,,,,,
-utimes(),sys/times.h,INCL,INCL,,,INCL,INCL,,,,,,,,,,,,,,,RT-YES,RT-YES,,,,,POSIX_MULTI_PROCESS
+utimes(),sys/time.h,INCL,INCL,,,INCL,INCL,,,,,,,,,,,,,,,RT-YES,RT-YES,,,,,POSIX_MULTI_PROCESS
va_arg(),stdarg.h,INCL,INCL,INCL,INCL,INCL,INCL,INCL,INCL,,,INCL,INCL,,,INCL,INCL,,,,INCL,,HAND-YES,,,,,POSIX_C_LANG_SUPPORT
va_copy(),stdarg.h,INCL,INCL,INCL,INCL,INCL,INCL,INCL,INCL,,,,INCL,,,,INCL,,,,INCL,,HAND-YES,,,,,POSIX_C_LANG_SUPPORT
va_end(),stdarg.h,INCL,INCL,INCL,INCL,INCL,INCL,INCL,INCL,,,INCL,INCL,,,INCL,INCL,,,,INCL,,HAND-YES,,,,,POSIX_C_LANG_SUPPORT
--
2.17.1
More information about the devel
mailing list