diff options
Diffstat (limited to 'lang/ruby18-base/patches/patch-cd')
-rw-r--r-- | lang/ruby18-base/patches/patch-cd | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lang/ruby18-base/patches/patch-cd b/lang/ruby18-base/patches/patch-cd new file mode 100644 index 00000000000..8f0a29abaa4 --- /dev/null +++ b/lang/ruby18-base/patches/patch-cd @@ -0,0 +1,12 @@ +$NetBSD: patch-cd,v 1.1 2005/11/02 08:56:40 taca Exp $ + +--- regex.c.orig 2005-07-11 08:32:50.000000000 +0900 ++++ regex.c +@@ -1725,6 +1725,7 @@ re_compile_pattern(pattern, size, bufp) + memmove(&b[(unsigned char)b[-1]], &b[(1 << BYTEWIDTH) / BYTEWIDTH], + 2 + EXTRACT_UNSIGNED(&b[(1 << BYTEWIDTH) / BYTEWIDTH])*8); + b += b[-1] + 2 + EXTRACT_UNSIGNED(&b[(unsigned char)b[-1]])*8; ++ had_num_literal = 0; + break; + + case '(': |