diff options
author | Marçal Comajoan Cara <mcomajoancara@gmail.com> | 2018-12-09 19:53:33 +0100 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2018-12-09 17:05:16 -0600 |
commit | 048b03ea607b42a5cc348b7b867ba18fad12e0a4 (patch) | |
tree | a21c884c88a414d6cfc6fa2c0da60a0b3d787205 | |
parent | a46b0250e58fb8aa9032971997cc1eff8fd0dcc8 (diff) |
posix-compliance: Change utimes() from sys/times.h to sys/time.h
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.
-rwxr-xr-x | posix-compliance/RTEMS-Standards-Compliance-v4a.csv (renamed from posix-compliance/RTEMS-Standards-Compliance-v4.csv) | 14 | ||||
-rw-r--r-- | posix-compliance/wscript | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/posix-compliance/RTEMS-Standards-Compliance-v4.csv b/posix-compliance/RTEMS-Standards-Compliance-v4a.csv index 3519e12..993b5a0 100755 --- a/posix-compliance/RTEMS-Standards-Compliance-v4.csv +++ b/posix-compliance/RTEMS-Standards-Compliance-v4a.csv @@ -1126,13 +1126,13 @@ unlinkat(),unistd.h,INCL,,,,,,,,,,,,,,,,,,,,,RT-NO,,,,, unlockpt(),stdlib.h,INCL,INCL,,,,,,,,,,,,,,,,,,,,RT-NO,,,,,XSI_DEVICE_SPECIFIC
unsetenv(),stdlib.h,INCL,INCL,INCL,INCL,INCL,INCL,,,,,,INCL,,,,INCL,,,,,CTS-YES,CTS-YES,,,CTS-YES,,POSIX_SINGLE_PROCESS
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
-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
+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/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 va_start(),stdarg.h,INCL,INCL,INCL,INCL,INCL,INCL,INCL,INCL,,,INCL,INCL,,,INCL,INCL,,,,INCL,,HAND-YES,,,,,POSIX_C_LANG_SUPPORT
vdprintf(),stdio.h,INCL,,,,,,,,,,,,,,,,,,,,,RT-YES,,,,,
vfork(),unistd.h,,INCL,,,,,,,,,,,,,,,,,,,,,,,,,
diff --git a/posix-compliance/wscript b/posix-compliance/wscript index 06eb7a0..376ee76 100644 --- a/posix-compliance/wscript +++ b/posix-compliance/wscript @@ -28,6 +28,6 @@ def gen_posix_rst(task): def build(ctx): ctx(rule = gen_posix_rst, - source = ['posix_rst.py', 'RTEMS-Standards-Compliance-v4.csv'], + source = ['posix_rst.py', 'RTEMS-Standards-Compliance-v4a.csv'], target = 'generated-posix-compliance.rst') doc_build(ctx, extra_source = ['generated-posix-compliance.rst']) |