1031.   [bug]           libbind.a: isc__gettimeofday() infinite recursion.
                        [RT #1858]
This commit is contained in:
Andreas Gustafsson
2001-10-08 18:10:57 +00:00
parent 1d19dc5411
commit c7302ffd98
2 changed files with 5 additions and 2 deletions

View File

@@ -1,6 +1,9 @@
--- 9.2.0rc6 released ---
1031. [bug] libbind.a: isc__gettimeofday() infinite recursion.
[RT #1858]
1030. [bug] On systems with no resolv.conf file, nsupdate
exited with an error rather than defaulting
to using the loopback address. [RT #1836]

View File

@@ -1,9 +1,8 @@
#ifndef LINT
static const char rcsid[] = "$Id: gettimeofday.c,v 1.1 2001/03/29 06:30:32 marka Exp $";
static const char rcsid[] = "$Id: gettimeofday.c,v 1.1.2.1 2001/10/08 18:10:57 gson Exp $";
#endif
#include "port_before.h"
#undef gettimeofday
#include <stdio.h>
#include <syslog.h>
#include <sys/time.h>
@@ -21,6 +20,7 @@ int
isc__gettimeofday(struct timeval *tp, struct timezone *tzp) {
int res;
#undef gettimeofday
res = gettimeofday(tp, tzp);
if (res < 0)
return (res);