2015-06-12 Joseph Myers <joseph@codesourcery.com>
+ [BZ #18528]
+ * grp/grp.h (endgrent): Condition on [__USE_MISC ||
+ __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
+ __USE_XOPEN2K8].
+ (getgrent): Likewise.
+ * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
+ expect.
+ [XPG3 || POSIX2008] (endgrent): Likewise.
+ [XPG3] (setgrent): Likewise.
+ * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
+ variable.
+ (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
+
[BZ #18527]
* login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
define as weak alias of __getlogin_r. Use libc_hidden_weak.
18211, 18217, 18220, 18221, 18234, 18244, 18247, 18287, 18319, 18324,
18333, 18346, 18397, 18409, 18410, 18412, 18418, 18422, 18434, 18444,
18468, 18469, 18470, 18479, 18483, 18495, 18496, 18497, 18498, 18507,
- 18512, 18519, 18520, 18522, 18527.
+ 18512, 18519, 18520, 18522, 18527, 18528.
* Cache information can be queried via sysconf() function on s390 e.g. with
_SC_LEVEL1_ICACHE_SIZE as argument.
# Unsorted expected failures.
test-xfail-XPG3/fcntl.h/conform = yes
test-xfail-XPG3/ftw.h/conform = yes
-test-xfail-XPG3/grp.h/conform = yes
test-xfail-XPG3/langinfo.h/conform = yes
test-xfail-XPG3/limits.h/conform = yes
test-xfail-XPG3/pwd.h/conform = yes
test-xfail-XOPEN2K/fmtmsg.h/linknamespace = yes
test-xfail-XOPEN2K/netdb.h/linknamespace = yes
test-xfail-XOPEN2K/syslog.h/linknamespace = yes
-test-xfail-POSIX2008/grp.h/linknamespace = yes
test-xfail-POSIX2008/netdb.h/linknamespace = yes
test-xfail-POSIX2008/semaphore.h/linknamespace = yes
test-xfail-XOPEN2K8/fmtmsg.h/linknamespace = yes
function {struct group*} getgrnam (const char*)
function int getgrgid_r (gid_t, struct group*, char *, size_t, struct group**)
function int getgrnam_r (const char *, struct group *, char *, size_t, struct group**)
-# ifndef POSIX
+# if !defined XPG3 && !defined POSIX && !defined POSIX2008
function {struct group*} getgrent (void)
function void endgrent (void)
-# ifndef POSIX2008
function void setgrent (void)
-# endif
# endif
allow gr_*
This function is a possible cancellation point and therefore not
marked with __THROW. */
extern void setgrent (void);
-#endif
-#if defined __USE_XOPEN_EXTENDED || defined __USE_XOPEN2K8
/* Close the group-file stream.
This function is a possible cancellation point and therefore not