summaryrefslogtreecommitdiffstats
path: root/recipes/termcap/termcap-2.0.8/007_all_termcap-ignore-p.patch
blob: 70410e5f5594afe545837aabd748261eaf5794ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- termcap-2.0.8-clean/tparam.c
+++ termcap-2.0.8/tparam.c
@@ -299,6 +299,10 @@
	    case 'D':		/* %D means weird Delta Data transformation.  */
	      argp[0] -= 2 * (tem % 16);
	      break;
+
+	    case 'p':		/* %p means push nth arg - ignore.  */
+	      *p++;
+	      break;
	    }
	}
       else