summaryrefslogtreecommitdiff
path: root/devel/ruby-textbuf/files/patch-ext-textbuf-sftextbuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ruby-textbuf/files/patch-ext-textbuf-sftextbuf.c')
-rw-r--r--devel/ruby-textbuf/files/patch-ext-textbuf-sftextbuf.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/devel/ruby-textbuf/files/patch-ext-textbuf-sftextbuf.c b/devel/ruby-textbuf/files/patch-ext-textbuf-sftextbuf.c
new file mode 100644
index 000000000000..5bf99a4a1d7f
--- /dev/null
+++ b/devel/ruby-textbuf/files/patch-ext-textbuf-sftextbuf.c
@@ -0,0 +1,18 @@
+--- ext/textbuf/sftextbuf.c.orig Thu Mar 15 01:30:08 2001
++++ ext/textbuf/sftextbuf.c Wed Oct 11 09:07:55 2006
+@@ -1158,7 +1158,6 @@
+ OBJSETUP(str, rb_cString, T_STRING);
+ str->ptr = 0;
+ str->len = 0;
+- str->orig = 0;
+ OBJ_FREEZE(str);
+
+ CRITICAL_BEGIN(buf);
+@@ -1199,7 +1198,6 @@
+ OBJSETUP(str, rb_cString, T_STRING);
+ str->ptr = 0;
+ str->len = 0;
+- str->orig = 0;
+ OBJ_FREEZE(str);
+
+ CRITICAL_BEGIN(buf);