about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--ext/kgio/accept.c3
-rw-r--r--ext/kgio/read_write.c2
-rw-r--r--ext/kgio/set_file_path.h1
-rw-r--r--ext/kgio/tryopen.c1
4 files changed, 7 insertions, 0 deletions
diff --git a/ext/kgio/accept.c b/ext/kgio/accept.c
index 67a8ded..4c74032 100644
--- a/ext/kgio/accept.c
+++ b/ext/kgio/accept.c
@@ -1,3 +1,6 @@
+/* ref: rubinius b2811f260de16d1e972462e27852470364608de5 */
+#define RSTRING_MODIFIED 1
+
 #include "kgio.h"
 #include "missing_accept4.h"
 #include "sock_for_fd.h"
diff --git a/ext/kgio/read_write.c b/ext/kgio/read_write.c
index fcb48bb..5e92c32 100644
--- a/ext/kgio/read_write.c
+++ b/ext/kgio/read_write.c
@@ -1,3 +1,5 @@
+/* ref: rubinius b2811f260de16d1e972462e27852470364608de5 */
+#define RSTRING_MODIFIED 1
 #include "kgio.h"
 #include "my_fileno.h"
 #include "nonblock.h"
diff --git a/ext/kgio/set_file_path.h b/ext/kgio/set_file_path.h
index 50fd338..46603f1 100644
--- a/ext/kgio/set_file_path.h
+++ b/ext/kgio/set_file_path.h
@@ -1,3 +1,4 @@
+/* We do not modify RSTRING in this file, so RSTRING_MODIFIED is not needed */
 #if defined(HAVE_RB_IO_T) && \
     defined(HAVE_TYPE_STRUCT_RFILE) && \
     defined(HAVE_ST_PATHV)
diff --git a/ext/kgio/tryopen.c b/ext/kgio/tryopen.c
index 902c745..76bb6b9 100644
--- a/ext/kgio/tryopen.c
+++ b/ext/kgio/tryopen.c
@@ -1,3 +1,4 @@
+/* We do not modify RSTRING in this file, so RSTRING_MODIFIED is not needed */
 #include <ruby.h>
 #ifdef HAVE_RUBY_IO_H
 #  include <ruby/io.h>