pullup:
1031. [bug] libbind.a: isc__gettimeofday() infinite recursion.
[RT #1858]
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user