diff options
Diffstat (limited to 'package/screen/patches/patch-termcap_c')
-rw-r--r-- | package/screen/patches/patch-termcap_c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/package/screen/patches/patch-termcap_c b/package/screen/patches/patch-termcap_c new file mode 100644 index 000000000..3dc7d60bf --- /dev/null +++ b/package/screen/patches/patch-termcap_c @@ -0,0 +1,12 @@ +$Id: update-patches 24 2008-08-31 14:56:13Z wbx $ +--- screen-4.0.3.orig/termcap.c 2003-09-08 16:45:36.000000000 +0200 ++++ screen-4.0.3/termcap.c 2008-10-08 14:09:15.000000000 +0200 +@@ -940,7 +940,7 @@ int aflag; + debug1("MakeTermcap decided '%s'\n", p); + if (extra_outcap && *extra_outcap) + { +- for (cp = extra_outcap; (p = index(cp, ':')); cp = p) ++ for (cp = extra_outcap; (p = strchr(cp, ':')); cp = p) + { + ch = *++p; + *p = '\0'; |