[Spice-devel] [PATCH spice-gtk] controller: don't try to set integrity on XP x64 edition
Marc-André Lureau
marcandre.lureau at gmail.com
Tue Mar 19 13:17:30 PDT 2013
XP x64 uses version 5.2, but doesn't accept setting the pipe to low
integrity.
5.2 seems to be shared with many versions (server 2003 for example),
but only Vista+ matters, which is only major >=6.
https://bugzilla.redhat.com/show_bug.cgi?id=918342
---
gtk/controller/win32-util.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/gtk/controller/win32-util.c b/gtk/controller/win32-util.c
index 3562154..ea68814 100644
--- a/gtk/controller/win32-util.c
+++ b/gtk/controller/win32-util.c
@@ -147,8 +147,7 @@ spice_win32_user_pipe_new (gchar *name, GError **error)
}
/* lower integrity on Vista/Win7+ */
- if ((LOBYTE (g_win32_get_windows_version()) > 0x05
- || LOWORD (g_win32_get_windows_version()) > 0x0105) &&
+ if ((LOBYTE (g_win32_get_windows_version()) > 0x05) &&
!spice_win32_set_low_integrity (pipe, error))
goto end;
--
1.8.1.1.439.g50a6b54
More information about the Spice-devel
mailing list