summaryrefslogtreecommitdiff
path: root/system/ksh-openbsd/patches/linux/charclass_h.diff
diff options
context:
space:
mode:
authorLEVAI Daniel <leva@ecentrum.hu>2013-11-30 16:42:55 -0600
committerRobby Workman <rworkman@slackbuilds.org>2013-12-02 00:58:15 -0600
commit1a30de88fe6537a8506de07aa14992cfa83f831d (patch)
tree828d40e569781b7adb2c9de436c73167fc99ea12 /system/ksh-openbsd/patches/linux/charclass_h.diff
parente05c1f08183764abce6384f1938cefee2960ba5b (diff)
downloadslackbuilds-1a30de88fe6537a8506de07aa14992cfa83f831d.tar.gz
system/ksh-openbsd: Updated for version 20131129.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/ksh-openbsd/patches/linux/charclass_h.diff')
-rw-r--r--system/ksh-openbsd/patches/linux/charclass_h.diff36
1 files changed, 0 insertions, 36 deletions
diff --git a/system/ksh-openbsd/patches/linux/charclass_h.diff b/system/ksh-openbsd/patches/linux/charclass_h.diff
deleted file mode 100644
index 05e7957075..0000000000
--- a/system/ksh-openbsd/patches/linux/charclass_h.diff
+++ /dev/null
@@ -1,36 +0,0 @@
---- ksh-openbsd_cvs/charclass.h 1970-01-01 01:00:00.000000000 +0100
-+++ ksh-openbsd_cvs.new/charclass.h 2010-04-01 21:01:24.132137763 +0200
-@@ -0,0 +1,33 @@
-+/*
-+ * Public domain, 2008, Todd C. Miller <Todd.Miller@courtesan.com>
-+ *
-+ * $OpenBSD: charclass.h,v 1.1 2008/10/01 23:04:13 millert Exp $
-+ */
-+
-+#include <ctype.h>
-+
-+#define isblank(c) __isctype((c), _ISblank)
-+
-+/*
-+ * POSIX character class support for fnmatch() and glob().
-+ */
-+static struct cclass {
-+ const char *name;
-+ int (*isctype)(int);
-+} cclasses[] = {
-+ { "alnum", isalnum },
-+ { "alpha", isalpha },
-+// { "blank", isblank },
-+ { "cntrl", iscntrl },
-+ { "digit", isdigit },
-+ { "graph", isgraph },
-+ { "lower", islower },
-+ { "print", isprint },
-+ { "punct", ispunct },
-+ { "space", isspace },
-+ { "upper", isupper },
-+ { "xdigit", isxdigit },
-+ { NULL, NULL }
-+};
-+
-+#define NCCLASSES (sizeof(cclasses) / sizeof(cclasses[0]) - 1)