$OpenBSD: patch-pcre_compile_c,v 1.1 2008/07/06 21:25:25 jasper Exp $
--- pcre_compile.c.orig	Sat Jul  5 05:02:43 2008
+++ pcre_compile.c	Sat Jul  5 05:03:05 2008
@@ -4931,7 +4931,7 @@ we set the flag only if there is a literal "\r" or "\n
                (lengthptr == NULL || *lengthptr == 2 + 2*LINK_SIZE))
             {
             cd->external_options = newoptions;
-            options = newoptions;
+            options = *optionsptr = newoptions;
             }
          else
             {
