mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-08 02:15:08 +00:00
575626bd41
Submitted by: Roberto@eurocontrol.fr
21 lines
472 B
C
21 lines
472 B
C
--- tclUnixSock.c.orig Fri Apr 16 02:48:05 1999
|
|
+++ tclUnixSock.c Wed Nov 14 23:21:18 2001
|
|
@@ -65,7 +65,7 @@
|
|
char *
|
|
Tcl_GetHostName()
|
|
{
|
|
-#ifndef NO_UNAME
|
|
+#if 0
|
|
struct utsname u;
|
|
struct hostent *hp;
|
|
#else
|
|
@@ -80,7 +80,7 @@
|
|
}
|
|
|
|
native = NULL;
|
|
-#ifndef NO_UNAME
|
|
+#if 0
|
|
(VOID *) memset((VOID *) &u, (int) 0, sizeof(struct utsname));
|
|
if (uname(&u) > -1) { /* INTL: Native. */
|
|
hp = gethostbyname(u.nodename); /* INTL: Native. */
|