1998-07-14  Ulrich Drepper  <drepper@cygnus.com>

	* sunrpc/auth_unix.c (authunix_create_default): Use __sysconf
	instead of sysconf.
This commit is contained in:
Ulrich Drepper 1998-07-14 20:52:32 +00:00
parent c764b9a728
commit e31cac9420
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
1998-07-14 Ulrich Drepper <drepper@cygnus.com>
* sunrpc/auth_unix.c (authunix_create_default): Use __sysconf
instead of sysconf.
1998-07-14 19:39 Ulrich Drepper <drepper@cygnus.com>
* stdio-common/vfscanf.c (ungetc): Use _IO_sputbackc, not _IO_ungetc.

View File

@ -172,7 +172,7 @@ authunix_create_default (void)
char machname[MAX_MACHINE_NAME + 1];
uid_t uid;
gid_t gid;
int max_nr_groups = sysconf (_SC_NGROUPS_MAX);
int max_nr_groups = __sysconf (_SC_NGROUPS_MAX);
gid_t gids[max_nr_groups];
if (gethostname (machname, MAX_MACHINE_NAME) == -1)