/[pcre]/code/trunk/study.c
ViewVC logotype

Diff of /code/trunk/study.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3 by nigel, Sat Feb 24 21:38:01 2007 UTC revision 7 by nigel, Sat Feb 24 21:38:09 2007 UTC
# Line 52  Returns: TRUE if table built, FALS Line 52  Returns: TRUE if table built, FALS
52  */  */
53    
54  static BOOL  static BOOL
55  set_start_bits(uschar *code, uschar *start_bits)  set_start_bits(const uschar *code, uschar *start_bits)
56  {  {
57  register int c;  register int c;
58    
59  do  do
60    {    {
61    uschar *tcode = code + 3;    const uschar *tcode = code + 3;
62    BOOL try_next = TRUE;    BOOL try_next = TRUE;
63    
64    while (try_next)    while (try_next)
# Line 264  Returns: pointer to a pcre_extra bloc Line 264  Returns: pointer to a pcre_extra bloc
264  */  */
265    
266  pcre_extra *  pcre_extra *
267  pcre_study(const pcre *external_re, int options, char **errorptr)  pcre_study(const pcre *external_re, int options, const char **errorptr)
268  {  {
269  BOOL caseless;  BOOL caseless;
270  uschar start_bits[32];  uschar start_bits[32];
271  real_pcre_extra *extra;  real_pcre_extra *extra;
272  real_pcre *re = (real_pcre *)external_re;  const real_pcre *re = (const real_pcre *)external_re;
273    
274  *errorptr = NULL;  *errorptr = NULL;
275    

Legend:
Removed from v.3  
changed lines
  Added in v.7

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12