Merge "Fix sysconf(3) for _SC_GETGR_R_SIZE_MAX and _SC_GETPW_R_SIZE_MAX."

This commit is contained in:
Elliott Hughes 2013-05-15 00:56:06 +00:00 committed by Gerrit Code Review
commit 5217fb528c

View File

@ -298,8 +298,8 @@ int sysconf(int name) {
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;