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
_______________________________________________
x2go-dev mailing list
[email protected]
http://lists.x2go.org/listinfo/x2go-dev