From d6365e2da26174977de552e8893747809944afb5 Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Fri, 28 Feb 2014 16:30:00 +0100 Subject: [PATCH] Add sysconf(_SC_GETPW_R_SIZE_MAX). --- libc/unistd/sysconf.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libc/unistd/sysconf.cpp b/libc/unistd/sysconf.cpp index c1b1d7c2..d1e23c77 100644 --- a/libc/unistd/sysconf.cpp +++ b/libc/unistd/sysconf.cpp @@ -37,6 +37,7 @@ extern "C" long sysconf(int name) case _SC_OPEN_MAX: return 0x10000; case _SC_RTSIG_MAX: return (SIGRTMAX+1) - SIGRTMIN; case _SC_GETGR_R_SIZE_MAX: return -1; + case _SC_GETPW_R_SIZE_MAX: return -1; default: fprintf(stderr, "%s:%u warning: %s(%i) is unsupported\n", __FILE__, __LINE__, __func__, name);