summaryrefslogtreecommitdiff
path: root/graphics/dx/patches/patch-as
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/dx/patches/patch-as')
-rw-r--r--graphics/dx/patches/patch-as24
1 files changed, 0 insertions, 24 deletions
diff --git a/graphics/dx/patches/patch-as b/graphics/dx/patches/patch-as
deleted file mode 100644
index b915eb64868..00000000000
--- a/graphics/dx/patches/patch-as
+++ /dev/null
@@ -1,24 +0,0 @@
-$NetBSD: patch-as,v 1.1 2002/02/05 22:23:33 drochner Exp $
-
---- src/exec/dpexec/remote.c.orig Tue Feb 5 15:19:40 2002
-+++ src/exec/dpexec/remote.c Tue Feb 5 15:27:11 2002
-@@ -103,14 +103,18 @@
- Error ExHostToFQDN( const char host[], char fqdn[MAXHOSTNAMELEN] )
- {
- struct hostent *hp, *hp2;
-+ void *addr;
-
- hp = gethostbyname(host);
- if ( hp == NULL || hp->h_addr_list[0] == NULL ) {
- DXUIMessage("ERROR", "gethostbyname returned error");
- return ERROR;
- }
-- hp2 = gethostbyaddr( hp->h_addr_list[0], sizeof(struct in_addr),
-+ addr = malloc(hp->h_length);
-+ memcpy(addr, hp->h_addr_list[0], hp->h_length);
-+ hp2 = gethostbyaddr(addr, hp->h_length,
- AF_INET );
-+ free(addr);
- if ( hp2 == NULL || hp2->h_name == NULL ) {
- DXUIMessage("ERROR", "gethostbyaddr returned error");
- return ERROR;