aboutsummaryrefslogtreecommitdiff
path: root/net/bing/files
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-12-04 19:21:05 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-12-04 19:21:05 +0000
commit7fe387f6292bbe9d220f40e67929baed80661858 (patch)
treebed9ce0fcae5a9a1c2659e6f31a33c02c57dd2c8 /net/bing/files
parent57213b778892d5caa151766dbec8d1e4126a3a65 (diff)
downloadports-7fe387f6292bbe9d220f40e67929baed80661858.tar.gz
ports-7fe387f6292bbe9d220f40e67929baed80661858.zip
Notes
Diffstat (limited to 'net/bing/files')
-rw-r--r--net/bing/files/patch-aa19
1 files changed, 0 insertions, 19 deletions
diff --git a/net/bing/files/patch-aa b/net/bing/files/patch-aa
deleted file mode 100644
index 71b0978cd1eb..000000000000
--- a/net/bing/files/patch-aa
+++ /dev/null
@@ -1,19 +0,0 @@
---- bing.c.orig Thu Jul 20 16:45:32 1995
-+++ bing.c Sat Mar 4 16:13:05 2000
-@@ -718,13 +718,13 @@
- u_long l;
- {
- struct hostent *hp;
-- static char buf[80];
-+ static char buf[MAXHOSTNAMELEN+19];
-
- if ((options & F_NUMERIC) ||
- !(hp = gethostbyaddr((char *)&l, 4, AF_INET)))
-- (void)sprintf(buf, "%s", inet_ntoa(*(struct in_addr *)&l));
-+ (void)snprintf(buf, sizeof(buf), "%s", inet_ntoa(*(struct in_addr *)&l));
- else
-- (void)sprintf(buf, "%s (%s)", hp->h_name,
-+ (void)snprintf(buf, sizeof(buf), "%s (%s)", hp->h_name,
- inet_ntoa(*(struct in_addr *)&l));
- return(buf);
- }