Merge "Fix sysconf(3) for _SC_GETGR_R_SIZE_MAX and _SC_GETPW_R_SIZE_MAX."
This commit is contained in:
commit
5217fb528c
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user