git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Installed PCRE 7.2 into Exim.
[exim.git]
/
src
/
src
/
pcre
/
pcre_fullinfo.c
diff --git
a/src/src/pcre/pcre_fullinfo.c
b/src/src/pcre/pcre_fullinfo.c
index 5eddcd71ea3deb9586de69d6fa81e6706e8be3d4..c17f3d72bda3650d185a9f7668be037d1db48934 100644
(file)
--- a/
src/src/pcre/pcre_fullinfo.c
+++ b/
src/src/pcre/pcre_fullinfo.c
@@
-1,4
+1,4
@@
-/* $Cambridge: exim/src/src/pcre/pcre_fullinfo.c,v 1.
4 2007/01/23 15:08:45
ph10 Exp $ */
+/* $Cambridge: exim/src/src/pcre/pcre_fullinfo.c,v 1.
5 2007/06/26 11:16:54
ph10 Exp $ */
/*************************************************
* Perl-Compatible Regular Expressions *
/*************************************************
* Perl-Compatible Regular Expressions *
@@
-8,7
+8,7
@@
and semantics are as close as possible to those of the Perl 5 language.
Written by Philip Hazel
and semantics are as close as possible to those of the Perl 5 language.
Written by Philip Hazel
- Copyright (c) 1997-200
6
University of Cambridge
+ Copyright (c) 1997-200
7
University of Cambridge
-----------------------------------------------------------------------------
Redistribution and use in source and binary forms, with or without
-----------------------------------------------------------------------------
Redistribution and use in source and binary forms, with or without
@@
-63,7
+63,7
@@
Arguments:
Returns: 0 if data returned, negative on error
*/
Returns: 0 if data returned, negative on error
*/
-PCRE_
DATA_SCOPE
int
+PCRE_
EXP_DEFN
int
pcre_fullinfo(const pcre *argument_re, const pcre_extra *extra_data, int what,
void *where)
{
pcre_fullinfo(const pcre *argument_re, const pcre_extra *extra_data, int what,
void *where)
{
@@
-142,6
+142,14
@@
switch (what)
*((const uschar **)where) = (const uschar *)(_pcre_default_tables);
break;
*((const uschar **)where) = (const uschar *)(_pcre_default_tables);
break;
+ case PCRE_INFO_OKPARTIAL:
+ *((int *)where) = (re->options & PCRE_NOPARTIAL) == 0;
+ break;
+
+ case PCRE_INFO_JCHANGED:
+ *((int *)where) = (re->options & PCRE_JCHANGED) != 0;
+ break;
+
default: return PCRE_ERROR_BADOPTION;
}
default: return PCRE_ERROR_BADOPTION;
}