Changeset 048b03e in rtems-docs


Ignore:
Timestamp:
Dec 9, 2018, 6:53:33 PM (6 months ago)
Author:
Marçal Comajoan Cara <mcomajoancara@…>
Branches:
master
Children:
16f33fd
Parents:
a46b025
git-author:
Marçal Comajoan Cara <mcomajoancara@…> (12/09/18 18:53:33)
git-committer:
Joel Sherrill <joel@…> (12/09/18 23:05:16)
Message:

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.

Location:
posix-compliance
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • posix-compliance/RTEMS-Standards-Compliance-v4a.csv

    ra46b025 r048b03e  
    11301130utime(),utime.h,INCL,INCL,,INCL,INCL,INCL,,,,,,,,,,,INCL,,,,,RT-YES,,,,,POSIX_FILE_SYSTEM
    11311131utimensat(),sys/stat.h,INCL,,,,,,,,,,,,,,,,,,,,,RT-NO,,,,,
    1132 utimes(),sys/times.h,INCL,INCL,,,INCL,INCL,,,,,,,,,,,,,,,RT-YES,RT-YES,,,,,POSIX_MULTI_PROCESS
     1132utimes(),sys/time.h,INCL,INCL,,,INCL,INCL,,,,,,,,,,,,,,,RT-YES,RT-YES,,,,,POSIX_MULTI_PROCESS
    11331133va_arg(),stdarg.h,INCL,INCL,INCL,INCL,INCL,INCL,INCL,INCL,,,INCL,INCL,,,INCL,INCL,,,,INCL,,HAND-YES,,,,,POSIX_C_LANG_SUPPORT
    11341134va_copy(),stdarg.h,INCL,INCL,INCL,INCL,INCL,INCL,INCL,INCL,,,,INCL,,,,INCL,,,,INCL,,HAND-YES,,,,,POSIX_C_LANG_SUPPORT
  • posix-compliance/wscript

    ra46b025 r048b03e  
    2929def build(ctx):
    3030    ctx(rule = gen_posix_rst,
    31         source = ['posix_rst.py', 'RTEMS-Standards-Compliance-v4.csv'],
     31        source = ['posix_rst.py', 'RTEMS-Standards-Compliance-v4a.csv'],
    3232        target = 'generated-posix-compliance.rst')
    3333    doc_build(ctx, extra_source = ['generated-posix-compliance.rst'])
Note: See TracChangeset for help on using the changeset viewer.