projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6abfa2
)
*** empty log message ***
author
Jim Blandy
<jimb@red-bean.com>
Sun, 15 Nov 1992 10:30:58 +0000
(10:30 +0000)
committer
Jim Blandy
<jimb@red-bean.com>
Sun, 15 Nov 1992 10:30:58 +0000
(10:30 +0000)
regex.c
patch
|
blob
|
history
diff --git
a/regex.c
b/regex.c
index 3129ed499fde57b35e6829df1a0b114162f19360..71aa4cc87e1faa6db5724927aa7ff29128ce1215 100644
(file)
--- a/
regex.c
+++ b/
regex.c
@@
-135,7
+135,11
@@
init_syntax_once ()
(Per Bothner suggested the basic approach.) */
#undef SIGN_EXTEND_CHAR
#if __STDC__
+#ifndef VMS
#define SIGN_EXTEND_CHAR(c) ((signed char) (c))
+#else /* On VMS, VAXC doesn't recognize `signed' before `char' */
+#define SIGN_EXTEND_CHAR(c) ((char) (c))
+#endif /* VMS */
#else
/* As in Harbison and Steele. */
#define SIGN_EXTEND_CHAR(c) ((((unsigned char) (c)) ^ 128) - 128)