commit | 5217fb528ca40ece0dbb459dedf7d6fae81dde68 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed May 15 00:56:06 2013 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed May 15 00:56:06 2013 +0000 |
tree | a03fac1eb3034d9878e3fe9c0adf86186e3964a7 | |
parent | 6f502bc74374804766639e6b1515644875810bda [diff] | |
parent | d35106fd557e054d1ffe388df6a3b3cb51cc5021 [diff] |
Merge "Fix sysconf(3) for _SC_GETGR_R_SIZE_MAX and _SC_GETPW_R_SIZE_MAX."
diff --git a/libc/bionic/sysconf.cpp b/libc/bionic/sysconf.cpp index 5e39e61..9ab2007 100644 --- a/libc/bionic/sysconf.cpp +++ b/libc/bionic/sysconf.cpp
@@ -298,8 +298,8 @@ case _SC_TIMERS: return _POSIX_TIMERS; #endif - // GETGR_R_SIZE_MAX ? - // GETPW_R_SIZE_MAX ? + case _SC_GETGR_R_SIZE_MAX: return 1024; + case _SC_GETPW_R_SIZE_MAX: return 1024; case _SC_LOGIN_NAME_MAX: return SYSTEM_LOGIN_NAME_MAX;