Commit 22336245 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(regex_compile): Declare p with non-const type on AIX.

parent 6a271152
......@@ -1878,7 +1878,12 @@ regex_compile (pattern, size, syntax, bufp)
compile_stack_type compile_stack;
/* Points to the current (ending) position in the pattern. */
#ifdef AIX
/* `const' makes AIX compiler fail. */
char *p = pattern;
const char *p = pattern;
const char *pend = pattern + size;
/* How to translate the characters in the pattern. */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment