rpms/gdm/F-11 gdm-2.26.0-fix-lang-regex.patch, NONE, 1.1 gdm.spec, 1.472, 1.473
Ray Strode
rstrode at fedoraproject.org
Thu Jun 4 03:56:57 UTC 2009
- Previous message (by thread): rpms/midori/F-11 .cvsignore, 1.11, 1.12 midori.spec, 1.23, 1.24 sources, 1.11, 1.12
- Next message (by thread): rpms/globus-ftp-client/devel globus-ftp-client-doxygen.patch, NONE, 1.1 globus-ftp-client-format.patch, NONE, 1.1 globus-ftp-client-type-punned-pointer.patch, NONE, 1.1 globus-ftp-client.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: rstrode
Update of /cvs/pkgs/rpms/gdm/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17921
Modified Files:
gdm.spec
Added Files:
gdm-2.26.0-fix-lang-regex.patch
Log Message:
- Fix language parsing code (bug 502778)
gdm-2.26.0-fix-lang-regex.patch:
--- NEW FILE gdm-2.26.0-fix-lang-regex.patch ---
commit 74cdbc6d71120f2d9c91965ead989f68cadb4bac
Author: Ray Strode <rstrode at redhat.com>
Date: Wed Jun 3 23:52:06 2009 -0400
Fix language name parsing regex
It didn't properly escape the "." character so it was allowing
any character to be matched instead of just periods.
diff --git a/gui/simple-greeter/gdm-languages.c b/gui/simple-greeter/gdm-languages.c
index 2d862b2..429ba28 100644
--- a/gui/simple-greeter/gdm-languages.c
+++ b/gui/simple-greeter/gdm-languages.c
@@ -123,7 +123,7 @@ gdm_parse_language_name (const char *name,
error = NULL;
re = g_regex_new ("^(?P<language>[^_.@[:space:]]+)"
"(_(?P<territory>[[:upper:]]+))?"
- "(.(?P<codeset>[-_0-9a-zA-Z]+))?"
+ "(\\.(?P<codeset>[-_0-9a-zA-Z]+))?"
"(@(?P<modifier>[[:ascii:]]+))?$",
0, 0, &error);
if (re == NULL) {
Index: gdm.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gdm/F-11/gdm.spec,v
retrieving revision 1.472
retrieving revision 1.473
diff -u -p -r1.472 -r1.473
--- gdm.spec 13 May 2009 17:54:00 -0000 1.472
+++ gdm.spec 4 Jun 2009 03:56:25 -0000 1.473
@@ -16,7 +16,7 @@
Summary: The GNOME Display Manager
Name: gdm
Version: 2.26.1
-Release: 10%{?dist}
+Release: 11%{?dist}
Epoch: 1
License: GPLv2+
Group: User Interface/X
@@ -103,6 +103,9 @@ Patch20: session-client.patch
# fixed upstream
Patch21: xdmcp-use-after-free.patch
+# fixed upstream, rh 502778
+Patch22: gdm-2.26.0-fix-lang-regex.patch
+
# Fedora-specific
Patch99: gdm-2.23.1-fedora-logo.patch
@@ -148,6 +151,7 @@ The GDM fingerprint plugin provides func
%patch20 -p1 -b .session-client
%patch21 -p1 -b .xdmcp-use-after-free
+%patch22 -p1 -b .fix-lang-regex
%patch99 -p1 -b .fedora-logo
@@ -389,6 +393,9 @@ fi
%{_libdir}/gdm/simple-greeter/plugins/fingerprint.so
%changelog
+* Wed Jun 03 2009 Ray Strode <rstrode at redhat.com> - 1:2.26.1-11
+- Fix language parsing code (bug 502778)
+
* Wed May 13 2009 Ray Strode <rstrode at redhat.com> - 1:2.26.1-10
- Update multi-stack patch to fix bug 499272
- Previous message (by thread): rpms/midori/F-11 .cvsignore, 1.11, 1.12 midori.spec, 1.23, 1.24 sources, 1.11, 1.12
- Next message (by thread): rpms/globus-ftp-client/devel globus-ftp-client-doxygen.patch, NONE, 1.1 globus-ftp-client-format.patch, NONE, 1.1 globus-ftp-client-type-punned-pointer.patch, NONE, 1.1 globus-ftp-client.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list