[X2Go-Dev] Bug#741: [PATCH] fix typo in 320_nxagent_configurable-keystrokes.full.patch
Horst Schirmeier
horst at schirmeier.com
Mon Jan 12 23:32:52 CET 2015
This suble parenthesis typo made the R_OK check for
/etc/nxagent/keystrokes.cfg always fail. As a consequence, only
~/.nx/config/keystrokes.cfg could be used for custom keystrokes.
This should fix bug #741.
---
debian/patches/320_nxagent_configurable-keystrokes.full.patch | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/patches/320_nxagent_configurable-keystrokes.full.patch b/debian/patches/320_nxagent_configurable-keystrokes.full.patch
index ae1897d..bcb8ef2 100644
--- a/debian/patches/320_nxagent_configurable-keystrokes.full.patch
+++ b/debian/patches/320_nxagent_configurable-keystrokes.full.patch
@@ -481,7 +481,7 @@ Description: Make nxagent-specific keyboard bindings configurable
+ {
+ /* empty */
+ }
-+ else if (access(etcfile, R_OK == 0))
++ else if (access(etcfile, R_OK) == 0)
+ {
+ if (filename)
+ free(filename);
--
PGP-Key 0xD40E0E7A
More information about the x2go-dev
mailing list