aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/pcre/pcre_string_utils.c
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2017-03-27 14:39:49 +0200
committerRickard Green <[email protected]>2017-04-05 14:36:43 +0200
commit74f11bdee247626ed6a3afe558bde4989687e642 (patch)
treea4ca0966d941c35f94825a73d7191ea96f34d4f6 /erts/emulator/pcre/pcre_string_utils.c
parenta748cafdc7063d9f181ba12088db6458793ced2f (diff)
downloadotp-74f11bdee247626ed6a3afe558bde4989687e642.tar.gz
otp-74f11bdee247626ed6a3afe558bde4989687e642.tar.bz2
otp-74f11bdee247626ed6a3afe558bde4989687e642.zip
Update PCRE to version 8.40
Diffstat (limited to 'erts/emulator/pcre/pcre_string_utils.c')
-rw-r--r--erts/emulator/pcre/pcre_string_utils.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/erts/emulator/pcre/pcre_string_utils.c b/erts/emulator/pcre/pcre_string_utils.c
index 274070469f..abce400dc5 100644
--- a/erts/emulator/pcre/pcre_string_utils.c
+++ b/erts/emulator/pcre/pcre_string_utils.c
@@ -6,7 +6,7 @@
and semantics are as close as possible to those of the Perl 5 language.
Written by Philip Hazel
- Copyright (c) 1997-2013 University of Cambridge
+ Copyright (c) 1997-2014 University of Cambridge
-----------------------------------------------------------------------------
Redistribution and use in source and binary forms, with or without
@@ -91,8 +91,8 @@ pcre_uchar c2;
while (*str1 != '\0' || *str2 != '\0')
{
- c1 = RAWUCHARINC(str1);
- c2 = RAWUCHARINC(str2);
+ c1 = UCHAR21INC(str1);
+ c2 = UCHAR21INC(str2);
if (c1 != c2)
return ((c1 > c2) << 1) - 1;
}
@@ -131,7 +131,7 @@ pcre_uchar c2;
while (*str1 != '\0' || *ustr2 != '\0')
{
- c1 = RAWUCHARINC(str1);
+ c1 = UCHAR21INC(str1);
c2 = (pcre_uchar)*ustr2++;
if (c1 != c2)
return ((c1 > c2) << 1) - 1;