summaryrefslogtreecommitdiffstats
path: root/recipes/termcap/termcap-2.0.8/010_all_termcap-colon.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/termcap/termcap-2.0.8/010_all_termcap-colon.patch')
-rw-r--r--recipes/termcap/termcap-2.0.8/010_all_termcap-colon.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes/termcap/termcap-2.0.8/010_all_termcap-colon.patch b/recipes/termcap/termcap-2.0.8/010_all_termcap-colon.patch
new file mode 100644
index 0000000000..936a62d62f
--- /dev/null
+++ b/recipes/termcap/termcap-2.0.8/010_all_termcap-colon.patch
@@ -0,0 +1,11 @@
+--- termcap-2.0.8/termcap.c.colon
++++ termcap-2.0.8/termcap.c
+@@ -136,7 +136,7 @@
+ c = *s++ & 0x1f;
+
+ /* See if we want to translate. */
+- if ((c & 0x7f) > 31)
++ if ((c & 0x7f) > 31 && c != ':')
+ *r++ = c;
+ else {
+ len = s - start;