diff options
author | Daniel Stenberg <daniel@haxx.se> | 2000-08-24 17:12:46 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2000-08-24 17:12:46 +0000 |
commit | bb7929ec50e0ff7cc06ac946ced345661430e086 (patch) | |
tree | 0df6c1914aeeaaa2dd8376918d3b007620b85bb8 /configure.in | |
parent | a1c0a5d0f268340e1fb0ab3230023502c2783cca (diff) | |
download | curl-bb7929ec50e0ff7cc06ac946ced345661430e086.tar.gz |
Inreased buffer size for the Linux gethostbyname_r() test
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in index 18d9e3f86..2524edc54 100644 --- a/configure.in +++ b/configure.in @@ -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) |