X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=regex.c;h=cf89000df11b582668209fc3234c62ad17928ad8;hb=refs%2Ftags%2FFILEUTILS-3_16x;hp=e4422ce93833f82c68f3b53394474d802ac116d1;hpb=47f34bb617625d28bbcf69a48e1454a26268f677;p=gnulib.git diff --git a/regex.c b/regex.c index e4422ce93..cf89000df 100644 --- a/regex.c +++ b/regex.c @@ -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; +#else const char *p = pattern; +#endif const char *pend = pattern + size; /* How to translate the characters in the pattern. */