c7cda57d80
This is a major update and configuration changes are required - see http://wiki2.dovecot.org/Upgrading/2.0 for more
17 lines
466 B
Plaintext
17 lines
466 B
Plaintext
$OpenBSD: patch-src_lib_ipwd_c,v 1.1 2011/05/23 22:54:38 sthen Exp $
|
|
--- src/lib/ipwd.c.orig Wed May 11 20:27:44 2011
|
|
+++ src/lib/ipwd.c Wed May 11 20:28:24 2011
|
|
@@ -31,12 +31,8 @@ static void gr_init(void)
|
|
long size;
|
|
|
|
if (grbuf == NULL) {
|
|
- /* OpenBSD (up to 4.8 at least) reports too low value in
|
|
- sysconf() */
|
|
-#ifndef __OpenBSD__
|
|
size = sysconf(_SC_GETGR_R_SIZE_MAX);
|
|
if (size < 0)
|
|
-#endif
|
|
size = DEFAULT_GRBUF_SIZE;
|
|
|
|
grbuf_size = size;
|