diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-01-30 10:40:05 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-01-30 10:40:05 +0100 |
commit | c64105459c5d9662dd8a330f264b60a61ba14c0b (patch) | |
tree | 80cbca19a7a31fb3357d8eec3784367075f3b5d3 /package/screen/patches/patch-process_c | |
parent | 659846437896836e683ba5c0fc393a78eb641c18 (diff) | |
parent | 39e9af48da3ef01a9eca53d54ace7545eec39da8 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/screen/patches/patch-process_c')
-rw-r--r-- | package/screen/patches/patch-process_c | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/package/screen/patches/patch-process_c b/package/screen/patches/patch-process_c deleted file mode 100644 index 0260ead1f..000000000 --- a/package/screen/patches/patch-process_c +++ /dev/null @@ -1,39 +0,0 @@ -$Id: update-patches 24 2008-08-31 14:56:13Z wbx $ ---- screen-4.0.3.orig/process.c 2003-09-18 14:53:54.000000000 +0200 -+++ screen-4.0.3/process.c 2008-12-08 04:59:51.000000000 +0100 -@@ -728,7 +728,7 @@ int ilen; - if (D_seqp[l] != l) - { - q = D_seqp + 1 + l; -- if (D_kmaps + D_nseqs > q && q[2] > l && !bcmp(D_seqp - l, q + 3, l)) -+ if (D_kmaps + D_nseqs > q && q[2] > l && !memcmp(D_seqp - l, q + 3, l)) - { - debug1("have another mapping (%s), delay execution\n", q + 3); - D_seqh = D_seqp - 3 - l; -@@ -2867,7 +2867,7 @@ int key; - s = 0; - if (ParseSaveStr(act, &s)) - break; -- if (!*s || strlen(s) + (SockName - SockPath) > MAXPATHLEN - 13 || index(s, '/')) -+ if (!*s || strlen(s) + (SockName - SockPath) > MAXPATHLEN - 13 || strchr(s, '/')) - { - Msg(0, "%s: bad session name '%s'\n", rc_name, s); - free(s); -@@ -3109,7 +3109,7 @@ int key; - break; - } - else -- if (*argl == (kme->fl & ~KMAP_NOTIMEOUT) && bcmp(kme->str, *args, *argl) == 0) -+ if (*argl == (kme->fl & ~KMAP_NOTIMEOUT) && memcmp(kme->str, *args, *argl) == 0) - break; - if (i == kmap_extn) - { -@@ -4387,7 +4387,7 @@ int base, psize; - char *s, *p; - { - char *q; -- if ((q = rindex(s, ':')) != 0) -+ if ((q = strrchr(s, ':')) != 0) - { - strncpy(p, q + 1, psize - 1); - p[psize - 1] = '\0'; |