projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@33 e385b8ad-14ed-0310-8656-cc95a2468c6d
[apps/madmutt.git]
/
regex.c
diff --git
a/regex.c
b/regex.c
index
eefc2cb
..
a16165a
100644
(file)
--- a/
regex.c
+++ b/
regex.c
@@
-168,7
+168,7
@@
extern char *re_syntax_table;
static char re_syntax_table[CHAR_SET_SIZE];
static char re_syntax_table[CHAR_SET_SIZE];
-enum { MUTT_ALNUM, MUTT_ALPHA, MUTT_BLANK, MUTT_CNTRL, MUTT_DIGIT, MUTT_GRAPH,
+enum { MUTT_ALNUM
= 1
, MUTT_ALPHA, MUTT_BLANK, MUTT_CNTRL, MUTT_DIGIT, MUTT_GRAPH,
MUTT_LOWER, MUTT_PRINT, MUTT_PUNCT, MUTT_SPACE, MUTT_UPPER, MUTT_XDIGIT,
MUTT_INVALID
};
MUTT_LOWER, MUTT_PRINT, MUTT_PUNCT, MUTT_SPACE, MUTT_UPPER, MUTT_XDIGIT,
MUTT_INVALID
};
@@
-202,6
+202,7
@@
static int ctype(const char *name)
return MUTT_INVALID;
}
return MUTT_INVALID;
}
+#ifndef HAVE_ISCTYPE
static int isctype(char c, int desc)
{
switch (desc) {
static int isctype(char c, int desc)
{
switch (desc) {
@@
-220,6
+221,7
@@
static int isctype(char c, int desc)
}
return 0; /* false */
}
}
return 0; /* false */
}
+#endif
static void
init_syntax_once ()
static void
init_syntax_once ()