$NetBSD: patch-ad,v 1.1.1.1 2005/09/08 10:21:20 bouyer Exp $ --- gtkextra/gtkdirtree.c.orig Fri Nov 30 10:12:16 2001 +++ gtkextra/gtkdirtree.c @@ -259,8 +259,7 @@ gtk_dir_tree_init (GtkDirTree *dir_tree) /* Get the local hostname. */ #ifndef G_OS_WIN32 - if ((gethostname (localhost, MAXHOSTNAMELEN) != 0) && - (getdomainname (localhost, MAXHOSTNAMELEN) != 0)) + if (gethostname (localhost, MAXHOSTNAMELEN) != 0) strcpy (localhost, "LocalHost"); #else strcpy (localhost, "My PC");