This commit is contained in:
Nalin Dahyabhai 2008-07-22 20:09:39 +00:00
parent d33a365a9e
commit d1735c73a1
3 changed files with 9 additions and 5 deletions

View File

@ -2,17 +2,18 @@ If the response is larger than 1024 bytes, go ahead and retry.
--- hesiod-3.1.0/hesiod.c 2006-03-30 13:22:57.000000000 -0500
+++ hesiod-3.1.0/hesiod.c 2006-03-30 13:28:16.000000000 -0500
@@ -327,7 +327,8 @@
@@ -327,8 +327,9 @@
*/
static char **get_txt_records(struct hesiod_p *ctx, const char *name)
{
- unsigned char qbuf[PACKETSZ], abuf[MAX_HESRESP];
- int n;
+ unsigned char qbuf[PACKETSZ], *abuf;
+ char **tmp;
- int n;
+ int n, i, len;
/* Make sure the resolver is initialized. */
if ((_res.options & RES_INIT) == 0 && res_init() == -1)
@@ -343,14 +344,36 @@
}

View File

@ -10,7 +10,7 @@ copy of the library already implements a similar check.
+#include <unistd.h>
#include <ctype.h>
#include "hesiod.h"
#include "hesiod_p.h"
@@ -79,13 +80,13 @@
if (ctx)
{

View File

@ -1,9 +1,9 @@
Name: hesiod
Version: 3.1.0
Release: 12
Release: 13
Source: ftp://athena-dist.mit.edu/pub/ATHENA/hesiod/hesiod-%{version}.tar.gz
Patch0: hesiod-3.1.0-classes.patch
Patch1: hesiod-3.0.2-env.patch
Patch1: hesiod-3.1.0-env.patch
Patch2: hesiod-3.1.0-str.patch
Patch3: hesiod-3.1.0-dnsparse.patch
Patch4: hesiod-3.1.0-libresolv.patch
@ -34,6 +34,9 @@ ensure synchronize the files among multiple hosts. This package contains
the header files and libraries required for building programs which use Hesiod.
%changelog
* Tue Jul 22 2008 Nalin Dahyabhai <nalin@fedoraproject.org> - 3.1.0-13
- rebuild
* Thu Jun 12 2008 Nalin Dahyabhai <nalin@fedoraproject.org> - 3.1.0-12
- call aclocal directly, because autoreconf didn't see the magic comment in
the distributed version of aclocal.m4 which made it look like it was safe