You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
78 lines
2.1 KiB
78 lines
2.1 KiB
24 years ago
|
--- src/lib/isc/eventlib.c.orig Fri Feb 4 08:25:39 2000
|
||
|
+++ src/lib/isc/eventlib.c Wed Mar 7 11:51:38 2001
|
||
|
@@ -293,9 +293,15 @@
|
||
|
evPrintf(ctx, 4,
|
||
|
"pselect(%d, 0x%lx, 0x%lx, 0x%lx, %d.%09ld)\n",
|
||
|
ctx->fdMax+1,
|
||
|
+#if 0
|
||
|
(u_long)ctx->rdLast.fds_bits[0],
|
||
|
(u_long)ctx->wrLast.fds_bits[0],
|
||
|
(u_long)ctx->exLast.fds_bits[0],
|
||
|
+#else
|
||
|
+ (u_long)&(ctx->rdLast),
|
||
|
+ (u_long)&(ctx->wrLast),
|
||
|
+ (u_long)&(ctx->exLast),
|
||
|
+#endif
|
||
|
tp ? tp->tv_sec : -1,
|
||
|
tp ? tp->tv_nsec : -1);
|
||
|
|
||
|
--- src/lib/isc/ev_files.c.orig Thu Oct 7 22:44:04 1999
|
||
|
+++ src/lib/isc/ev_files.c Wed Mar 7 11:53:04 2001
|
||
|
@@ -140,9 +140,15 @@
|
||
|
evPrintf(ctx, 5,
|
||
|
"evSelectFD(fd %d, mask 0x%x): new masks: 0x%lx 0x%lx 0x%lx\n",
|
||
|
fd, eventmask,
|
||
|
+#if 0
|
||
|
(u_long)ctx->rdNext.fds_bits[0],
|
||
|
(u_long)ctx->wrNext.fds_bits[0],
|
||
|
(u_long)ctx->exNext.fds_bits[0]);
|
||
|
+#else
|
||
|
+ (u_long)&(ctx->rdNext),
|
||
|
+ (u_long)&(ctx->wrNext),
|
||
|
+ (u_long)&(ctx->exNext));
|
||
|
+#endif
|
||
|
|
||
|
return (0);
|
||
|
}
|
||
|
@@ -251,9 +257,15 @@
|
||
|
evPrintf(ctx, 5,
|
||
|
"evDeselectFD(fd %d, mask 0x%x): new masks: 0x%lx 0x%lx 0x%lx\n",
|
||
|
del->fd, eventmask,
|
||
|
+#if 0
|
||
|
(u_long)ctx->rdNext.fds_bits[0],
|
||
|
(u_long)ctx->wrNext.fds_bits[0],
|
||
|
(u_long)ctx->exNext.fds_bits[0]);
|
||
|
+#else
|
||
|
+ (u_long)&(ctx->rdNext),
|
||
|
+ (u_long)&(ctx->wrNext),
|
||
|
+ (u_long)&(ctx->exNext));
|
||
|
+#endif
|
||
|
|
||
|
/* Couldn't free it before now since we were using fields out of it. */
|
||
|
FREE(del);
|
||
|
--- src/port/freebsd/include/port_before.h.orig Wed Oct 31 23:29:21 2001
|
||
|
+++ src/port/freebsd/include/port_before.h Tue Feb 26 21:50:52 2002
|
||
|
@@ -15,6 +15,7 @@
|
||
|
#define SETPWENT_VOID
|
||
|
#endif
|
||
|
|
||
|
+#include <sys/param.h>
|
||
|
#include <sys/types.h>
|
||
|
|
||
|
#define GROUP_R_RETURN struct group *
|
||
|
@@ -26,8 +27,14 @@
|
||
|
#define GROUP_R_ENT_ARGS void
|
||
|
#define GROUP_R_OK gptr
|
||
|
#define GROUP_R_BAD NULL
|
||
|
+
|
||
|
+#if defined(__FreeBSD_version) && __FreeBSD_version >= 500030
|
||
|
+#define GETGROUPLIST_ARGS const char *name, gid_t basegid, gid_t *groups, \
|
||
|
+ int *ngroups
|
||
|
+#else
|
||
|
#define GETGROUPLIST_ARGS const char *name, int basegid, int *groups, \
|
||
|
int *ngroups
|
||
|
+#endif
|
||
|
|
||
|
#define HOST_R_RETURN struct hostent *
|
||
|
#define HOST_R_SET_RETURN void
|