Resolve conflicts.
This commit is contained in:
parent
dcb55fc870
commit
c25217007c
@ -131,7 +131,7 @@ char copyright[] =
|
||||
|
||||
#if !defined(lint) && !defined(SABER)
|
||||
static const char sccsid[] = "@(#)named-xfer.c 4.18 (Berkeley) 3/7/91";
|
||||
static const char rcsid[] = "$Id: named-xfer.c,v 8.104 2000/12/23 08:14:44 vixie Exp $";
|
||||
static const char rcsid[] = "$Id: named-xfer.c,v 8.105.2.1 2001/04/26 02:56:09 marka Exp $";
|
||||
#endif /* not lint */
|
||||
|
||||
#include "port_before.h"
|
||||
@ -170,6 +170,10 @@ static const char rcsid[] = "$Id: named-xfer.c,v 8.104 2000/12/23 08:14:44 vixie
|
||||
#include "port_after.h"
|
||||
|
||||
|
||||
#ifndef PATH_SEP
|
||||
#define PATH_SEP '/'
|
||||
#endif
|
||||
|
||||
#define MAIN_PROGRAM
|
||||
#include "../named/named.h"
|
||||
#undef MAIN_PROGRAM
|
||||
@ -331,7 +335,7 @@ main(int argc, char *argv[]) {
|
||||
set42sig();
|
||||
#endif
|
||||
memset(&axfr_src, 0, sizeof axfr_src);
|
||||
ProgName = strrchr(argv[0], '/');
|
||||
ProgName = strrchr(argv[0], PATH_SEP);
|
||||
if (ProgName != NULL)
|
||||
ProgName++;
|
||||
else
|
||||
@ -892,13 +896,13 @@ getzone(struct zoneinfo *zp, u_int32_t serial_no, int port) {
|
||||
(void)fprintf(ddt,"getzone() %s ", zp->z_origin);
|
||||
switch (zp->z_type) {
|
||||
case Z_STUB:
|
||||
fprintf(ddt,"stub\n");
|
||||
fprintf(ddt, "stub\n");
|
||||
break;
|
||||
case Z_SECONDARY:
|
||||
fprintf(ddt,"secondary\n");
|
||||
fprintf(ddt, "slave\n");
|
||||
break;
|
||||
default:
|
||||
fprintf(ddt,"unknown type\n");
|
||||
fprintf(ddt, "unknown type\n");
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
@ -54,7 +54,7 @@
|
||||
|
||||
#ifndef lint
|
||||
static const char sccsid[] = "@(#)getinfo.c 5.26 (Berkeley) 3/21/91";
|
||||
static const char rcsid[] = "$Id: getinfo.c,v 8.17 2000/12/23 08:14:46 vixie Exp $";
|
||||
static const char rcsid[] = "$Id: getinfo.c,v 8.18 2001/02/27 06:03:40 vixie Exp $";
|
||||
#endif /* not lint */
|
||||
|
||||
/*
|
||||
@ -175,7 +175,7 @@ GetAnswer(nsAddrPtr, queryType, msg, msglen, iquery, hostPtr, isServer)
|
||||
*/
|
||||
FreeHostInfoPtr(hostPtr);
|
||||
|
||||
status = SendRequest(nsAddrPtr, msg, msglen, (u_char *) &answer,
|
||||
status = SendRequest(nsAddrPtr, (u_char *)msg, msglen, (u_char *) &answer,
|
||||
sizeof(answer), &n);
|
||||
|
||||
if (status != SUCCESS) {
|
||||
|
@ -33,6 +33,7 @@
|
||||
#if (!defined(BSD)) || (BSD < 199306)
|
||||
#include <sys/bitypes.h>
|
||||
#endif
|
||||
#include <sys/time.h>
|
||||
|
||||
/*
|
||||
* We need to know the IPv6 address family number even on IPv4-only systems.
|
||||
@ -79,4 +80,7 @@ struct sockaddr_in6 {
|
||||
#define ISC_FACILITY LOG_DAEMON
|
||||
#endif
|
||||
|
||||
int isc__gettimeofday(struct timeval *tp, struct timezone *tzp);
|
||||
#define gettimeofday isc__gettimeofday
|
||||
|
||||
#endif /* ! PORT_AFTER_H */
|
||||
|
Loading…
x
Reference in New Issue
Block a user