summaryrefslogtreecommitdiff
path: root/shells/tcsh/patches/patch-ap
diff options
context:
space:
mode:
Diffstat (limited to 'shells/tcsh/patches/patch-ap')
-rw-r--r--shells/tcsh/patches/patch-ap53
1 files changed, 0 insertions, 53 deletions
diff --git a/shells/tcsh/patches/patch-ap b/shells/tcsh/patches/patch-ap
deleted file mode 100644
index 1a56798c9b7..00000000000
--- a/shells/tcsh/patches/patch-ap
+++ /dev/null
@@ -1,53 +0,0 @@
-$NetBSD: patch-ap,v 1.1 2005/03/29 04:38:10 kim Exp $
-
---- glob.c.orig 2005-01-18 15:24:50.000000000 -0500
-+++ glob.c 2005-03-28 23:22:44.000000000 -0500
-@@ -63,7 +63,6 @@
- #undef QUOTE
- #undef TILDE
- #undef META
--#undef CHAR
- #undef ismeta
- #undef Strchr
-
-@@ -120,7 +119,7 @@
- #define M_MASK 0xffff
- #define M_ASCII 0x00ff
-
--#define CHAR(c) ((c)&M_ASCII)
-+#define LCHAR(c) ((c)&M_ASCII)
- #define META(c) ((c)|M_META)
- #define M_ALL META('*')
- #define M_END META(']')
-@@ -427,11 +426,11 @@
- *bufnext++ = m_not;
- c = *qpatnext++;
- do {
-- *bufnext++ = CHAR(c);
-+ *bufnext++ = LCHAR(c);
- if (*qpatnext == RANGE &&
- (c = qpatnext[1]) != RBRACKET) {
- *bufnext++ = M_RNG;
-- *bufnext++ = CHAR(c);
-+ *bufnext++ = LCHAR(c);
- qpatnext += 2;
- }
- } while ((c = *qpatnext++) != RBRACKET);
-@@ -450,7 +449,7 @@
- *bufnext++ = M_ALL;
- break;
- default:
-- *bufnext++ = CHAR(c);
-+ *bufnext++ = LCHAR(c);
- break;
- }
- }
-@@ -699,7 +698,7 @@
- if (n > MB_LEN_MAX)
- n = MB_LEN_MAX;
- p = buf;
-- while (p < buf + n && (*p++ = CHAR(*s++)) != 0)
-+ while (p < buf + n && (*p++ = LCHAR(*s++)) != 0)
- ;
- return one_mbtowc(pwc, buf, n);
- #else