Index: gutils.c
===================================================================
RCS file: /afs/dev.mit.edu/source/repository/third/glib2/glib/gutils.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 gutils.c
--- gutils.c	25 Dec 2002 18:41:15 -0000	1.1.1.1
+++ gutils.c	15 Mar 2004 22:31:19 -0000
@@ -752,6 +752,12 @@
 	      g_free (homepath);
 	    }
 	}
+#else /* G_OS_WIN32 */
+
+      /* Let HOME override the passwd file if the user really wants. */
+      if (g_getenv ("G_USE_HOME_FOR_HOMEDIR"))
+	g_home_dir = g_strdup (g_getenv ("HOME"));
+
 #endif /* G_OS_WIN32 */
       
 #ifdef HAVE_PWD_H
