1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-03 11:12:13 +00:00

Make buflen a size_t instead of unsigned int so builds quit falling over

on the Alpha.
This commit is contained in:
Steve Price 2000-08-08 03:03:07 +00:00
parent a4d704c094
commit 9d87ac6938
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=31403
5 changed files with 60 additions and 15 deletions

View File

@ -1,5 +1,5 @@
--- client/dhclient.c.orig Wed May 10 02:34:28 2000
+++ client/dhclient.c Wed May 10 02:34:49 2000
--- client/dhclient.c.orig Wed Jul 19 23:13:11 2000
+++ client/dhclient.c Sun Aug 6 20:43:14 2000
@@ -64,6 +64,7 @@
int log_priority;
int no_daemon;
@ -26,7 +26,7 @@
"[-s server]");
log_error (" [-lf lease-file] [-pf pid-file]%s",
"[-cf config-file] [interface]");
@@ -1232,6 +1235,10 @@
@@ -1239,6 +1242,10 @@
/* No leases were available, or what was available didn't work, so
tell the shell script that we failed to allocate an address,
and try again later. */
@ -37,3 +37,12 @@
log_info ("No working leases in persistent database - sleeping.\n");
script_init (client, "FAIL", (struct string_list *)0);
if (client -> alias)
@@ -2157,7 +2164,7 @@
int dhcp_option_ev_name (buf, buflen, option)
char *buf;
- unsigned buflen;
+ size_t buflen;
struct option *option;
{
int i;

View File

@ -1,5 +1,5 @@
--- client/dhclient.c.orig Wed May 10 02:34:28 2000
+++ client/dhclient.c Wed May 10 02:34:49 2000
--- client/dhclient.c.orig Wed Jul 19 23:13:11 2000
+++ client/dhclient.c Sun Aug 6 20:43:14 2000
@@ -64,6 +64,7 @@
int log_priority;
int no_daemon;
@ -26,7 +26,7 @@
"[-s server]");
log_error (" [-lf lease-file] [-pf pid-file]%s",
"[-cf config-file] [interface]");
@@ -1232,6 +1235,10 @@
@@ -1239,6 +1242,10 @@
/* No leases were available, or what was available didn't work, so
tell the shell script that we failed to allocate an address,
and try again later. */
@ -37,3 +37,12 @@
log_info ("No working leases in persistent database - sleeping.\n");
script_init (client, "FAIL", (struct string_list *)0);
if (client -> alias)
@@ -2157,7 +2164,7 @@
int dhcp_option_ev_name (buf, buflen, option)
char *buf;
- unsigned buflen;
+ size_t buflen;
struct option *option;
{
int i;

View File

@ -1,5 +1,5 @@
--- client/dhclient.c.orig Wed May 10 02:34:28 2000
+++ client/dhclient.c Wed May 10 02:34:49 2000
--- client/dhclient.c.orig Wed Jul 19 23:13:11 2000
+++ client/dhclient.c Sun Aug 6 20:43:14 2000
@@ -64,6 +64,7 @@
int log_priority;
int no_daemon;
@ -26,7 +26,7 @@
"[-s server]");
log_error (" [-lf lease-file] [-pf pid-file]%s",
"[-cf config-file] [interface]");
@@ -1232,6 +1235,10 @@
@@ -1239,6 +1242,10 @@
/* No leases were available, or what was available didn't work, so
tell the shell script that we failed to allocate an address,
and try again later. */
@ -37,3 +37,12 @@
log_info ("No working leases in persistent database - sleeping.\n");
script_init (client, "FAIL", (struct string_list *)0);
if (client -> alias)
@@ -2157,7 +2164,7 @@
int dhcp_option_ev_name (buf, buflen, option)
char *buf;
- unsigned buflen;
+ size_t buflen;
struct option *option;
{
int i;

View File

@ -1,5 +1,5 @@
--- client/dhclient.c.orig Wed May 10 02:34:28 2000
+++ client/dhclient.c Wed May 10 02:34:49 2000
--- client/dhclient.c.orig Wed Jul 19 23:13:11 2000
+++ client/dhclient.c Sun Aug 6 20:43:14 2000
@@ -64,6 +64,7 @@
int log_priority;
int no_daemon;
@ -26,7 +26,7 @@
"[-s server]");
log_error (" [-lf lease-file] [-pf pid-file]%s",
"[-cf config-file] [interface]");
@@ -1232,6 +1235,10 @@
@@ -1239,6 +1242,10 @@
/* No leases were available, or what was available didn't work, so
tell the shell script that we failed to allocate an address,
and try again later. */
@ -37,3 +37,12 @@
log_info ("No working leases in persistent database - sleeping.\n");
script_init (client, "FAIL", (struct string_list *)0);
if (client -> alias)
@@ -2157,7 +2164,7 @@
int dhcp_option_ev_name (buf, buflen, option)
char *buf;
- unsigned buflen;
+ size_t buflen;
struct option *option;
{
int i;

View File

@ -1,5 +1,5 @@
--- client/dhclient.c.orig Wed May 10 02:34:28 2000
+++ client/dhclient.c Wed May 10 02:34:49 2000
--- client/dhclient.c.orig Wed Jul 19 23:13:11 2000
+++ client/dhclient.c Sun Aug 6 20:43:14 2000
@@ -64,6 +64,7 @@
int log_priority;
int no_daemon;
@ -26,7 +26,7 @@
"[-s server]");
log_error (" [-lf lease-file] [-pf pid-file]%s",
"[-cf config-file] [interface]");
@@ -1232,6 +1235,10 @@
@@ -1239,6 +1242,10 @@
/* No leases were available, or what was available didn't work, so
tell the shell script that we failed to allocate an address,
and try again later. */
@ -37,3 +37,12 @@
log_info ("No working leases in persistent database - sleeping.\n");
script_init (client, "FAIL", (struct string_list *)0);
if (client -> alias)
@@ -2157,7 +2164,7 @@
int dhcp_option_ev_name (buf, buflen, option)
char *buf;
- unsigned buflen;
+ size_t buflen;
struct option *option;
{
int i;