rpms/gdm/devel gdm-2.25.2-dont-depend-on-hostname.patch, 1.1, 1.2 gdm.spec, 1.456, 1.457
Ray Strode
rstrode at fedoraproject.org
Thu Mar 19 20:35:49 UTC 2009
- Previous message (by thread): rpms/pyke/devel .cvsignore, 1.5, 1.6 pyke.spec, 1.7, 1.8 sources, 1.6, 1.7
- Next message (by thread): rpms/asymptote/devel .cvsignore, 1.44, 1.45 asymptote.spec, 1.56, 1.57 sources, 1.44, 1.45
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: rstrode
Update of /cvs/pkgs/rpms/gdm/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv3900
Modified Files:
gdm-2.25.2-dont-depend-on-hostname.patch gdm.spec
Log Message:
- Use gethostname() instead of g_get_host_name() when writing
out xauth files, because the hostname may change out from
under us and glib caches it.
gdm-2.25.2-dont-depend-on-hostname.patch:
Index: gdm-2.25.2-dont-depend-on-hostname.patch
===================================================================
RCS file: /cvs/pkgs/rpms/gdm/devel/gdm-2.25.2-dont-depend-on-hostname.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- gdm-2.25.2-dont-depend-on-hostname.patch 15 Mar 2009 03:55:12 -0000 1.1
+++ gdm-2.25.2-dont-depend-on-hostname.patch 19 Mar 2009 20:35:48 -0000 1.2
@@ -210,3 +210,16 @@
G_OBJECT_CLASS (gdm_slave_parent_class)->finalize (object);
}
+--- a/daemon/gdm-display-access-file.c (revision 6790)
++++ b/daemon/gdm-display-access-file.c (working copy)
+@@ -438,8 +438,9 @@ _get_auth_info_for_display (GdmDisplayAc
+ gdm_display_is_local (display, &is_local, NULL);
+
+ if (is_local) {
++ char localhost[HOST_NAME_MAX + 1] = "";
+ *family = FamilyLocal;
+- *address = g_strdup (g_get_host_name ());
++ *address = g_strdup (gethostname (localhost, HOST_NAME_MAX));
+ } else {
+ *family = FamilyWild;
+ gdm_display_get_remote_hostname (display, address, NULL);
Index: gdm.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gdm/devel/gdm.spec,v
retrieving revision 1.456
retrieving revision 1.457
diff -u -r1.456 -r1.457
--- gdm.spec 18 Mar 2009 21:23:42 -0000 1.456
+++ gdm.spec 19 Mar 2009 20:35:48 -0000 1.457
@@ -15,7 +15,7 @@
Summary: The GNOME Display Manager
Name: gdm
Version: 2.26.0
-Release: 3%{?dist}
+Release: 4%{?dist}
Epoch: 1
License: GPLv2+
Group: User Interface/X
@@ -350,6 +350,11 @@
%{_datadir}/gnome-2.0/ui/GNOME_FastUserSwitchApplet.xml
%changelog
+* Thu Mar 19 2009 Ray Strode <rstrode at redhat.com> - 1:2.26.0-4
+- Use gethostname() instead of g_get_host_name() when writing
+ out xauth files, because the hostname may change out from
+ under us and glib caches it.
+
* Wed Mar 18 2009 Ray Strode <rstrode at redhat.com> - 1:2.26.0-3
- emit "user-selected" signal for non-user items in the list
as well.
- Previous message (by thread): rpms/pyke/devel .cvsignore, 1.5, 1.6 pyke.spec, 1.7, 1.8 sources, 1.6, 1.7
- Next message (by thread): rpms/asymptote/devel .cvsignore, 1.44, 1.45 asymptote.spec, 1.56, 1.57 sources, 1.44, 1.45
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list