conformtest: clean up POSIX expectations for termios.h, time.h.
Continuing the series of patches to clean up conformtest expectations for "POSIX" (1995/6) based on review of the expectations against the standard, this patch cleans up expectations for termios.h and time.h. Tested x86_64; no new XFAILs needed. * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect constant. [POSIX] (IXANY): Likewise. [POSIX] (OLCUC): Likewise. [POSIX || POSIX2008] (CBAUD): Do not allow. [POSIX || POSIX2008] (DEFECHO): Likewise. [POSIX || POSIX2008] (ECHOCTL): Likewise. [POSIX || POSIX2008] (ECHOKE): Likewise. [POSIX || POSIX2008] (ECHOPRT): Likewise. [POSIX || POSIX2008] (EXTA): Likewise. [POSIX || POSIX2008] (EXTB): Likewise. [POSIX || POSIX2008] (FLUSHO): Likewise. [POSIX || POSIX2008] (LOBLK): Likewise. [POSIX || POSIX2008] (PENDIN): Likewise. [POSIX || POSIX2008] (SWTCH): Likewise. [POSIX || POSIX2008] (VDISCARD): Likewise. [POSIX || POSIX2008] (VDSUSP): Likewise. [POSIX || POSIX2008] (VLNEXT): Likewise. [POSIX || POSIX2008] (VREPRINT): Likewise. [POSIX || POSIX2008] (VSTATUS): Likewise. [POSIX || POSIX2008] (VWERASE): Likewise. (B*): Change to B[0123456789]*. * conform/data/time.h-data [POSIX || UNIX98] (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant. [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise. [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise. [POSIX] (tm_*): Do not allow.
This commit is contained in:
parent
686554bff6
commit
09f19b0552
30
ChangeLog
30
ChangeLog
|
@ -1,3 +1,33 @@
|
||||||
|
2014-06-09 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
|
* conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
|
||||||
|
constant.
|
||||||
|
[POSIX] (IXANY): Likewise.
|
||||||
|
[POSIX] (OLCUC): Likewise.
|
||||||
|
[POSIX || POSIX2008] (CBAUD): Do not allow.
|
||||||
|
[POSIX || POSIX2008] (DEFECHO): Likewise.
|
||||||
|
[POSIX || POSIX2008] (ECHOCTL): Likewise.
|
||||||
|
[POSIX || POSIX2008] (ECHOKE): Likewise.
|
||||||
|
[POSIX || POSIX2008] (ECHOPRT): Likewise.
|
||||||
|
[POSIX || POSIX2008] (EXTA): Likewise.
|
||||||
|
[POSIX || POSIX2008] (EXTB): Likewise.
|
||||||
|
[POSIX || POSIX2008] (FLUSHO): Likewise.
|
||||||
|
[POSIX || POSIX2008] (LOBLK): Likewise.
|
||||||
|
[POSIX || POSIX2008] (PENDIN): Likewise.
|
||||||
|
[POSIX || POSIX2008] (SWTCH): Likewise.
|
||||||
|
[POSIX || POSIX2008] (VDISCARD): Likewise.
|
||||||
|
[POSIX || POSIX2008] (VDSUSP): Likewise.
|
||||||
|
[POSIX || POSIX2008] (VLNEXT): Likewise.
|
||||||
|
[POSIX || POSIX2008] (VREPRINT): Likewise.
|
||||||
|
[POSIX || POSIX2008] (VSTATUS): Likewise.
|
||||||
|
[POSIX || POSIX2008] (VWERASE): Likewise.
|
||||||
|
(B*): Change to B[0123456789]*.
|
||||||
|
* conform/data/time.h-data [POSIX || UNIX98]
|
||||||
|
(CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
|
||||||
|
[POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
|
||||||
|
[POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
|
||||||
|
[POSIX] (tm_*): Do not allow.
|
||||||
|
|
||||||
2014-06-07 Joseph Myers <joseph@codesourcery.com>
|
2014-06-07 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
* Makefile (install): Don't set LANGUAGE.
|
* Makefile (install): Don't set LANGUAGE.
|
||||||
|
|
|
@ -37,16 +37,18 @@ constant IGNPAR
|
||||||
constant INLCR
|
constant INLCR
|
||||||
constant INPCK
|
constant INPCK
|
||||||
constant ISTRIP
|
constant ISTRIP
|
||||||
# if !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
|
# if !defined POSIX && !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
|
||||||
constant IUCLC
|
constant IUCLC
|
||||||
# endif
|
# endif
|
||||||
|
# ifndef POSIX
|
||||||
constant IXANY
|
constant IXANY
|
||||||
|
# endif
|
||||||
constant IXOFF
|
constant IXOFF
|
||||||
constant IXON
|
constant IXON
|
||||||
constant PARMRK
|
constant PARMRK
|
||||||
|
|
||||||
constant OPOST
|
constant OPOST
|
||||||
# if !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
|
# if !defined POSIX && !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
|
||||||
constant OLCUC
|
constant OLCUC
|
||||||
# endif
|
# endif
|
||||||
# if !defined POSIX && !defined POSIX2008
|
# if !defined POSIX && !defined POSIX2008
|
||||||
|
@ -148,6 +150,7 @@ function pid_t tcgetsid (int)
|
||||||
function int tcsendbreak (int, int)
|
function int tcsendbreak (int, int)
|
||||||
function int tcsetattr (int, int, const struct termios*)
|
function int tcsetattr (int, int, const struct termios*)
|
||||||
|
|
||||||
|
#if !defined POSIX && !defined POSIX2008
|
||||||
allow CBAUD
|
allow CBAUD
|
||||||
allow DEFECHO
|
allow DEFECHO
|
||||||
allow ECHOCTL
|
allow ECHOCTL
|
||||||
|
@ -165,12 +168,13 @@ allow VLNEXT
|
||||||
allow VREPRINT
|
allow VREPRINT
|
||||||
allow VSTATUS
|
allow VSTATUS
|
||||||
allow VWERASE
|
allow VWERASE
|
||||||
|
#endif
|
||||||
|
|
||||||
allow c_*
|
allow c_*
|
||||||
allow V*
|
allow V*
|
||||||
allow I*
|
allow I*
|
||||||
allow O*
|
allow O*
|
||||||
allow TC*
|
allow TC*
|
||||||
allow B*
|
allow B[0123456789]*
|
||||||
allow *_t
|
allow *_t
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -46,8 +46,10 @@ function int timespec_get (struct timespec *, int)
|
||||||
symbol CLK_TCK
|
symbol CLK_TCK
|
||||||
# endif
|
# endif
|
||||||
# if !defined XPG3 && !defined XPG4
|
# if !defined XPG3 && !defined XPG4
|
||||||
|
# if !defined POSIX && !defined UNIX98
|
||||||
constant CLOCK_PROCESS_CPUTIME_ID
|
constant CLOCK_PROCESS_CPUTIME_ID
|
||||||
constant CLOCK_THREAD_CPUTIME_ID
|
constant CLOCK_THREAD_CPUTIME_ID
|
||||||
|
# endif
|
||||||
|
|
||||||
type {struct itimerspec}
|
type {struct itimerspec}
|
||||||
|
|
||||||
|
@ -56,7 +58,9 @@ element {struct itimerspec} {struct timespec} it_value
|
||||||
|
|
||||||
constant CLOCK_REALTIME
|
constant CLOCK_REALTIME
|
||||||
constant TIMER_ABSTIME
|
constant TIMER_ABSTIME
|
||||||
|
# if !defined POSIX && !defined UNIX98
|
||||||
constant CLOCK_MONOTONIC
|
constant CLOCK_MONOTONIC
|
||||||
|
# endif
|
||||||
|
|
||||||
type clockid_t
|
type clockid_t
|
||||||
type timer_t
|
type timer_t
|
||||||
|
@ -116,7 +120,9 @@ variable {long int} timezone
|
||||||
# endif
|
# endif
|
||||||
variable {char*} tzname [2]
|
variable {char*} tzname [2]
|
||||||
|
|
||||||
|
# ifndef POSIX
|
||||||
allow tm_*
|
allow tm_*
|
||||||
|
# endif
|
||||||
allow clock_*
|
allow clock_*
|
||||||
allow timer_*
|
allow timer_*
|
||||||
allow it_*
|
allow it_*
|
||||||
|
|
Loading…
Reference in New Issue