Skip to content

Commit

Permalink
More test suite fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulrich Drepper committed Jan 13, 2010
1 parent dfe11a1 commit 2e3e1b3
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 10 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
2010-01-12 Ulrich Drepper <drepper@redhat.com>

* conform/data/complex.h-data: Test for POSIX2008.

* conform/data/ctype.h-data: Fix POSIX testing.

* conform/data/dirent.h-data: ino_t only needed for XSI.

* grp/grp.h: Declare getgrent and endgrent for XPG7.

* conform/data/inttypes.h-data: Use same types as the headers.
Expand Down
2 changes: 1 addition & 1 deletion conform/data/complex.h-data
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifdef XOPEN2K
#if defined XOPEN2K || defined POSIX2008
macro complex
macro _Complex_I
optional-macro imaginary
Expand Down
18 changes: 9 additions & 9 deletions conform/data/ctype.h-data
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,9 @@ function int toascii (int)
// XPG says the following two are macros. But we test a bit more strictly.
function int _toupper (int)
function int _tolower (int)
#endif

// The following is not entirely correct. It should be is[a-z]* but the
// replacement fnmatch implementation does not grok it.
allow is*
allow to*

allow *_t

# if defined XOPEN2K8 || defined XOPEN2K8 || defined POSIX2008
# if defined XOPEN2K8 || defined POSIX2008
type locale_t

function int isalnum_l (int, locale_t)
Expand All @@ -44,4 +38,10 @@ function int isxdigit_l (int, locale_t)
function int tolower_l (int, locale_t)
function int toupper_l (int, locale_t)
# endif
#endif

// The following is not entirely correct. It should be is[a-z]* but the
// replacement fnmatch implementation does not grok it.
allow is*
allow to*

allow *_t
2 changes: 2 additions & 0 deletions conform/data/dirent.h-data
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ element {struct dirent} ino_t d_ino
# endif
element {struct dirent} char d_name []

# if !defined POSIX && !defined POSIX2008
type ino_t
#endif

function int closedir (DIR*)
function {DIR*} opendir (const char*)
Expand Down

0 comments on commit 2e3e1b3

Please sign in to comment.