]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
Inreased buffer size for the Linux gethostbyname_r() test
authorDaniel Stenberg <daniel@haxx.se>
Thu, 24 Aug 2000 17:12:46 +0000 (17:12 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 24 Aug 2000 17:12:46 +0000 (17:12 +0000)
configure.in

index 18d9e3f860f954d3295fddc1e61668586dc6696a..2524edc543b300cce3aa86e598302854c4a6857b 100644 (file)
@@ -240,10 +240,10 @@ main () {
 struct hostent h;
 struct hostent *hp;
 char *name = "localhost";
-char buf[10];
+char buf[8192];
 int rc;
 int h_errno;
-rc = gethostbyname_r(name, &h, buf, 10, &hp, &h_errno);
+rc = gethostbyname_r(name, &h, buf, 8192, &hp, &h_errno);
 exit (rc != 0 ? 1 : 0); }],[
            AC_MSG_RESULT(yes)
            AC_DEFINE(HAVE_GETHOSTBYNAME_R_6)