SOURCES: twin-raw.patch (NEW) - proper length of the string ",raw"
witekfl
witekfl at pld-linux.org
Wed Oct 3 21:20:51 CEST 2007
Author: witekfl Date: Wed Oct 3 19:20:51 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- proper length of the string ",raw"
---- Files affected:
SOURCES:
twin-raw.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/twin-raw.patch
diff -u /dev/null SOURCES/twin-raw.patch:1.1
--- /dev/null Wed Oct 3 21:20:51 2007
+++ SOURCES/twin-raw.patch Wed Oct 3 21:20:46 2007
@@ -0,0 +1,13 @@
+--- twin-0.5.1/server/HW/hw_tty.c.old 2007-10-03 21:04:07.000000000 +0200
++++ twin-0.5.1/server/HW/hw_tty.c 2007-10-03 21:04:40.000000000 +0200
+@@ -339,8 +339,8 @@
+ } else if (!strncmp(arg, ",termcap", 8)) {
+ try_termcap = !(autotry_video = !strncmp(arg+8, "=no", 3)) << 1;
+ arg = strchr(arg+8, ',');
+- } else if (!strncmp(arg, ",raw", 7)) {
+- try_lrawkbd = !(autotry_kbd = !strncmp(arg+7, "=no", 3)) << 1;
++ } else if (!strncmp(arg, ",raw", 4)) {
++ try_lrawkbd = !(autotry_kbd = !strncmp(arg+4, "=no", 3)) << 1;
+ arg = strchr(arg+7, ',');
+ } else if (!strncmp(arg, ",ctty", 5)) {
+ arg = strchr(arg+5, ',');
================================================================
More information about the pld-cvs-commit
mailing list